34 edm::LogError(
"PGeometricDetBuilder") <<
"PoolDBOutputService unavailable";
45 std::vector<const GeometricDet*> tc = tracker->
components();
46 std::vector<const GeometricDet*>::const_iterator git = tc.begin();
47 std::vector<const GeometricDet*>::const_iterator egit = tc.end();
50 for (; git != egit; ++git) {
52 std::vector<const GeometricDet*> inone = (*git)->components();
55 std::vector<const GeometricDet*>::const_iterator git2 = inone.begin();
56 std::vector<const GeometricDet*>::const_iterator egit2 = inone.end();
58 for (; git2 != egit2; ++git2) {
60 std::vector<const GeometricDet*> intwo = (*git2)->components();
63 std::vector<const GeometricDet*>::const_iterator git3 = intwo.begin();
64 std::vector<const GeometricDet*>::const_iterator egit3 = intwo.end();
66 for (; git3 != egit3; ++git3) {
68 std::vector<const GeometricDet*> inthree = (*git3)->components();
71 std::vector<const GeometricDet*>::const_iterator git4 = inthree.begin();
72 std::vector<const GeometricDet*>::const_iterator egit4 = inthree.end();
74 for (; git4 != egit4; ++git4) {
76 std::vector<const GeometricDet*> infour = (*git4)->components();
79 std::vector<const GeometricDet*>::const_iterator git5 = infour.begin();
80 std::vector<const GeometricDet*>::const_iterator egit5 = infour.end();
82 for (; git5 != egit5; ++git5) {
84 std::vector<const GeometricDet*> infive = (*git5)->components();
87 std::vector<const GeometricDet*>::const_iterator git6 = infive.begin();
88 std::vector<const GeometricDet*>::const_iterator egit6 = infive.end();
90 for (; git6 != egit6; ++git6) {
92 std::vector<const GeometricDet*> insix = (*git6)->components();
111 edm::LogError(
"PGeometricDetBuilder") <<
"PGeometricDetBuilder Tag already present";
120 rot.GetComponents(x, y, z);
188 size_t nts = nt.size();
190 std::vector<int> tempnt(nt.begin(), nt.end());
191 for (
size_t extrant = nt.size(); extrant < 11; ++extrant) {
192 tempnt.push_back(-1);
194 item.
_nt0 = tempnt[0];
195 item.
_nt1 = tempnt[1];
196 item.
_nt2 = tempnt[2];
197 item.
_nt3 = tempnt[3];
198 item.
_nt4 = tempnt[4];
199 item.
_nt5 = tempnt[5];
200 item.
_nt6 = tempnt[6];
201 item.
_nt7 = tempnt[7];
202 item.
_nt8 = tempnt[8];
203 item.
_nt9 = tempnt[9];
204 item.
_nt10 = tempnt[10];
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
nav_type const & navType() const
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
DDSolidShape const & shape() const
std::vector< Item > pgeomdets_
DetId geographicalID() const
PGeometricDetBuilder(const edm::ParameterSet &)
Translation const & translation() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
ConstGeometricDetContainer & components()
std::vector< double > const & params() const
std::string const & name() const
#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
double pixROCCols() 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)
DDExpandedView::nav_type nav_type
cond::Time_t endOfTime() const
void beginRun(edm::Run const &iEvent, edm::EventSetup const &) override
ConstGeometricDetContainer deepComponents() const
RotationMatrix const & rotation() const
double siliconAPVNum() const
double pixROCRows() const
void endRun(edm::Run const &iEvent, edm::EventSetup const &) override
GeometricEnumType type() const