1 #ifndef GUARD_RecoIdealGeometry_H
2 #define GUARD_RecoIdealGeometry_H
32 bool insert(
DetId id,
const std::vector<double>& trans,
const std::vector<double>&
rot,
const std::vector<double>& pars ) {
33 if ( trans.size() != 3 || rot.size() != 9 )
return false;
37 pPars.reserve(
pPars.size() + trans.size() + rot.size() + pars.size());
38 std::copy ( trans.begin(), trans.end(), std::back_inserter(
pPars));
44 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 ) {
45 if ( trans.size() != 3 || rot.size() != 9 )
return false;
49 pPars.reserve(
pPars.size() + trans.size() + rot.size() + pars.size());
50 std::copy ( trans.begin(), trans.end(), std::back_inserter(
pPars));
75 const std::vector<DetId>&
detIds ()
const {
79 std::vector<double>::const_iterator
tranStart(
size_t ind )
const {
83 std::vector<double>::const_iterator
tranEnd (
size_t ind )
const {
87 std::vector<double>::const_iterator
rotStart (
size_t ind )
const {
91 std::vector<double>::const_iterator
rotEnd (
size_t ind )
const {
95 std::vector<double>::const_iterator
shapeStart (
size_t ind )
const {
99 std::vector<double>::const_iterator
shapeEnd (
size_t ind )
const {
103 std::vector<std::string>::const_iterator
strStart (
size_t ind )
const {
107 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
std::vector< double >::const_iterator shapeEnd(size_t ind) const
std::vector< double >::const_iterator shapeStart(size_t ind) const
std::vector< int > sParsIndex