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 17 of file MTDGeometry.h.

Member Enumeration Documentation

Enumerator
UNKNOWN 
BTL 
ETL 

Definition at line 19 of file MTDGeometry.h.

19  {
20  UNKNOWN,
21  BTL,
22  ETL,
23  };
0: Unidentified isolated particle
Definition: ParticleCode.h:19

Constructor & Destructor Documentation

MTDGeometry::~MTDGeometry ( )
override

Definition at line 107 of file MTDGeometry.cc.

References edmIntegrityCheck::d, theDets, and theDetTypes.

107  {
108  for (auto d : theDets) delete const_cast<GeomDet*>(d);
109  for (auto d : theDetTypes) delete const_cast<GeomDetType*>(d);
110 }
DetTypeContainer theDetTypes
Definition: MTDGeometry.h:75
DetContainer theDets
Definition: MTDGeometry.h:79
MTDGeometry::MTDGeometry ( GeometricTimingDet const *  gd = 0)
explicitprivate

Definition at line 39 of file MTDGeometry.cc.

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

Member Function Documentation

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

Definition at line 138 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().

138  {
139  // set index
140  const_cast<GeomDet *>(p)->setGdetIndex(theDets.size());
141  theDets.emplace_back(p); // add to vector
142  theMap.insert(std::make_pair(p->geographicalId().rawId(),p));
143  MTDDetId id(p->geographicalId());
144  switch(id.mtdSubDetector()){
145  case MTDDetId::BTL:
146  theBTLDets.emplace_back(p);
147  break;
148  case MTDDetId::ETL:
149  theETLDets.emplace_back(p);
150  break;
151  default:
152  edm::LogError("MTDGeometry")<<"ERROR - I was expecting a MTD Subdetector, I got a "<<id.mtdSubDetector();
153  }
154 }
DetContainer theBTLDets
Definition: MTDGeometry.h:85
DetContainer theDets
Definition: MTDGeometry.h:79
Detector identifier base class for the MIP Timing Layer.
Definition: MTDDetId.h:21
mapIdToDet theMap
Definition: MTDGeometry.h:83
DetContainer theETLDets
Definition: MTDGeometry.h:86
void MTDGeometry::addDetId ( DetId  p)
private

Definition at line 156 of file MTDGeometry.cc.

References theDetIds.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildGeomDet().

156  {
157  theDetIds.emplace_back(p);
158 }
DetIdContainer theDetIds
Definition: MTDGeometry.h:81
void MTDGeometry::addDetUnit ( GeomDet const *  p)
private

Definition at line 127 of file MTDGeometry.cc.

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

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().

127  {
128  // set index
129  const_cast<GeomDet *>(p)->setIndex(theDetUnits.size());
130  theDetUnits.emplace_back(p); // add to vector
131  theMapUnit.emplace(p->geographicalId().rawId(),p);
132 }
DetContainer theDetUnits
Definition: MTDGeometry.h:76
mapIdToDetUnit theMapUnit
Definition: MTDGeometry.h:82
void MTDGeometry::addDetUnitId ( DetId  p)
private

Definition at line 134 of file MTDGeometry.cc.

References theDetUnitIds.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().

134  {
135  theDetUnitIds.emplace_back(p);
136 }
DetIdContainer theDetUnitIds
Definition: MTDGeometry.h:80
void MTDGeometry::addType ( GeomDetType const *  p)
private

Definition at line 123 of file MTDGeometry.cc.

References theDetTypes.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().

123  {
124  theDetTypes.emplace_back(p); // add to vector
125 }
DetTypeContainer theDetTypes
Definition: MTDGeometry.h:75
const DetIdContainer& MTDGeometry::detIds ( ) const
inlineoverridevirtual

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

Implements TrackingGeometry.

Definition at line 31 of file MTDGeometry.h.

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

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

Returm a vector of all GeomDet (including all GeomDetUnits)

Implements TrackingGeometry.

Definition at line 29 of file MTDGeometry.h.

References theDets.

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

Definition at line 162 of file MTDGeometry.cc.

References theBTLDets.

Referenced by trackerDet().

163 {
164  return theBTLDets;
165 }
DetContainer theBTLDets
Definition: MTDGeometry.h:85
const MTDGeometry::DetContainer & MTDGeometry::detsETL ( ) const

Definition at line 168 of file MTDGeometry.cc.

References theETLDets.

Referenced by trackerDet().

169 {
170  return theETLDets;
171 }
DetContainer theETLDets
Definition: MTDGeometry.h:86
const DetTypeContainer& MTDGeometry::detTypes ( ) const
inlineoverridevirtual

Return a vector of all det types.

Implements TrackingGeometry.

Definition at line 27 of file MTDGeometry.h.

References theDetTypes.

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

Returm a vector of all GeomDetUnit DetIds.

Implements TrackingGeometry.

