27 LogDebug(
"GeometricTimingDetLoader") <<
"GeometricTimingDetLoader::GeometricTimingDetLoader" << std::endl;
31 LogDebug(
"GeometricTimingDetLoader") <<
"GeometricTimingDetLoader::~GeometricTimingDetLoader" << std::endl;
35 std::cout <<
"GeometricTimingDetLoader::beginJob" << std::endl;
39 std::cout <<
"PoolDBOutputService unavailable" << std::endl;
50 std::vector<const GeometricTimingDet*> tc = tracker->
components();
51 std::cout <<
"Tracker has " << tc.size() <<
" components." << std::endl;
52 std::vector<const GeometricTimingDet*>::const_iterator git = tc.begin();
53 std::vector<const GeometricTimingDet*>::const_iterator egit = tc.end();
56 for (; git != egit; ++git) {
58 std::vector<const GeometricTimingDet*> inone = (*git)->components();
63 std::vector<const GeometricTimingDet*>::const_iterator git2 = inone.begin();
64 std::vector<const GeometricTimingDet*>::const_iterator egit2 = inone.end();
66 for (; git2 != egit2; ++git2) {
68 std::vector<const GeometricTimingDet*> intwo = (*git2)->components();
72 std::vector<const GeometricTimingDet*>::const_iterator git3 = intwo.begin();
73 std::vector<const GeometricTimingDet*>::const_iterator egit3 = intwo.end();
75 for (; git3 != egit3; ++git3) {
77 std::vector<const GeometricTimingDet*> inthree = (*git3)->components();
81 std::vector<const GeometricTimingDet*>::const_iterator git4 = inthree.begin();
82 std::vector<const GeometricTimingDet*>::const_iterator egit4 = inthree.end();
84 for (; git4 != egit4; ++git4) {
86 std::vector<const GeometricTimingDet*> infour = (*git4)->components();
90 std::vector<const GeometricTimingDet*>::const_iterator git5 = infour.begin();
91 std::vector<const GeometricTimingDet*>::const_iterator egit5 = infour.end();
93 for (; git5 != egit5; ++git5) {
95 std::vector<const GeometricTimingDet*> infive = (*git5)->components();
99 std::vector<const GeometricTimingDet*>::const_iterator git6 = infive.begin();
100 std::vector<const GeometricTimingDet*>::const_iterator egit6 = infive.end();
102 for (; git6 != egit6; ++git6) {
104 std::vector<const GeometricTimingDet*> insix = (*git6)->components();
120 std::cout <<
" No. of Tracker components \"deepComponents\" = " << modules.size() << std::endl;
121 std::cout <<
" Counted # of lowest \"leaves\" = " << count << std::endl;
126 std::cout <<
"PGeometricTimingDetRcd Tag is already present." << std::endl;
139 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)
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)
std::string const & name() const
DetId geographicalID() const
std::vector< double > const & params() const
cond::Time_t endOfTime() const
RotationMatrix const & rotation() const
GeometricTimingDetLoader(const edm::ParameterSet &iConfig)
DDSolidShape const & shape() const
Translation const & translation() const