CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
MTDGeometry Class Referencefinal

#include <MTDGeometry.h>

Inheritance diagram for MTDGeometry:
TrackingGeometry

Public Types

enum  ModuleType { ModuleType::UNKNOWN, ModuleType::BTL, ModuleType::ETL }
 
using SubDetector = GeomDetEnumerators::SubDetector
 
- Public Types inherited from TrackingGeometry
using DetContainer = std::vector< const GeomDet * >
 
using DetIdContainer = std::vector< DetId >
 
using DetTypeContainer = std::vector< const GeomDetType * >
 
using mapIdToDet = std::unordered_map< unsigned int, const GeomDet * >
 
using mapIdToDetUnit = std::unordered_map< unsigned int, const GeomDet * >
 

Public Member Functions

const DetIdContainerdetIds () const override
 Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More...
 
const DetContainerdets () const override
 Returm a vector of all GeomDet (including all GeomDetUnits) More...
 
const DetContainerdetsBTL () const
 
const DetContainerdetsETL () const
 
const DetTypeContainerdetTypes () const override
 Return a vector of all det types. More...
 
const DetIdContainerdetUnitIds () const override
 Returm a vector of all GeomDetUnit DetIds. More...
 
const DetContainerdetUnits () const override
 Returm a vector of all GeomDet. More...
 
unsigned int endsetDU (unsigned sid) const
 
void fillTestMap (const GeometricTimingDet *gd)
 
const GeomDetEnumerators::SubDetector geomDetSubDetector (int subdet) const
 
float getDetectorThickness (DetId) const
 
ModuleType getDetectorType (DetId) const
 
const MTDGeomDetidToDet (DetId) const override
 
const MTDGeomDetidToDetUnit (DetId) const override
 Return the pointer to the GeomDetUnit corresponding to a given DetId. More...
 
bool isThere (GeomDetEnumerators::SubDetector subdet) const
 
ModuleType moduleType (const std::string &name) const
 
unsigned int numberOfLayers (int subdet) const
 
unsigned int offsetDU (unsigned sid) const
 
void setEndsetDU (unsigned sid)
 
void setOffsetDU (unsigned sid)
 
GeometricTimingDet const * trackerDet () const
 
 ~MTDGeometry () override
 
- Public Member Functions inherited from TrackingGeometry
virtual ~TrackingGeometry ()
 Destructor. More...
 

Private Member Functions

void addDet (GeomDet const *p)
 
void addDetId (DetId p)
 
void addDetUnit (GeomDet const *p)
 
void addDetUnitId (DetId p)
 
void addType (GeomDetType const *p)
 
void finalize ()
 
 MTDGeometry (GeometricTimingDet const *gd=0)
 

Private Attributes

DetContainer theBTLDets
 
DetIdContainer theDetIds
 
DetContainer theDets
 
DetTypeContainer theDetTypes
 
std::vector< std::tuple< DetId, MTDGeometry::ModuleType, float > > theDetTypetList
 
DetIdContainer theDetUnitIds
 
DetContainer theDetUnits
 
unsigned int theEndsetDU [2]
 
DetContainer theETLDets
 
mapIdToDet theMap
 
mapIdToDetUnit theMapUnit
 
unsigned int theNumberOfLayers [2]
 
unsigned int theOffsetDU [2]
 
GeomDetEnumerators::SubDetector theSubDetTypeMap [2]
 
GeometricTimingDet const * theTrackerDet
 

Friends

class GeometryAligner
 Aligner has access to map. More...
 
class MTDGeomBuilderFromGeometricTimingDet
 

Detailed Description

A specific MTD Builder which builds MTD from a list of DetUnits. Pattern recognition is used to discover layers, rings etc.

Definition at line 14 of file MTDGeometry.h.

Member Typedef Documentation

Definition at line 16 of file MTDGeometry.h.

Member Enumeration Documentation