Definition at line 30 of file MTDGeometry.h.

References theDetUnitIds.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildGeomDet().

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

Returm a vector of all GeomDet.

Implements TrackingGeometry.

Definition at line 28 of file MTDGeometry.h.

References theDetUnits.

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

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

Definition at line 40 of file MTDGeometry.h.

References theEndsetDU.

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

Definition at line 219 of file MTDGeometry.cc.

References GeometricTimingDet::bounds(), DDName::fullname(), GeometricTimingDet::geographicalId(), moduleType(), dataset::name, GeometricTimingDet::name(), AlCaHLTBitMon_QueryRunRegistry::string, lumiQTWidget::t, groupFilesInBlocks::temp, and theDetTypetList.

Referenced by MTDGeometry(), and setEndsetDU().

219  {
220 
221  std::string temp = gd->name().fullname();
222  std::string name = temp.substr(temp.find(":")+1);
223  DetId detid = gd->geographicalId();
224  float thickness = gd->bounds()->thickness();
225  std::string nameTag;
226  MTDGeometry::ModuleType mtype = moduleType(name);
227  if (theDetTypetList.empty()) {
228  theDetTypetList.emplace_back(detid, mtype, thickness);
229  } else {
230  auto & t = (*(theDetTypetList.end()-1));
231  if (std::get<1>(t) != mtype) theDetTypetList.emplace_back(detid, mtype, thickness);
232  else {
233  if ( detid > std::get<0>(t) ) std::get<0>(t) = detid;
234  }
235  }
236 }
DetId geographicalId() const
ModuleType moduleType(const std::string &name) const
Definition: MTDGeometry.cc:256
std::unique_ptr< Bounds > bounds() const
const std::string fullname() const
Definition: DDName.h:43
Definition: DetId.h:18
DDName const & name() const
std::vector< std::tuple< DetId, MTDGeometry::ModuleType, float > > theDetTypetList
Definition: MTDGeometry.h:90
void MTDGeometry::finalize ( void  )
private

Definition at line 112 of file MTDGeometry.cc.

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

112  {
113  theDetTypes.shrink_to_fit(); // owns the DetTypes
114  theDetUnits.shrink_to_fit(); // they're all also into 'theDets', so we assume 'theDets' owns them
115  theDets.shrink_to_fit(); // owns *ONLY* the GeomDet * corresponding to GluedDets.
116  theDetUnitIds.shrink_to_fit();
117  theDetIds.shrink_to_fit();
118 
119  theBTLDets.shrink_to_fit(); // not owned: they're also in 'theDets'
120  theETLDets.shrink_to_fit(); // not owned: they're also in 'theDets'
121 }
DetIdContainer theDetUnitIds
Definition: MTDGeometry.h:80
DetContainer theBTLDets
Definition: MTDGeometry.h:85
DetTypeContainer theDetTypes
Definition: MTDGeometry.h:75
DetContainer theDetUnits
Definition: MTDGeometry.h:76
DetContainer theDets
Definition: MTDGeometry.h:79
DetIdContainer theDetIds
Definition: MTDGeometry.h:81
DetContainer theETLDets
Definition: MTDGeometry.h:86
const GeomDetEnumerators::SubDetector MTDGeometry::geomDetSubDetector ( int  subdet) const

Definition at line 194 of file MTDGeometry.cc.

References Exception, and theSubDetTypeMap.

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

194  {
195  if(subdet>=1 && subdet<=2) {
196  return theSubDetTypeMap[subdet-1];
197  } else {
198  throw cms::Exception("WrongTrackerSubDet") << "Subdetector " << subdet;
199  }
200 }
GeomDetEnumerators::SubDetector theSubDetTypeMap[2]
Definition: MTDGeometry.h:88
float MTDGeometry::getDetectorThickness ( DetId  detid) const

Definition at line 247 of file MTDGeometry.cc.

References DetId::rawId(), and theDetTypetList.

Referenced by trackerDet().

247  {
248  for (auto iVal : theDetTypetList) {
249  DetId detid_max = std::get<0>(iVal);
250  if (detid.rawId() <= detid_max.rawId())
251  return std::get<2>(iVal);
252  }
253  return -1.0;
254 }
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
Definition: DetId.h:18
std::vector< std::tuple< DetId, MTDGeometry::ModuleType, float > > theDetTypetList
Definition: MTDGeometry.h:90
MTDGeometry::ModuleType MTDGeometry::getDetectorType ( DetId  detid) const

Definition at line 238 of file MTDGeometry.cc.

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

Referenced by trackerDet().

238  {
239  for (auto iVal : theDetTypetList) {
240  DetId detid_max = std::get<0>(iVal);
241  MTDGeometry::ModuleType mtype = std::get<1>(iVal);
242  if (detid.rawId() <= detid_max.rawId()) return mtype;
243  }
245 }
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
Definition: DetId.h:18
std::vector< std::tuple< DetId, MTDGeometry::ModuleType, float > > theDetTypetList
Definition: MTDGeometry.h:90
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 174 of file MTDGeometry.cc.

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

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

