31 std::cout<<
"GeometricDetLoader::GeometricDetLoader"<<std::endl;
36 std::cout<<
"GeometricDetLoader::~GeometricDetLoader"<<std::endl;
42 std::cout<<
"GeometricDetLoader::beginJob"<<std::endl;
46 std::cout<<
"PoolDBOutputService unavailable"<<std::endl;
57 std::vector<const GeometricDet*> tc = tracker->
components();
58 std::cout <<
"Tracker has " << tc.size() <<
" components." << std::endl;
59 std::vector<const GeometricDet*>::const_iterator git = tc.begin();
60 std::vector<const GeometricDet*>::const_iterator egit = tc.end();
63 for (; git!= egit; ++git) {
65 std::vector<const GeometricDet*> inone = (*git)->components();
68 if ( inone.size() == 0 ) ++count;
69 std::vector<const GeometricDet*>::const_iterator git2 = inone.begin();
70 std::vector<const GeometricDet*>::const_iterator egit2 = inone.end();
72 for (; git2 != egit2; ++git2) {
74 std::vector<const GeometricDet*> intwo= (*git2)->components();
76 if ( intwo.size() == 0 ) ++count;
77 std::vector<const GeometricDet*>::const_iterator git3 = intwo.begin();
78 std::vector<const GeometricDet*>::const_iterator egit3 = intwo.end();
80 for (; git3 != egit3; ++git3) {
82 std::vector<const GeometricDet*> inthree= (*git3)->components();
84 if ( inthree.size() == 0 ) ++count;
85 std::vector<const GeometricDet*>::const_iterator git4 = inthree.begin();
86 std::vector<const GeometricDet*>::const_iterator egit4 = inthree.end();
88 for (; git4 != egit4; ++git4) {
90 std::vector<const GeometricDet*> infour= (*git4)->components();
92 if ( infour.size() == 0 ) ++count;
93 std::vector<const GeometricDet*>::const_iterator git5 = infour.begin();
94 std::vector<const GeometricDet*>::const_iterator egit5 = infour.end();
96 for (; git5 != egit5; ++git5) {
98 std::vector<const GeometricDet*> infive= (*git5)->components();
100 if ( infive.size() == 0 ) ++count;
101 std::vector<const GeometricDet*>::const_iterator git6 = infive.begin();
102 std::vector<const GeometricDet*>::const_iterator egit6 = infive.end();
104 for (; git6 != egit6; ++git6) {
106 std::vector<const GeometricDet*> insix= (*git6)->components();
108 if ( insix.size() == 0 ) ++count;
120 std::vector<const GeometricDet*> modules = tracker->
deepComponents();
121 std::cout <<
" No. of Tracker components \"deepComponents\" = " << modules.size() << std::endl;
122 std::cout <<
" Counted # of lowest \"leaves\" = " << count << std::endl;
127 ,
"PGeometricDetRcd");
129 std::cout <<
"PGeometricDetRcd Tag is already present." << std::endl;
143 rot.GetComponents(x, y, z);
174 }
else if(gd->
shape()==3){
#define DEFINE_FWK_MODULE(type)
DDSolidShape const & shape() const
std::vector< Item > pgeomdets_
DetId geographicalID() const
GeometricDetLoader(const edm::ParameterSet &iConfig)
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
std::vector< double > const & params() const
DDName const & name() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
A DD Translation is currently implemented with Root Vector3D.
bool isNewTagRequest(const std::string &recordName)
cond::Time_t beginOfTime() const
DDTranslation const & translation() const
double pixROCCols() const
DDRotationMatrix const & rotation() const
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
void putOne(const GeometricDet *gd, PGeometricDet *pgd, int lev)
cond::Time_t endOfTime() const
ConstGeometricDetContainer deepComponents() const
GeometricDetContainer & components()
double siliconAPVNum() const
double pixROCRows() const
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
const std::string & name() const
Returns the name.
GeometricEnumType type() const