Enumerator
UNKNOWN 
BTL 
ETL 

Definition at line 18 of file MTDGeometry.h.

18  {
19  UNKNOWN,
20  BTL,
21  ETL,
22  };

Constructor & Destructor Documentation

MTDGeometry::~MTDGeometry ( )
override

Definition at line 97 of file MTDGeometry.cc.

References ztail::d, theDets, and theDetTypes.

97  {
98  for (auto d : theDets)
99  delete const_cast<GeomDet*>(d);
100  for (auto d : theDetTypes)
101  delete const_cast<GeomDetType*>(d);
102 }
DetTypeContainer theDetTypes
Definition: MTDGeometry.h:72
DetContainer theDets
Definition: MTDGeometry.h:76
d
Definition: ztail.py:151
MTDGeometry::MTDGeometry ( GeometricTimingDet const *  gd = 0)
explicitprivate

Definition at line 40 of file MTDGeometry.cc.

References GeometricTimingDet::components(), hcal2_dqm_sourceclient-live_cfg::debugstr, TauDecayModes::dec, GeometricTimingDet::deepComponents(), fillTestMap(), geomDetSubDetector(), mps_fire::i, GeomDetEnumerators::invalidDet, LogDebug, LogTrace, MTDDetId::mtdSubDetector(), numberOfLayers(), theDetTypetList, theNumberOfLayers, and theSubDetTypeMap.

Referenced by trackerDet().

40  : theTrackerDet(gd) {
41  for (unsigned int i = 0; i < 2; ++i) {
43  theNumberOfLayers[i] = 0;
44  }
45  GeometricTimingDet::ConstGeometricTimingDetContainer subdetgd = gd->components();
46 
47  LogDebug("BuildingSubDetTypeMap") << "GeometricTimingDet and GeomDetEnumerators enumerator values of the subdetectors"
48  << std::endl;
49  for (unsigned int i = 0; i < subdetgd.size(); ++i) {
50  MTDDetId mtdid(subdetgd[i]->geographicalId());
51  assert(mtdid.mtdSubDetector() > 0 && mtdid.mtdSubDetector() < 3);
52  theSubDetTypeMap[mtdid.mtdSubDetector() - 1] = geometricDetToGeomDet(subdetgd[i]->type());
53  theNumberOfLayers[mtdid.mtdSubDetector() - 1] = subdetgd[i]->components().size();
54  LogTrace("BuildingSubDetTypeMap").log([&](auto& debugstr) {
55  debugstr << "subdet " << i << " Geometric Det type " << subdetgd[i]->type() << " Geom Det type "
56  << theSubDetTypeMap[mtdid.mtdSubDetector() - 1] << " detid " << std::hex
57  << subdetgd[i]->geographicalId().rawId() << std::dec << " subdetid " << mtdid.mtdSubDetector()
58  << " number of layers " << subdetgd[i]->components().size() << std::endl;
59  });
60  }
61  LogDebug("SubDetTypeMapContent").log([&](auto& debugstr) {
62  debugstr << "Content of theSubDetTypeMap" << std::endl;
63  for (unsigned int i = 1; i <= 2; ++i) {
64  debugstr << " detid subdet " << i << " Geom Det type " << geomDetSubDetector(i) << std::endl;
65  }
66  });
67  LogDebug("NumberOfLayers").log([&](auto& debugstr) {
68  debugstr << "Content of theNumberOfLayers" << std::endl;
69  for (unsigned int i = 1; i <= 2; ++i) {
70  debugstr << " detid subdet " << i << " number of layers " << numberOfLayers(i) << std::endl;
71  }
72  });
73  std::vector<const GeometricTimingDet*> deepcomp;
74  gd->deepComponents(deepcomp);
75 
76  sort(deepcomp.begin(), deepcomp.end(), DetIdComparator());
77 
78  LogDebug("ThicknessAndType") << " Total Number of Detectors " << deepcomp.size() << std::endl;
79  LogDebug("ThicknessAndType") << "Dump of sensors names and bounds" << std::endl;
80  LogDebug("ThicknessAndType").log([&](auto& debugstr) {
81  for (auto det : deepcomp) {
82  fillTestMap(det);
83  debugstr << std::hex << det->geographicalId().rawId() << std::dec << " " << det->name() << " "
84  << det->bounds()->thickness();
85  }
86  });
87  LogDebug("DetTypeList").log([&](auto& debugstr) {
88  debugstr << " Content of DetTypetList : size " << theDetTypetList.size() << std::endl;
89  for (auto iVal : theDetTypetList) {
90  debugstr << " DetId " << std::get<0>(iVal).rawId() << " Type "
91  << static_cast<std::underlying_type<MTDGeometry::ModuleType>::type>(std::get<1>(iVal)) << " Thickness "
92  << std::get<2>(iVal) << std::endl;
93  }
94  });
95 }
#define LogDebug(id)
type
Definition: HCALResponse.h:21
GeometricTimingDet const * theTrackerDet
Definition: MTDGeometry.h:67
unsigned int theNumberOfLayers[2]
Definition: MTDGeometry.h:86
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
unsigned int numberOfLayers(int subdet) const
Definition: MTDGeometry.cc:176
#define LogTrace(id)
const GeomDetEnumerators::SubDetector geomDetSubDetector(int subdet) const
Definition: MTDGeometry.cc:168
void fillTestMap(const GeometricTimingDet *gd)
Definition: MTDGeometry.cc:192
GeomDetEnumerators::SubDetector theSubDetTypeMap[2]
Definition: MTDGeometry.h:85
std::vector< GeometricTimingDet const * > ConstGeometricTimingDetContainer
std::vector< std::tuple< DetId, MTDGeometry::ModuleType, float > > theDetTypetList
Definition: MTDGeometry.h:87

