42 edm::LogError(
"PGeometricDetBuilder")<<
"PoolDBOutputService unavailable";
53 std::vector<const GeometricDet*> tc = tracker->
components();
54 std::vector<const GeometricDet*>::const_iterator git = tc.begin();
55 std::vector<const GeometricDet*>::const_iterator egit = tc.end();
59 for (; git!= egit; ++git) {
61 std::vector<const GeometricDet*> inone = (*git)->components();
64 if ( inone.size() == 0 ) ++count;
65 std::vector<const GeometricDet*>::const_iterator git2 = inone.begin();
66 std::vector<const GeometricDet*>::const_iterator egit2 = inone.end();
68 for (; git2 != egit2; ++git2) {
70 std::vector<const GeometricDet*> intwo= (*git2)->components();
72 if ( intwo.size() == 0 ) ++count;
73 std::vector<const GeometricDet*>::const_iterator git3 = intwo.begin();
74 std::vector<const GeometricDet*>::const_iterator egit3 = intwo.end();
76 for (; git3 != egit3; ++git3) {
78 std::vector<const GeometricDet*> inthree= (*git3)->components();
80 if ( inthree.size() == 0 ) ++count;
81 std::vector<const GeometricDet*>::const_iterator git4 = inthree.begin();
82 std::vector<const GeometricDet*>::const_iterator egit4 = inthree.end();
84 for (; git4 != egit4; ++git4) {
86 std::vector<const GeometricDet*> infour= (*git4)->components();
88 if ( infour.size() == 0 ) ++count;
89 std::vector<const GeometricDet*>::const_iterator git5 = infour.begin();
90 std::vector<const GeometricDet*>::const_iterator egit5 = infour.end();
92 for (; git5 != egit5; ++git5) {
94 std::vector<const GeometricDet*> infive= (*git5)->components();
96 if ( infive.size() == 0 ) ++count;
97 std::vector<const GeometricDet*>::const_iterator git6 = infive.begin();
98 std::vector<const GeometricDet*>::const_iterator egit6 = infive.end();
100 for (; git6 != egit6; ++git6) {
102 std::vector<const GeometricDet*> insix= (*git6)->components();
104 if ( insix.size() == 0 ) ++count;
116 std::vector<const GeometricDet*> modules = tracker->
deepComponents();
120 edm::LogError(
"PGeometricDetBuilder")<<
"PGeometricDetBuilder Tag already present";
130 rot.GetComponents(x, y, z);
162 }
else if(gd->
shape()==3){
198 size_t nts = nt.size();
200 std::vector<int> tempnt(nt.begin(),nt.end());
201 for (
size_t extrant = nt.size(); extrant < 11; ++extrant ) {
202 tempnt.push_back(-1);
204 item.
_nt0 = tempnt[0];
205 item.
_nt1 = tempnt[1];
206 item.
_nt2 = tempnt[2];
207 item.
_nt3 = tempnt[3];
208 item.
_nt4 = tempnt[4];
209 item.
_nt5 = tempnt[5];
210 item.
_nt6 = tempnt[6];
211 item.
_nt7 = tempnt[7];
212 item.
_nt8 = tempnt[8];
213 item.
_nt9 = tempnt[9];
214 item.
_nt10 = tempnt[10];
nav_type const & navType() const
DDSolidShape const & shape() const
std::vector< Item > pgeomdets_
const std::string & ns() const
Returns the namespace.
PGeometricDetBuilder(const edm::ParameterSet &iConfig)
DetId geographicalID() const
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)
virtual void beginRun(const edm::Run &, edm::EventSetup const &)
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
DDExpandedView::nav_type nav_type
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