1 #ifndef Geometry_TrackerGeometryBuilder_TrackerGeometry_H 2 #define Geometry_TrackerGeometryBuilder_TrackerGeometry_H 36 void addDetUnitId(
DetId p);
71 virtual ~TrackerGeometry() ;
73 const DetTypeContainer&
detTypes()
const {
return theDetTypes;}
76 const DetIdContainer&
detUnitIds()
const {
return theDetUnitIds;}
77 const DetIdContainer&
detIds()
const {
return theDetIds;}
82 unsigned int numberOfLayers(
int subdet)
const;
85 unsigned int offsetDU(SubDetector sid)
const {
return theOffsetDU[sid];}
86 unsigned int endsetDU(SubDetector sid)
const {
return theEndsetDU[sid];}
88 void setOffsetDU(SubDetector sid) { theOffsetDU[sid]=detUnits().size();}
89 void setEndsetDU(SubDetector sid) { theEndsetDU[sid]=detUnits().size();}
104 float getDetectorThickness(
DetId)
const;
116 unsigned int theOffsetDU[6];
117 unsigned int theEndsetDU[6];
132 unsigned int theNumberOfLayers[6];
133 std::vector< std::tuple< DetId, TrackerGeometry::ModuleType, float> >
theDetTypetList;
GeometricDet const * trackerDet() const
Node const * node_pointer
edm::TrieNodeIter< PDet > node_iterator
void setEndsetDU(SubDetector sid)
this class represent the node of a trie, it contains a link to a sub node and a link to a brother (no...
Class to update a given geometry with a set of alignments.
const DetContainer & dets() const
Returm a vector of all GeomDet (including all GeomDetUnits)
0: Unidentified isolated particle
const DetTypeContainer & detTypes() const
Return a vector of all det types.
DetIdContainer theDetUnitIds
DetUnitContainer theDetUnits
unsigned int endsetDU(SubDetector sid) const
mapIdToDetUnit theMapUnit
void setOffsetDU(SubDetector sid)
DetTypeContainer theDetTypes
const DetIdContainer & detUnitIds() const
Returm a vector of all GeomDetUnit DetIds.
unsigned int offsetDU(SubDetector sid) const
edm::Trie< PDet > DetTrie
std::unordered_map< unsigned int, GeomDetUnit const * > mapIdToDetUnit
GeomDetEnumerators::SubDetector SubDetector
const DetIdContainer & detIds() const
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
edm::TrieNode< PDet > Node
std::vector< GeomDet const * > DetContainer
std::vector< GeomDetUnit const * > DetUnitContainer
GeometricDet const * theTrackerDet
std::vector< std::tuple< DetId, TrackerGeometry::ModuleType, float > > theDetTypetList
const DetUnitContainer & detUnits() const
Returm a vector of all GeomDetUnit.