Member Function Documentation

void MTDGeometry::addDet ( GeomDet const *  p)
private

Definition at line 128 of file MTDGeometry.cc.

References MTDDetId::BTL, MTDDetId::ETL, GeomDet::geographicalId(), triggerObjects_cff::id, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), theBTLDets, theDets, theETLDets, and theMap.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildGeomDet().

128  {
129  // set index
130  const_cast<GeomDet*>(p)->setGdetIndex(theDets.size());
131  theDets.emplace_back(p); // add to vector
132  theMap.insert(std::make_pair(p->geographicalId().rawId(), p));
133  MTDDetId id(p->geographicalId());
134  switch (id.mtdSubDetector()) {
135  case MTDDetId::BTL:
136  theBTLDets.emplace_back(p);
137  break;
138  case MTDDetId::ETL:
139  theETLDets.emplace_back(p);
140  break;
141  default:
142  edm::LogError("MTDGeometry") << "ERROR - I was expecting a MTD Subdetector, I got a " << id.mtdSubDetector();
143  }
144 }
DetContainer theBTLDets
Definition: MTDGeometry.h:82
DetContainer theDets
Definition: MTDGeometry.h:76
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
mapIdToDet theMap
Definition: MTDGeometry.h:80
DetContainer theETLDets
Definition: MTDGeometry.h:83
void MTDGeometry::addDetId ( DetId  p)
private

Definition at line 146 of file MTDGeometry.cc.

References theDetIds.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildGeomDet().

146 { theDetIds.emplace_back(p); }
DetIdContainer theDetIds
Definition: MTDGeometry.h:78
void MTDGeometry::addDetUnit ( GeomDet const *  p)
private

Definition at line 119 of file MTDGeometry.cc.

References GeomDet::geographicalId(), AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), theDetUnits, and theMapUnit.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().

