29 <<
"GeometricTimingDetLoader::GeometricTimingDetLoader"<<std::endl;
35 <<
"GeometricTimingDetLoader::~GeometricTimingDetLoader"<<std::endl;
41 std::cout<<
"GeometricTimingDetLoader::beginJob"<<std::endl;
45 std::cout<<
"PoolDBOutputService unavailable"<<std::endl;
56 std::vector<const GeometricTimingDet*> tc = tracker->
components();
57 std::cout <<
"Tracker has " << tc.size() <<
" components." << std::endl;
58 std::vector<const GeometricTimingDet*>::const_iterator git = tc.begin();
59 std::vector<const GeometricTimingDet*>::const_iterator egit = tc.end();
62 for (; git!= egit; ++git) {
64 std::vector<const GeometricTimingDet*> inone = (*git)->components();
67 if ( inone.empty() ) ++count;
68 std::vector<const GeometricTimingDet*>::const_iterator git2 = inone.begin();
69 std::vector<const GeometricTimingDet*>::const_iterator egit2 = inone.end();
71 for (; git2 != egit2; ++git2) {
73 std::vector<const GeometricTimingDet*> intwo= (*git2)->components();
75 if ( intwo.empty() ) ++count;
76 std::vector<const GeometricTimingDet*>::const_iterator git3 = intwo.begin();
77 std::vector<const GeometricTimingDet*>::const_iterator egit3 = intwo.end();
79 for (; git3 != egit3; ++git3) {
81 std::vector<const GeometricTimingDet*> inthree= (*git3)->components();
83 if ( inthree.empty() ) ++count;
84 std::vector<const GeometricTimingDet*>::const_iterator git4 = inthree.begin();
85 std::vector<const GeometricTimingDet*>::const_iterator egit4 = inthree.end();
87 for (; git4 != egit4; ++git4) {
89 std::vector<const GeometricTimingDet*> infour= (*git4)->components();
91 if ( infour.empty() ) ++count;
92 std::vector<const GeometricTimingDet*>::const_iterator git5 = infour.begin();
93 std::vector<const GeometricTimingDet*>::const_iterator egit5 = infour.end();
95 for (; git5 != egit5; ++git5) {
97 std::vector<const GeometricTimingDet*> infive= (*git5)->components();
99 if ( infive.empty() ) ++count;
100 std::vector<const GeometricTimingDet*>::const_iterator git6 = infive.begin();
101 std::vector<const GeometricTimingDet*>::const_iterator egit6 = infive.end();
103 for (; git6 != egit6; ++git6) {
105 std::vector<const GeometricTimingDet*> insix= (*git6)->components();
107 if ( insix.empty() ) ++count;
120 std::cout <<
" No. of Tracker components \"deepComponents\" = " << modules.size() << std::endl;
121 std::cout <<
" Counted # of lowest \"leaves\" = " << count << std::endl;
126 ,
"PGeometricTimingDetRcd");
128 std::cout <<
"PGeometricTimingDetRcd Tag is already present." << std::endl;
142 rot.GetComponents(x, y, z);
void beginRun(edm::Run const &iEvent, edm::EventSetup const &) override
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
GeometricTimingEnumType type() const
double siliconAPVNum() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
double pixROCCols() const
~GeometricTimingDetLoader() override
std::vector< Item > pgeomdets_
ConstGeometricTimingDetContainer & components()
#define DEFINE_FWK_MODULE(type)
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
A DD Translation is currently implemented with Root Vector3D.
bool isNewTagRequest(const std::string &recordName)
DDTranslation const & translation() const
cond::Time_t beginOfTime() const
ConstGeometricTimingDetContainer deepComponents() const
double pixROCRows() const
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
void putOne(const GeometricTimingDet *gd, PGeometricTimingDet *pgd, int lev)
DetId geographicalID() const
std::vector< double > const & params() const
DDName const & name() const
cond::Time_t endOfTime() const
DDRotationMatrix const & rotation() const
GeometricTimingDetLoader(const edm::ParameterSet &iConfig)
DDSolidShape const & shape() const
const std::string & name() const
Returns the name.