175 {
176  mapIdToDetUnit::const_iterator p=theMapUnit.find(s.rawId());
177  if (p != theMapUnit.end()) {
178  return static_cast<const MTDGeomDet *>(p->second);
179  }
180  return nullptr;
181 }
mapIdToDetUnit theMapUnit
Definition: MTDGeometry.h:82
bool MTDGeometry::isThere ( GeomDetEnumerators::SubDetector  subdet) const

Definition at line 212 of file MTDGeometry.cc.

References geomDetSubDetector(), and mps_fire::i.

Referenced by detIds().

212  {
213  for(unsigned int i=1;i<=2;++i) {
214  if(subdet == geomDetSubDetector(i)) return true;
215  }
216  return false;
217 }
const GeomDetEnumerators::SubDetector geomDetSubDetector(int subdet) const
Definition: MTDGeometry.cc:194
MTDGeometry::ModuleType MTDGeometry::moduleType ( const std::string &  name) const

Definition at line 256 of file MTDGeometry.cc.

References BTL, ETL, and UNKNOWN.

Referenced by fillTestMap(), and setEndsetDU().

256  {
257  if ( name.find("Timing") != std::string::npos ){
258  if ( name.find("BModule") != std::string::npos ) return ModuleType::BTL;
259  else if ( name.find("EModule") != std::string::npos ) return ModuleType::ETL;
260  }
261  return ModuleType::UNKNOWN;
262 }
unsigned int MTDGeometry::numberOfLayers ( int  subdet) const

Definition at line 203 of file MTDGeometry.cc.

References Exception, and theNumberOfLayers.

Referenced by detIds(), and MTDGeometry().

203  {
204  if(subdet>=1 && subdet<=2) {
205  return theNumberOfLayers[subdet-1];
206  } else {
207  throw cms::Exception("WrongTrackerSubDet") << "Subdetector " << subdet;
208  }
209 }
unsigned int theNumberOfLayers[2]
Definition: MTDGeometry.h:89
unsigned int MTDGeometry::offsetDU ( unsigned  sid) const
inline

Definition at line 39 of file MTDGeometry.h.

References theOffsetDU.

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

Definition at line 43 of file MTDGeometry.h.

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

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().

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

Definition at line 42 of file MTDGeometry.h.

References detUnits(), and theOffsetDU.

Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().

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

Definition at line 48 of file MTDGeometry.h.

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

48 {return theTrackerDet;}
GeometricTimingDet const * theTrackerDet
Definition: MTDGeometry.h:70

Friends And Related Function Documentation

friend class GeometryAligner
friend

Aligner has access to map.

Definition at line 73 of file MTDGeometry.h.

Definition at line 61 of file MTDGeometry.h.

Member Data Documentation

DetContainer MTDGeometry::theBTLDets
private

Definition at line 85 of file MTDGeometry.h.

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

DetIdContainer MTDGeometry::theDetIds
private

Definition at line 81 of file MTDGeometry.h.

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

DetContainer MTDGeometry::theDets
private

Definition at line 79 of file MTDGeometry.h.

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

DetTypeContainer MTDGeometry::theDetTypes
private

Definition at line 75 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 90 of file MTDGeometry.h.

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

DetIdContainer MTDGeometry::theDetUnitIds
private

Definition at line 80 of file MTDGeometry.h.

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

DetContainer MTDGeometry::theDetUnits
private

Definition at line 76 of file MTDGeometry.h.

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

unsigned int MTDGeometry::theEndsetDU[2]
private

Definition at line 78 of file MTDGeometry.h.

Referenced by endsetDU(), and setEndsetDU().

DetContainer MTDGeometry::theETLDets
private

Definition at line 86 of file MTDGeometry.h.

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

mapIdToDet MTDGeometry::theMap
private

Definition at line 83 of file MTDGeometry.h.

Referenced by addDet(), and idToDet().

mapIdToDetUnit MTDGeometry::theMapUnit
private

Definition at line 82 of file MTDGeometry.h.

Referenced by addDetUnit(), and idToDetUnit().

unsigned int MTDGeometry::theNumberOfLayers[2]
private

Definition at line 89 of file MTDGeometry.h.

Referenced by MTDGeometry(), and numberOfLayers().

unsigned int MTDGeometry::theOffsetDU[2]
private

Definition at line 77 of file MTDGeometry.h.

Referenced by offsetDU(), and setOffsetDU().

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

Definition at line 88 of file MTDGeometry.h.

Referenced by geomDetSubDetector(), and MTDGeometry().

GeometricTimingDet const* MTDGeometry::theTrackerDet
private

Definition at line 70 of file MTDGeometry.h.

Referenced by trackerDet().