119  {
120  // set index
121  const_cast<GeomDet*>(p)->setIndex(theDetUnits.size());
122  theDetUnits.emplace_back(p); // add to vector
123  theMapUnit.emplace(p->geographicalId().rawId(), p);
124 }
DetContainer theDetUnits
Definition: MTDGeometry.h:73
mapIdToDetUnit theMapUnit
Definition: MTDGeometry.h:79
void MTDGeometry::addDetUnitId ( DetId  p)
private

Definition at line 126 of file MTDGeometry.cc.

References theDetUnitIds.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().

126 { theDetUnitIds.emplace_back(p); }
DetIdContainer theDetUnitIds
Definition: MTDGeometry.h:77
void MTDGeometry::addType ( GeomDetType const *  p)
private

Definition at line 115 of file MTDGeometry.cc.

References theDetTypes.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().

115  {
116  theDetTypes.emplace_back(p); // add to vector
117 }
DetTypeContainer theDetTypes
Definition: MTDGeometry.h:72
const DetIdContainer& MTDGeometry::detIds ( ) const
inlineoverridevirtual

Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)

Implements TrackingGeometry.

Definition at line 30 of file MTDGeometry.h.

References geomDetSubDetector(), idToDet(), idToDetUnit(), isThere(), numberOfLayers(), and theDetIds.

30 { return theDetIds; }
DetIdContainer theDetIds
Definition: MTDGeometry.h:78
const DetContainer& MTDGeometry::dets ( ) const
inlineoverridevirtual

Returm a vector of all GeomDet (including all GeomDetUnits)

Implements TrackingGeometry.

Definition at line 28 of file MTDGeometry.h.

References theDets.

28 { return theDets; }
DetContainer theDets
Definition: MTDGeometry.h:76
const MTDGeometry::DetContainer & MTDGeometry::detsBTL ( ) const

Definition at line 148 of file MTDGeometry.cc.

References theBTLDets.

Referenced by trackerDet().

148 { return theBTLDets; }
DetContainer theBTLDets
Definition: MTDGeometry.h:82
const MTDGeometry::DetContainer & MTDGeometry::detsETL ( ) const

Definition at line 150 of file MTDGeometry.cc.

References theETLDets.

Referenced by trackerDet().

150 { return theETLDets; }
DetContainer theETLDets
Definition: MTDGeometry.h:83
const DetTypeContainer& MTDGeometry::detTypes ( ) const
inlineoverridevirtual

Return a vector of all det types.

Implements TrackingGeometry.

Definition at line 26 of file MTDGeometry.h.

References theDetTypes.

26 { return theDetTypes; }
DetTypeContainer theDetTypes
Definition: MTDGeometry.h:72
const DetIdContainer& MTDGeometry::detUnitIds ( ) const
inlineoverridevirtual

Returm a vector of all GeomDetUnit DetIds.

Implements TrackingGeometry.

Definition at line 29 of file MTDGeometry.h.

References theDetUnitIds.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildGeomDet().

29 { return theDetUnitIds; }
DetIdContainer theDetUnitIds
Definition: MTDGeometry.h:77
const DetContainer& MTDGeometry::detUnits ( ) const
inlineoverridevirtual

Returm a vector of all GeomDet.

Implements TrackingGeometry.

Definition at line 27 of file MTDGeometry.h.

References theDetUnits.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildGeomDet(), MTDCPEBase::fillDetParams(), setEndsetDU(), and setOffsetDU().

27 { return theDetUnits; }
DetContainer theDetUnits
Definition: MTDGeometry.h:73
unsigned int MTDGeometry::endsetDU ( unsigned  sid) const
inline

Definition at line 39 of file MTDGeometry.h.

References theEndsetDU.

39 { return theEndsetDU[sid]; }
unsigned int theEndsetDU[2]
Definition: MTDGeometry.h:75
void MTDGeometry::fillTestMap ( const GeometricTimingDet gd)

Definition at line 192 of file MTDGeometry.cc.

