51 #include "TGeoManager.h" 53 #include "TGeoMatrix.h" 60 #include "TEveVector.h" 61 #include "TEveTrans.h" 66 typedef std::map< const float*, TGeoVolume*> CaloVolMap;
84 void AddLeafNode(TGeoVolume* mother, TGeoVolume* daughter,
const char*
name, TGeoMatrix* mtx )
86 int n = mother->GetNdaughters();
87 mother->AddNode(daughter, 1, mtx);
88 mother->GetNode(n)->SetName(name);
92 TGeoCombiTrans* createPlacement(
const GeomDet *det )
99 TGeoTranslation trans( posx, posy, posz );
106 const Double_t
matrix[9] = { detRot.
xx(), detRot.
yx(), detRot.
zx(),
107 detRot.
xy(), detRot.
yy(), detRot.
zy(),
108 detRot.
xz(), detRot.
yz(), detRot.
zz()
110 rotation.SetMatrix( matrix );
112 return new TGeoCombiTrans( trans, rotation );
123 if (mother->GetNdaughters()) {
124 TGeoNode*
n = mother->FindNode(Form(
"%s_%d_1", prefix,
id));
125 if ( n ) res = n->GetVolume();
129 res =
new TGeoVolumeAssembly( Form(
"%s_%d", prefix,
id ));
131 mother->AddNode(res, 1);
140 if (mother->GetNdaughters()) {
141 TGeoNode*
n = mother->FindNode(Form(
"%s_1",prefix));
142 if ( n ) res = n->GetVolume();
147 res =
new TGeoVolumeAssembly(prefix);
149 mother->AddNode(res, 1);
165 Blue0 = 13, Blue1 = 24, Blue2 = 6,
166 Yellow0 = 3, Yellow1 = 16,
168 Red = 29, Orange0 = 79, Orange1 = 14,
179 std::map<ERecoDet, TGeoMedium*>::iterator it =
m_recoMedium.find(det);
192 color = GMCol::Green;
202 color = GMCol::Blue2;
212 color = GMCol::Yellow1;
222 color = GMCol::Yellow0;
228 color = GMCol::Blue2;
232 color = GMCol::Orange1;
236 color = GMCol::Green;
240 color = GMCol::Blue2;
244 color = GMCol::Blue1;
247 printf(
"invalid medium id \n");
251 TGeoMaterial* mat =
new TGeoMaterial(
name.c_str(), 0, 0, 0);
254 mat->SetFillStyle(3000);
265 std::shared_ptr<FWTGeoRecoGeometry>
275 TGeoManager*
geom =
new TGeoManager(
"cmsGeo",
"CMS Detector" );
276 if( 0 == gGeoIdentity )
278 gGeoIdentity =
new TGeoIdentity(
"Identity" );
284 TGeoMaterial *vacuum =
new TGeoMaterial(
"Vacuum", 0 ,0 ,0 );
287 TGeoVolume *top = geom->MakeBox(
"CMS",
m_dummyMedium, 270., 270., 120. );
291 return std::shared_ptr<FWTGeoRecoGeometry>();
293 geom->SetTopVolume( top );
295 top->SetVisibility( kFALSE );
296 top->SetLineColor( kBlue );
340 geom->CloseGeometry();
342 geom->DefaultColors();
344 geom->CloseGeometry();
353 TGeoShape* shape = 0;
360 std::array< const float, 4 >
const & par = b2->
parameters ();
363 float hBottomEdge = par [0];
364 float hTopEdge = par [1];
365 float thickness = par [2];
366 float apothem = par [3];
370 << hBottomEdge <<
"_" 381 shape =
new TGeoTrap(
398 if( dynamic_cast<const RectangularPlaneBounds *> (b) != 0 )
417 shape =
new TGeoBBox( name.c_str(), width / 2., length / 2., thickness / 2. );
432 std::map<TGeoShape*, TGeoVolume*>::iterator vIt =
m_shapeToVolume.find(solid);
436 TGeoVolume* volume =
new TGeoVolume( name.c_str(),solid,
GetMedium(mid));
461 DetId detid = it->geographicalId();
466 std::string name = Form(
"PXB Ly:%d, Md:%d Ld:%d ", layer, module, ladder );
472 AddLeafNode( holder, child, name.c_str(), createPlacement( it ));
483 DetId detid = it->geographicalId();
489 std::string name = Form(
"PXF D:%d, B:%d, P:%d, S:%d", disk, blade, panel, side );
497 AddLeafNode( holder, child, name.c_str(), createPlacement( it ));
508 DetId detid = it->geographicalId();
521 AddLeafNode( holder, child, name.c_str(), createPlacement( it ));
532 DetId detid = it->geographicalId();
545 AddLeafNode( holder, child, name.c_str(), createPlacement( it ));
556 DetId detid = it->geographicalId();
569 AddLeafNode( holder, child, name.c_str(), createPlacement( it ));
580 DetId detid = it->geographicalId();
594 AddLeafNode( holder, child, name.c_str(), createPlacement( it ));
617 for(
auto it = dtChamberGeom.begin(),
618 end = dtChamberGeom.end();
621 if(
auto chamber = dynamic_cast< const DTChamber *>(*it))
633 AddLeafNode(holder, child, name.c_str(), createPlacement(
chamber));
642 for(
auto it = dtSuperLayerGeom.begin(),
643 end = dtSuperLayerGeom.end();
646 if(
auto * superlayer = dynamic_cast<const DTSuperLayer*>(*it))
659 AddLeafNode(holder, child, name.c_str(), createPlacement( superlayer));
667 for(
auto it = dtLayerGeom.begin(),
668 end = dtLayerGeom.end();
671 if(
auto layer = dynamic_cast<const DTLayer*>(*it))
687 AddLeafNode(holder, child, name.c_str(), createPlacement( layer));
698 throw cms::Exception(
"FatalError" ) <<
"Cannnot find CSCGeometry\n";
705 for(
auto it = cscGeom.begin(), itEnd = cscGeom.end(); it != itEnd; ++it )
707 unsigned int rawid = (*it)->geographicalId();
713 TGeoVolume*
child = 0;
715 if(
auto chamber = dynamic_cast<const CSCChamber*>(*it))
717 else if(
auto * layer = dynamic_cast<const CSCLayer*>(*it))
729 AddLeafNode(holder, child, name.c_str(), createPlacement(*it));
763 TGeoVolume* holder =
GetDaughter(assembly,
"SuperChamber Region",
kMuonGEM , detid.region());
768 AddLeafNode(holder, child, name.c_str(), createPlacement(*it));
795 AddLeafNode(holder, child, name.c_str(), createPlacement(*it));
800 edm::LogInfo(
"FWRecoGeometry") <<
"failed to produce GEM geometry " << exception.
what() << std::endl;
816 for(
auto it = rpcGeom->
rolls().begin(),
837 AddLeafNode(holder, child, name.c_str(), createPlacement(*it));
857 unsigned int rawid = roll->geographicalId().rawId();
869 AddLeafNode(holder, child, name.c_str(), createPlacement(roll));
877 edm::LogInfo(
"FWRecoGeometry") <<
"failed to produce ME0 geometry " << exception.
what() << std::endl;
895 CaloVolMap caloShapeMapP;
896 CaloVolMap caloShapeMapN;
897 for( std::vector<DetId>::const_iterator it = vid.begin(),
end = vid.end(); it !=
end; ++it)
904 if (!cell) { printf (
"HB not oblique !!!\n");
continue; }
906 TGeoVolume* volume = 0;
907 CaloVolMap& caloShapeMap = (cell->
etaPos() > 0) ? caloShapeMapP : caloShapeMapN;
908 CaloVolMap::iterator volIt = caloShapeMap.find(cell->
param());
909 if (volIt == caloShapeMap.end())
915 HepGeom::Vector3D<float> lCenter;
916 for(
int c = 0;
c < 8; ++
c)
920 static const int arr[] = { 1, 0, 3, 2, 5, 4, 7, 6 };
922 for (
int c = 0;
c < 8; ++
c) {
924 points[
c*2 + 0 ] = -(lc[arr[
c]].
z() - lCenter.z());
926 points[
c*2 + 0 ] = (lc[arr[
c]].z() - lCenter.z());
927 points[
c*2 + 1 ] = (lc[arr[
c]].y() - lCenter.y());
931 float dz = (lc[4].x() -lc[0].x()) * 0.5;
932 TGeoShape* solid =
new TGeoArb8(dz, &points[0]);
933 volume =
new TGeoVolume(
"hcal oblique prism", solid,
GetMedium(
kHCal));
934 caloShapeMap[cell->
param()] = volume;
937 volume = volIt->second;
940 HepGeom::Vector3D<float> gCenter;
942 for (
int c = 0;
c < 8; ++
c)
943 gCenter += HepGeom::Vector3D<float>(gc[
c].
x(), gc[
c].
y(), gc[
c].
z());
946 TGeoTranslation gtr(gCenter.x(), gCenter.y(), gCenter.z());
951 rotPhi.SetAngles(0, -cell->
phiPos()*TMath::RadToDeg(), 0);
952 rot.MultiplyBy(&rotPhi);
956 std::stringstream nname;
958 AddLeafNode(holder, volume, nname.str().c_str(),
new TGeoCombiTrans(gtr, rot));
969 CaloVolMap caloShapeMapP;
970 CaloVolMap caloShapeMapN;
977 for( std::vector<DetId>::const_iterator it = vid.begin(),
end = vid.end(); it !=
end; ++it)
982 if (!cell) { printf (
"EC not oblique \n");
continue; }
984 TGeoVolume* volume = 0;
985 CaloVolMap& caloShapeMap = (cell->etaPos() > 0) ? caloShapeMapP : caloShapeMapN;
986 CaloVolMap::iterator volIt = caloShapeMap.find(cell->param());
987 if ( volIt == caloShapeMap.end())
992 HepGeom::Vector3D<float> lCenter;
993 for(
int c = 0;
c < 8; ++
c)
1001 static const int arrP[] = { 3, 2, 1, 0, 7, 6, 5, 4 };
1002 static const int arrN[] = { 7, 6, 5, 4 ,3, 2, 1, 0};
1003 const int* arr = (detid.
ieta() > 0) ? &arrP[0] : &arrN[0];
1006 for (
int c = 0;
c < 8; ++
c) {
1007 points[
c*2 + 0 ] = lc[arr[
c]].x() - lCenter.x();
1008 points[
c*2 + 1 ] = lc[arr[
c]].y() - lCenter.y();
1011 float dz = (lc[4].z() -lc[0].z()) * 0.5;
1012 TGeoShape* solid =
new TGeoArb8(dz, &points[0]);
1013 volume =
new TGeoVolume(
"ecal oblique prism", solid,
GetMedium(
kHCal));
1014 caloShapeMap[cell->param()] = volume;
1018 volume = volIt->second;
1022 HepGeom::Vector3D<float> gCenter;
1024 for (
int c = 0;
c < 8; ++
c) {
1025 gCenter += HepGeom::Vector3D<float>(gc[
c].x(), gc[
c].y(), gc[
c].z());
1030 TGeoTranslation gtr(gCenter.x(), gCenter.y(), gCenter.z());
1032 rot.SetAngles(cell->phiPos()*TMath::RadToDeg(), 0, 0);
1036 std::stringstream nname;
1038 AddLeafNode(holder, volume, nname.str().c_str(),
new TGeoCombiTrans(gtr, rot));
1047 CaloVolMap caloShapeMapP;
1048 CaloVolMap caloShapeMapN;
1055 for( std::vector<DetId>::const_iterator it = vid.begin(),
end = vid.end(); it !=
end; ++it)
1060 if (!cell) { printf (
"EC not oblique \n");
continue; }
1062 TGeoVolume* volume = 0;
1063 CaloVolMap& caloShapeMap = (cell->etaPos() > 0) ? caloShapeMapP : caloShapeMapN;
1064 CaloVolMap::iterator volIt = caloShapeMap.find(cell->param());
1065 if ( volIt == caloShapeMap.end())
1070 HepGeom::Vector3D<float> lCenter;
1071 for(
int c = 0;
c < 8; ++
c)
1074 static const int arrP[] = { 3, 2, 1, 0, 7, 6, 5, 4 };
1075 static const int arrN[] = { 7, 6, 5, 4 ,3, 2, 1, 0};
1076 const int* arr = (detid.
ieta() > 0) ? &arrP[0] : &arrN[0];
1079 for (
int c = 0;
c < 8; ++
c) {
1080 points[
c*2 + 0 ] = lc[arr[
c]].x() - lCenter.x();
1081 points[
c*2 + 1 ] = lc[arr[
c]].y() - lCenter.y();
1084 float dz = (lc[4].z() -lc[0].z()) * 0.5;
1085 TGeoShape* solid =
new TGeoArb8(dz, &points[0]);
1086 volume =
new TGeoVolume(
"ecal oblique prism", solid,
GetMedium(
kHCal));
1087 caloShapeMap[cell->param()] = volume;
1090 volume = volIt->second;
1092 HepGeom::Vector3D<float> gCenter;
1094 for (
int c = 0;
c < 8; ++
c) {
1095 gCenter += HepGeom::Vector3D<float>(gc[
c].x(), gc[
c].y(), gc[
c].z());
1099 TGeoTranslation gtr(gCenter.x(), gCenter.y(), gCenter.z());
1101 rot.SetAngles(cell->phiPos()*TMath::RadToDeg(), 0, 0);
1105 std::stringstream nname;
1107 AddLeafNode(holder, volume, nname.str().c_str(),
new TGeoCombiTrans(gtr, rot));
1114 CaloVolMap caloShapeMapP;
1115 CaloVolMap caloShapeMapN;
1122 for( std::vector<DetId>::const_iterator it = vid.begin(),
end = vid.end(); it !=
end; ++it)
1127 if (!cell) { printf (
"EC not Z prism \n");
continue; }
1129 TGeoVolume* volume = 0;
1130 CaloVolMap& caloShapeMap = (cell->etaPos() > 0) ? caloShapeMapP : caloShapeMapN;
1131 CaloVolMap::iterator volIt = caloShapeMap.find(cell->param());
1132 if ( volIt == caloShapeMap.end())
1137 HepGeom::Vector3D<float> lCenter;
1138 for(
int c = 0;
c < 8; ++
c)
1141 static const int arrP[] = { 3, 2, 1, 0, 7, 6, 5, 4 };
1142 static const int arrN[] = { 7, 6, 5, 4 ,3, 2, 1, 0};
1143 const int* arr = (detid.
ieta() > 0) ? &arrP[0] : &arrN[0];
1146 for (
int c = 0;
c < 8; ++
c) {
1147 points[
c*2 + 0 ] = lc[arr[
c]].x() - lCenter.x();
1148 points[
c*2 + 1 ] = lc[arr[
c]].y() - lCenter.y();
1151 float dz = (lc[4].z() -lc[0].z()) * 0.5;
1152 TGeoShape* solid =
new TGeoArb8(dz, &points[0]);
1153 volume =
new TGeoVolume(
"ecal oblique prism", solid,
GetMedium(
kHCal));
1154 caloShapeMap[cell->param()] = volume;
1157 volume = volIt->second;
1159 HepGeom::Vector3D<float> gCenter;
1161 for (
int c = 0;
c < 8; ++
c) {
1162 gCenter += HepGeom::Vector3D<float>(gc[
c].x(), gc[
c].y(), gc[
c].z());
1166 TGeoTranslation gtr(gCenter.x(), gCenter.y(), gCenter.z());
1168 rot.SetAngles(cell->phiPos()*TMath::RadToDeg(), 0, 0);
1172 std::stringstream nname;
1174 AddLeafNode(holder, volume, nname.str().c_str(),
new TGeoCombiTrans(gtr, rot));
1181 CaloVolMap caloShapeMapP;
1182 CaloVolMap caloShapeMapN;
1188 for( std::vector<DetId>::const_iterator it = vid.begin(),
end = vid.end(); it !=
end; ++it)
1192 if (!cell) { printf (
"EC not oblique \n");
continue; }
1193 TGeoVolume* volume = 0;
1194 CaloVolMap& caloShapeMap = (cell->etaPos() > 0) ? caloShapeMapP : caloShapeMapN;
1195 CaloVolMap::iterator volIt = caloShapeMap.find(cell->param());
1196 if ( volIt == caloShapeMap.end())
1201 HepGeom::Vector3D<float> lCenter;
1202 for(
int c = 0;
c < 8; ++
c)
1206 static const int arrP[] = { 3, 2, 1, 0, 7, 6, 5, 4 };
1207 static const int arrN[] = { 7, 6, 5, 4 ,3, 2, 1, 0};
1208 const int* arr = (detid.
ieta() > 0) ? &arrP[0] : &arrN[0];
1211 for (
int c = 0;
c < 8; ++
c) {
1212 points[
c*2 + 0 ] = lc[arr[
c]].x() - lCenter.x();
1213 points[
c*2 + 1 ] = lc[arr[
c]].y() - lCenter.y();
1216 float dz = (lc[4].z() -lc[0].z()) * 0.5;
1217 TGeoShape* solid =
new TGeoArb8(dz, &points[0]);
1219 caloShapeMap[cell->param()] = volume;
1222 volume = volIt->second;
1225 HepGeom::Vector3D<float> gCenter;
1227 for (
int c = 0;
c < 8; ++
c) {
1228 gCenter += HepGeom::Vector3D<float>(gc[
c].x(), gc[
c].y(), gc[
c].z());
1232 TGeoTranslation gtr(gCenter.x(), gCenter.y(), gCenter.z());
1234 rot.SetAngles(cell->phiPos()*TMath::RadToDeg(), 0, 0);
1238 std::stringstream nname;
1240 AddLeafNode(holder, volume, nname.str().c_str(),
new TGeoCombiTrans(gtr, rot));
1250 for (
int i = 0;
i < 8; ++
i)
1251 gCenter += TEveVector(gc[
i].
x(), gc[
i].
y(), gc[
i].
z());
1254 TEveVector tgCenter;
1255 for (
int i = 4;
i < 8; ++
i)
1256 tgCenter += TEveVector(gc[
i].
x(), gc[
i].
y(), gc[
i].
z());
1260 TEveVector axis = tgCenter - gCenter;
1265 tr.GetBaseVec(1, v1t);
1268 TEveVector v1(v1t.x(), v1t.y(), v1t.z());
1269 double dot13 = axis.Dot(v1);
1270 TEveVector gd = axis;
1275 TMath::Cross(v1.Arr(), axis.Arr(), v2.Arr());
1276 TMath::Cross(axis.Arr(), v1.Arr(), v2.Arr());
1279 tr.SetBaseVec(1, v1.fX, v1.fY, v1.fZ);
1280 tr.SetBaseVec(2, v2.fX, v2.fY, v2.fZ);
1281 tr.SetBaseVec(3, axis.fX, axis.fY, axis.fZ);
1282 tr.Move3PF(gCenter.fX, gCenter.fY, gCenter.fZ);
1284 TGeoHMatrix*
out =
new TGeoHMatrix();
1285 tr.SetGeoHMatrix(*out);
1293 const HepGeom::Transform3D idtr;
1301 for(
int c = 0;
c < 8; ++
c )
1303 points[
c*2 ] = co[
c].x();
1304 points[
c*2+1] = co[
c].y();
1306 TGeoShape* solid =
new TGeoArb8(cell->
param()[0], points);
1319 CaloVolMap caloShapeMap;
1325 for( std::vector<DetId>::const_iterator it = vid.begin(),
end = vid.end(); it !=
end; ++it)
1329 if (!cell) { printf(
"ecalBarrel cell not a TruncatedPyramid !!\n");
return; }
1331 TGeoVolume* volume = 0;
1332 CaloVolMap::iterator volIt = caloShapeMap.find(cell->
param());
1333 if ( volIt == caloShapeMap.end())
1336 caloShapeMap[cell->
param()] = volume;
1339 volume = volIt->second;
1344 std::stringstream nname;
1346 AddLeafNode(holder, volume, nname.str().c_str(), mtx);
1355 for( std::vector<DetId>::const_iterator it = vid.begin(),
end = vid.end(); it !=
end; ++it)
1359 if (!cell) { printf(
"ecalEndcap cell not a TruncatedPyramid !!\n");
continue;}
1361 TGeoVolume* volume = 0;
1362 CaloVolMap::iterator volIt = caloShapeMap.find(cell->
param());
1363 if ( volIt == caloShapeMap.end())
1367 caloShapeMap[cell->
param()] = volume;
1370 volume = volIt->second;
1375 std::stringstream nname;
1377 AddLeafNode(holder, volume, nname.str().c_str(), mtx);
virtual char const * what() const
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
TGeoMedium * m_dummyMedium
T getUntrackedParameter(std::string const &, T const &) const
std::shared_ptr< FWTGeoRecoGeometry > produce(const FWTGeoRecoGeometryRecord &)
const TrackerGeometry * m_trackerGeom
virtual float length() const =0
unsigned int tidRing(const DetId &id) const
virtual const std::array< const float, 4 > parameters() const
edm::ESHandle< CaloGeometry > m_caloGeom
edm::ESHandle< GlobalTrackingGeometry > m_geomRecord
int zside() const
get the z-side of the cell (1/-1)
TGeoShape * createShape(const GeomDet *det)
unsigned int pxfDisk(const DetId &id) const
const std::vector< const RPCRoll * > & rolls() const
Return a vector of all RPC rolls.
unsigned int tecRing(const DetId &id) const
ring id
virtual ~FWTGeoRecoGeometryESProducer(void)
CaloCellGeometry::Pt3D Pt3D
unsigned int pxbLadder(const DetId &id) const
unsigned int side(const DetId &id) const
const Bounds & bounds() const
unsigned int tidWheel(const DetId &id) const
unsigned int pxbModule(const DetId &id) const
std::map< TGeoShape *, TGeoVolume * > m_shapeToVolume
const Plane & surface() const
The nominal surface of the GeomDet.
void addCaloTowerGeometry()
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
virtual float width() const =0
const DepRecordT & getRecord() const
unsigned int tibSide(const DetId &id) const
TGeoMedium * GetMedium(ERecoDet)
const CCGFloat * param() const
unsigned int tidSide(const DetId &id) const
const TrackerTopology * m_trackerTopology
CaloCellGeometry::Pt3D Pt3D
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
const DetContainer & detsTEC() const
void addHcalCaloGeometryOuter()
TGeoHMatrix * getEcalTrans(CaloCellGeometry::CornersVec const &gc)
static const int SubdetId
void addEcalCaloGeometry()
std::map< std::string, TGeoShape * > m_nameToShape
CaloCellGeometry::Pt3DVec Pt3DVec
unsigned int tobSide(const DetId &id) const
int ieta() const
get the cell ieta
const DetContainer & detsPXB() const
const std::vector< const GEMEtaPartition * > & etaPartitions() const
Return a vector of all GEM eta partitions.
const TrackingGeometry * slaveGeometry(DetId id) const
Return the pointer to the actual geometry for a given DetId.
DetId geographicalId() const
The label of this GeomDet.
void addHcalCaloGeometryBarrel()
int ieta() const
get the crystal ieta
std::map< ERecoDet, TGeoMedium * > m_recoMedium
virtual const DetContainer & dets() const =0
Returm a vector of all GeomDet (including all GeomDetUnits)
unsigned int tibModule(const DetId &id) const
const DetContainer & detsTIB() const
TGeoShape * makeEcalShape(const TruncatedPyramid *cell)
TGeoVolume * GetDaughter(TGeoVolume *mother, const char *prefix, ERecoDet cidx, int id)
unsigned int pxbLayer(const DetId &id) const
unsigned int tecModule(const DetId &id) const
const std::vector< const GEMSuperChamber * > & superChambers() const
Return a vector of all GEM super chambers.
const std::vector< ME0EtaPartition const * > & etaPartitions() const
Return a vector of all ME0 eta partitions.
virtual float thickness() const =0
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
int zside() const
get the z-side of the tower (1/-1)
CaloCellGeometry::Pt3D Pt3D
unsigned int tecOrder(const DetId &id) const
unsigned int tobModule(const DetId &id) const
CaloCellGeometry::Pt3DVec Pt3DVec
CornersVec const & getCorners() const
Returns the corner points of this cell's volume.
A base class to handle the particular shape of Ecal Xtals. Taken from ORCA Calorimetry Code...
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
void addPixelForwardGeometry()
FWTGeoRecoGeometryESProducer(const edm::ParameterSet &)
const CaloCellGeometry * getGeometry(const DetId &id) const
Get the cell geometry of a given detector id.
const DetContainer & detsPXF() const
void addHcalCaloGeometryForward()
const DetContainer & detsTOB() const
const RotationType & rotation() const
TGeoVolume * GetTopHolder(const char *prefix, ERecoDet cidx)
int ieta() const
get the tower ieta
unsigned int tobRod(const DetId &id) const
std::shared_ptr< FWTGeoRecoGeometry > m_fwGeometry
const PositionType & position() const
void addHcalCaloGeometryEndcap()
T const * product() const
void addPixelBarrelGeometry()
unsigned int pxfPanel(const DetId &id) const
unsigned int pxfBlade(const DetId &id) const
CaloCellGeometry::Pt3DVec Pt3DVec
TGeoVolume * createVolume(const std::string &name, const GeomDet *det, ERecoDet=kDummy)
const DetContainer & detsTID() const
int zside() const
get the z-side of the crystal (1/-1)
unsigned int tibOrder(const DetId &id) const