#include <MTDDetLayerGeometry.h>
Public Member Functions | |
const std::vector< const DetLayer * > & | allBackwardLayers () const |
return all endcap layers More... | |
const std::vector< const DetLayer * > & | allBarrelLayers () const |
return all barrel layers More... | |
const std::vector< const DetLayer * > & | allBTLLayers () const |
return the BTL DetLayers (barrel), inside-out More... | |
const std::vector< const DetLayer * > & | allEndcapLayers () const |
return all endcap layers More... | |
const std::vector< const DetLayer * > & | allETLLayers () const |
return the ETL DetLayers (endcap), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allForwardLayers () const |
return all endcap layers More... | |
const std::vector< const DetLayer * > & | allLayers () const |
return all DetLayers (barrel + endcap), -Z to +Z More... | |
void | buildLayers (const MTDGeometry *geo, const MTDTopology *mtopo) |
const DetLayer * | idToLayer (const DetId &detId) const override |
return the DetLayer which correspond to a certain DetId More... | |
MTDDetLayerGeometry () | |
Constructor. More... | |
void | sortLayers () |
~MTDDetLayerGeometry () override | |
Destructor. More... | |
Public Member Functions inherited from DetLayerGeometry | |
DetLayerGeometry () | |
virtual | ~DetLayerGeometry () |
Private Member Functions | |
void | addBTLLayers (const std::vector< DetLayer *> &btllayers) |
void | addETLLayers (const std::pair< std::vector< DetLayer *>, std::vector< DetLayer *> > &etllayers) |
DetId | makeDetLayerId (const DetLayer *detLayer) const |
Private Attributes | |
std::vector< const DetLayer * > | allBackward |
std::vector< const DetLayer * > | allBarrel |
std::vector< const DetLayer * > | allDetLayers |
std::vector< const DetLayer * > | allEndcap |
std::vector< const DetLayer * > | allForward |
std::vector< const DetLayer * > | btlLayers |
std::map< DetId, const DetLayer * > | detLayersMap |
std::vector< const DetLayer * > | etlLayers_all |
std::vector< const DetLayer * > | etlLayers_bk |
std::vector< const DetLayer * > | etlLayers_fw |
Friends | |
class | MTDDetLayerGeometryESProducer |
Provide access to the DetLayers of mip timing detectors.
Definition at line 22 of file MTDDetLayerGeometry.h.
MTDDetLayerGeometry::MTDDetLayerGeometry | ( | ) |
|
override |
|
private |
Definition at line 66 of file MTDDetLayerGeometry.cc.
|
private |
Add ETL layers etllayers.first=forward (+Z), etllayers.second=backward (-Z) both vectors are ASSUMED to be sorted inside-out
Definition at line 50 of file MTDDetLayerGeometry.cc.
const vector< const DetLayer * > & MTDDetLayerGeometry::allBackwardLayers | ( | ) | const |
return all endcap layers
Definition at line 92 of file MTDDetLayerGeometry.cc.
Referenced by GeometricSearchTrackerBuilder::build().
const vector< const DetLayer * > & MTDDetLayerGeometry::allBarrelLayers | ( | ) | const |
return all barrel layers
Definition at line 86 of file MTDDetLayerGeometry.cc.
Referenced by GeometricSearchTrackerBuilder::build().
const vector< const DetLayer * > & MTDDetLayerGeometry::allBTLLayers | ( | ) | const |
return the BTL DetLayers (barrel), inside-out
Definition at line 94 of file MTDDetLayerGeometry.cc.
Referenced by MtdTracksValidation::checkAcceptance(), and TrackExtenderWithMTDT< TrackCollection >::tryBTLLayers().
const vector< const DetLayer * > & MTDDetLayerGeometry::allEndcapLayers | ( | ) | const |
return all endcap layers
Definition at line 88 of file MTDDetLayerGeometry.cc.
const vector< const DetLayer * > & MTDDetLayerGeometry::allETLLayers | ( | ) | const |
return the ETL DetLayers (endcap), -Z to +Z
Definition at line 96 of file MTDDetLayerGeometry.cc.
Referenced by MtdTracksValidation::checkAcceptance(), and TrackExtenderWithMTDT< TrackCollection >::tryETLLayers().
const vector< const DetLayer * > & MTDDetLayerGeometry::allForwardLayers | ( | ) | const |
return all endcap layers
Definition at line 90 of file MTDDetLayerGeometry.cc.
Referenced by GeometricSearchTrackerBuilder::build().
const vector< const DetLayer * > & MTDDetLayerGeometry::allLayers | ( | ) | const |
return all DetLayers (barrel + endcap), -Z to +Z
Definition at line 98 of file MTDDetLayerGeometry.cc.
void MTDDetLayerGeometry::buildLayers | ( | const MTDGeometry * | geo, |
const MTDTopology * | mtopo | ||
) |
Definition at line 30 of file MTDDetLayerGeometry.cc.
References ETLDetLayerGeometryBuilder::buildLayers(), BTLDetLayerGeometryBuilder::buildLayers(), and Exception.
Referenced by GeometricSearchTrackerBuilder::build().
return the DetLayer which correspond to a certain DetId
Reimplemented from DetLayerGeometry.
Definition at line 102 of file MTDDetLayerGeometry.cc.
References hcalRecHitTable_cff::detId, and Exception.
Referenced by GlobalDetLayerGeometry::idToLayer(), and GeometricSearchTracker::idToLayer().
Definition at line 75 of file MTDDetLayerGeometry.cc.
References GeometricSearchDet::basicComponents(), Exception, l1ctLayer2EG_cff::id, DetLayer::subDetector(), GeomDetEnumerators::TimingBarrel, and GeomDetEnumerators::TimingEndcap.
void MTDDetLayerGeometry::sortLayers | ( | ) |
Definition at line 135 of file MTDDetLayerGeometry.cc.
References filterCSVwithJSON::copy, MainPageGenerator::l, precomputed_value_sort(), and groupFilesInBlocks::reverse.
Referenced by GeometricSearchTrackerBuilder::build().
|
friend |
Definition at line 27 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 79 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 81 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 82 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 80 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 78 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 77 of file MTDDetLayerGeometry.h.
Definition at line 84 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 74 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 73 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 72 of file MTDDetLayerGeometry.h.