References GeometricTimingDet::bounds(), GeometricTimingDet::geographicalId(), moduleType(), Skims_PA_cff::name, GeometricTimingDet::name(), AlCaHLTBitMon_QueryRunRegistry::string, OrderedSet::t, groupFilesInBlocks::temp, theDetTypetList, and Calorimetry_cff::thickness.

Referenced by MTDGeometry(), and setEndsetDU().

192  {
193  const std::string& temp = gd->name();
194  std::string name = temp.substr(temp.find(":") + 1);
195  DetId detid = gd->geographicalId();
196  float thickness = gd->bounds()->thickness();
197  std::string nameTag;
198  MTDGeometry::ModuleType mtype = moduleType(name);
199  if (theDetTypetList.empty()) {
200  theDetTypetList.emplace_back(detid, mtype, thickness);
201  } else {
202  auto& t = (*(theDetTypetList.end() - 1));
203  if (std::get<1>(t) != mtype)
204  theDetTypetList.emplace_back(detid, mtype, thickness);
205  else {
206  if (detid > std::get<0>(t))
207  std::get<0>(t) = detid;
208  }
209  }
210 }
DetId geographicalId() const
ModuleType moduleType(const std::string &name) const
Definition: MTDGeometry.cc:231
std::unique_ptr< Bounds > bounds() const
Definition: DetId.h:17
std::string const & name() const
std::vector< std::tuple< DetId, MTDGeometry::ModuleType, float > > theDetTypetList
Definition: MTDGeometry.h:87
void MTDGeometry::finalize ( void  )
private

Definition at line 104 of file MTDGeometry.cc.

References theBTLDets, theDetIds, theDets, theDetTypes, theDetUnitIds, theDetUnits, and theETLDets.

104  {
105  theDetTypes.shrink_to_fit(); // owns the DetTypes
106  theDetUnits.shrink_to_fit(); // they're all also into 'theDets', so we assume 'theDets' owns them
107  theDets.shrink_to_fit(); // owns *ONLY* the GeomDet * corresponding to GluedDets.
108  theDetUnitIds.shrink_to_fit();
109  theDetIds.shrink_to_fit();
110 
111  theBTLDets.shrink_to_fit(); // not owned: they're also in 'theDets'
112  theETLDets.shrink_to_fit(); // not owned: they're also in 'theDets'
113 }
DetIdContainer theDetUnitIds
Definition: MTDGeometry.h:77
DetContainer theBTLDets
Definition: MTDGeometry.h:82
DetTypeContainer theDetTypes
Definition: MTDGeometry.h:72
DetContainer theDetUnits
Definition: MTDGeometry.h:73
DetContainer theDets
Definition: MTDGeometry.h:76
DetIdContainer theDetIds
Definition: MTDGeometry.h:78
DetContainer theETLDets
Definition: MTDGeometry.h:83
const GeomDetEnumerators::SubDetector MTDGeometry::geomDetSubDetector ( int  subdet) const

Definition at line 168 of file MTDGeometry.cc.

References Exception, and theSubDetTypeMap.

Referenced by detIds(), isThere(), and MTDGeometry().

168  {
169  if (subdet >= 1 && subdet <= 2) {
170  return theSubDetTypeMap[subdet - 1];
171  } else {
172  throw cms::Exception("WrongTrackerSubDet") << "Subdetector " << subdet;
173  }
174 }
GeomDetEnumerators::SubDetector theSubDetTypeMap[2]
Definition: MTDGeometry.h:85
float MTDGeometry::getDetectorThickness ( DetId  detid) const

Definition at line 222 of file MTDGeometry.cc.

References DetId::rawId(), and theDetTypetList.

Referenced by trackerDet().

222  {
223  for (auto iVal : theDetTypetList) {
224  DetId detid_max = std::get<0>(iVal);
225  if (detid.rawId() <= detid_max.rawId())
226  return std::get<2>(iVal);
227  }
228  return -1.0;
229 }
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
Definition: DetId.h:17
std::vector< std::tuple< DetId, MTDGeometry::ModuleType, float > > theDetTypetList
Definition: MTDGeometry.h:87
MTDGeometry::ModuleType MTDGeometry::getDetectorType ( DetId  detid) const

