1 #ifndef GUARD_RecoIdealGeometry_H 2 #define GUARD_RecoIdealGeometry_H 34 bool insert(
DetId id,
const std::vector<double>& trans,
const std::vector<double>&
rot,
const std::vector<double>& pars ) {
35 if ( trans.size() != 3 || rot.size() != 9 )
return false;
39 pPars.reserve(
pPars.size() + trans.size() + rot.size() + pars.size());
40 std::copy ( trans.begin(), trans.end(), std::back_inserter(
pPars));
46 bool insert(
DetId id,
const std::vector<double>& trans,
const std::vector<double>&
rot,
const std::vector<double>& pars,
const std::vector<std::string>& spars ) {
47 if ( trans.size() != 3 || rot.size() != 9 )
return false;
51 pPars.reserve(
pPars.size() + trans.size() + rot.size() + pars.size());
52 std::copy ( trans.begin(), trans.end(), std::back_inserter(
pPars));
77 const std::vector<DetId>&
detIds ()
const {
81 std::vector<double>::const_iterator
tranStart(
size_t ind )
const {
85 std::vector<double>::const_iterator
tranEnd (
size_t ind )
const {
89 std::vector<double>::const_iterator
rotStart (
size_t ind )
const {
93 std::vector<double>::const_iterator
rotEnd (
size_t ind )
const {
97 std::vector<double>::const_iterator
shapeStart (
size_t ind )
const {
101 std::vector<double>::const_iterator
shapeEnd (
size_t ind )
const {
105 std::vector<std::string>::const_iterator
strStart (
size_t ind )
const {
109 std::vector<std::string>::const_iterator
strEnd (
size_t ind )
const {
std::vector< std::string >::const_iterator strEnd(size_t ind) const
std::vector< int > pNumShapeParms
std::vector< double >::const_iterator rotEnd(size_t ind) const
bool insert(DetId id, const std::vector< double > &trans, const std::vector< double > &rot, const std::vector< double > &pars)
std::vector< double >::const_iterator rotStart(size_t ind) const
std::vector< DetId > pDetIds
std::vector< std::string >::const_iterator strStart(size_t ind) const
std::vector< int > pParsIndex
std::vector< int > sNumsParms
std::vector< double >::const_iterator tranEnd(size_t ind) const
std::vector< double >::const_iterator tranStart(size_t ind) const
bool insert(DetId id, const std::vector< double > &trans, const std::vector< double > &rot, const std::vector< double > &pars, const std::vector< std::string > &spars)
const std::vector< DetId > & detIds() const
std::vector< double > pPars
std::vector< std::string > strPars
#define COND_SERIALIZABLE
std::vector< double >::const_iterator shapeEnd(size_t ind) const
std::vector< double >::const_iterator shapeStart(size_t ind) const
std::vector< int > sParsIndex