40 edm::LogError(
"PGeometricDetBuilder")<<
"PoolDBOutputService unavailable";
51 std::vector<const GeometricDet*> tc = tracker->
components();
52 std::vector<const GeometricDet*>::const_iterator git = tc.begin();
53 std::vector<const GeometricDet*>::const_iterator egit = tc.end();
56 for (; git!= egit; ++git) {
58 std::vector<const GeometricDet*> inone = (*git)->components();
59 if ( inone.size() == 0 ) ++count;
60 std::vector<const GeometricDet*>::const_iterator git2 = inone.begin();
61 std::vector<const GeometricDet*>::const_iterator egit2 = inone.end();
63 for (; git2 != egit2; ++git2) {
65 std::vector<const GeometricDet*> intwo= (*git2)->components();
66 if ( intwo.size() == 0 ) ++count;
67 std::vector<const GeometricDet*>::const_iterator git3 = intwo.begin();
68 std::vector<const GeometricDet*>::const_iterator egit3 = intwo.end();
70 for (; git3 != egit3; ++git3) {
72 std::vector<const GeometricDet*> inthree= (*git3)->components();
73 if ( inthree.size() == 0 ) ++count;
74 std::vector<const GeometricDet*>::const_iterator git4 = inthree.begin();
75 std::vector<const GeometricDet*>::const_iterator egit4 = inthree.end();
77 for (; git4 != egit4; ++git4) {
79 std::vector<const GeometricDet*> infour= (*git4)->components();
80 if ( infour.size() == 0 ) ++count;
81 std::vector<const GeometricDet*>::const_iterator git5 = infour.begin();
82 std::vector<const GeometricDet*>::const_iterator egit5 = infour.end();
84 for (; git5 != egit5; ++git5) {
86 std::vector<const GeometricDet*> infive= (*git5)->components();
87 if ( infive.size() == 0 ) ++count;
88 std::vector<const GeometricDet*>::const_iterator git6 = infive.begin();
89 std::vector<const GeometricDet*>::const_iterator egit6 = infive.end();
91 for (; git6 != egit6; ++git6) {
93 std::vector<const GeometricDet*> insix= (*git6)->components();
94 if ( insix.size() == 0 ) ++count;
106 std::vector<const GeometricDet*> modules = tracker->
deepComponents();
110 edm::LogError(
"PGeometricDetBuilder")<<
"PGeometricDetBuilder Tag already present";
bool isNewTagRequest(const std::string &recordName)
cond::Time_t beginOfTime() 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()