Definition at line 212 of file MTDGeometry.cc.

References DetId::rawId(), theDetTypetList, and UNKNOWN.

Referenced by trackerDet().

212  {
213  for (auto iVal : theDetTypetList) {
214  DetId detid_max = std::get<0>(iVal);
215  MTDGeometry::ModuleType mtype = std::get<1>(iVal);
216  if (detid.rawId() <= detid_max.rawId())
217  return mtype;
218  }
220 }
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
Definition: DetId.h:17
std::vector< std::tuple< DetId, MTDGeometry::ModuleType, float > > theDetTypetList
Definition: MTDGeometry.h:87
const MTDGeomDet * MTDGeometry::idToDet ( DetId  ) const
overridevirtual
const MTDGeomDet * MTDGeometry::idToDetUnit ( DetId  ) const
overridevirtual

Return the pointer to the GeomDetUnit corresponding to a given DetId.

Implements TrackingGeometry.

Definition at line 152 of file MTDGeometry.cc.

References AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), and theMapUnit.

Referenced by detIds(), and MTDTrackingRecHitProducer::run().

152  {
153  mapIdToDetUnit::const_iterator p = theMapUnit.find(s.rawId());
154  if (p != theMapUnit.end()) {
155  return static_cast<const MTDGeomDet*>(p->second);
156  }
157  return nullptr;
158 }
mapIdToDetUnit theMapUnit
Definition: MTDGeometry.h:79
bool MTDGeometry::isThere ( GeomDetEnumerators::SubDetector  subdet) const

Definition at line 184 of file MTDGeometry.cc.

References geomDetSubDetector(), and mps_fire::i.

Referenced by detIds().

184  {
185  for (unsigned int i = 1; i <= 2; ++i) {
186  if (subdet == geomDetSubDetector(i))
187  return true;
188  }
189  return false;
190 }
const GeomDetEnumerators::SubDetector geomDetSubDetector(int subdet) const
Definition: MTDGeometry.cc:168
MTDGeometry::ModuleType MTDGeometry::moduleType ( const std::string &  name) const

Definition at line 231 of file MTDGeometry.cc.

References BTL, ETL, and UNKNOWN.

Referenced by fillTestMap(), and setEndsetDU().

231  {
232  if (name.find("Timing") != std::string::npos) {
233  if (name.find("BModule") != std::string::npos)
234  return ModuleType::BTL;
235  else if (name.find("EModule") != std::string::npos)
236  return ModuleType::ETL;
237  }
238  return ModuleType::UNKNOWN;
239 }
unsigned int MTDGeometry::numberOfLayers ( int  subdet) const

Definition at line 176 of file MTDGeometry.cc.

References Exception, and theNumberOfLayers.

Referenced by detIds(), and MTDGeometry().

176  {
177  if (subdet >= 1 && subdet <= 2) {
178  return theNumberOfLayers[subdet - 1];
179  } else {
180  throw cms::Exception("WrongTrackerSubDet") << "Subdetector " << subdet;
181  }
182 }
unsigned int theNumberOfLayers[2]
Definition: MTDGeometry.h:86
unsigned int MTDGeometry::offsetDU ( unsigned  sid) const
inline

Definition at line 38 of file MTDGeometry.h.

References theOffsetDU.

38 { return theOffsetDU[sid]; }
unsigned int theOffsetDU[2]
Definition: MTDGeometry.h:74
void MTDGeometry::setEndsetDU ( unsigned  sid)
inline

Definition at line 42 of file MTDGeometry.h.

References detUnits(), fillTestMap(), moduleType(), Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and theEndsetDU.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().

42 { theEndsetDU[sid] = detUnits().size(); }
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
Definition: MTDGeometry.h:27
unsigned int theEndsetDU[2]
Definition: MTDGeometry.h:75
void MTDGeometry::setOffsetDU ( unsigned  sid)
inline

Definition at line 41 of file MTDGeometry.h.

References detUnits(), and theOffsetDU.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().

41 { theOffsetDU[sid] = detUnits().size(); }
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
Definition: MTDGeometry.h:27
unsigned int theOffsetDU[2]
Definition: MTDGeometry.h:74
GeometricTimingDet const* MTDGeometry::trackerDet ( ) const
inline

Definition at line 47 of file MTDGeometry.h.

References detsBTL(), detsETL(), getDetectorThickness(), getDetectorType(), MTDGeometry(), and theTrackerDet.

47 { return theTrackerDet; }
GeometricTimingDet const * theTrackerDet
Definition: MTDGeometry.h:67

Friends And Related Function Documentation

friend class GeometryAligner
friend

Aligner has access to map.

Definition at line 70 of file MTDGeometry.h.

Definition at line 58 of file MTDGeometry.h.

Member Data Documentation

DetContainer MTDGeometry::theBTLDets
private

Definition at line 82 of file MTDGeometry.h.

Referenced by addDet(), detsBTL(), and finalize().

DetIdContainer MTDGeometry::theDetIds
private

Definition at line 78 of file MTDGeometry.h.

Referenced by addDetId(), detIds(), and finalize().

DetContainer MTDGeometry::theDets
private

Definition at line 76 of file MTDGeometry.h.

Referenced by addDet(), dets(), finalize(), and ~MTDGeometry().

DetTypeContainer MTDGeometry::theDetTypes
private

Definition at line 72 of file MTDGeometry.h.

Referenced by addType(), detTypes(), finalize(), and ~MTDGeometry().

std::vector<std::tuple<DetId, MTDGeometry::ModuleType, float> > MTDGeometry::theDetTypetList
private

Definition at line 87 of file MTDGeometry.h.

Referenced by fillTestMap(), getDetectorThickness(), getDetectorType(), and MTDGeometry().

DetIdContainer MTDGeometry::theDetUnitIds
private

Definition at line 77 of file MTDGeometry.h.

Referenced by addDetUnitId(), detUnitIds(), and finalize().

DetContainer MTDGeometry::theDetUnits
private

Definition at line 73 of file MTDGeometry.h.

Referenced by addDetUnit(), detUnits(), and finalize().

unsigned int MTDGeometry::theEndsetDU[2]
private

Definition at line 75 of file MTDGeometry.h.

Referenced by endsetDU(), and setEndsetDU().

DetContainer MTDGeometry::theETLDets
private

Definition at line 83 of file MTDGeometry.h.

Referenced by addDet(), detsETL(), and finalize().

mapIdToDet MTDGeometry::theMap
private

Definition at line 80 of file MTDGeometry.h.

Referenced by addDet(), and idToDet().

mapIdToDetUnit MTDGeometry::theMapUnit
private

Definition at line 79 of file MTDGeometry.h.

Referenced by addDetUnit(), and idToDetUnit().

unsigned int MTDGeometry::theNumberOfLayers[2]
private

Definition at line 86 of file MTDGeometry.h.

Referenced by MTDGeometry(), and numberOfLayers().

unsigned int MTDGeometry::theOffsetDU[2]
private

Definition at line 74 of file MTDGeometry.h.

Referenced by offsetDU(), and setOffsetDU().

GeomDetEnumerators::SubDetector MTDGeometry::theSubDetTypeMap[2]
private

Definition at line 85 of file MTDGeometry.h.

Referenced by geomDetSubDetector(), and MTDGeometry().

GeometricTimingDet const* MTDGeometry::theTrackerDet
private

Definition at line 67 of file MTDGeometry.h.

Referenced by trackerDet().