#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 61 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 45 of file MTDDetLayerGeometry.cc.
const vector< const DetLayer * > & MTDDetLayerGeometry::allBackwardLayers | ( | ) | const |
return all endcap layers
Definition at line 87 of file MTDDetLayerGeometry.cc.
Referenced by GeometricSearchTrackerBuilder::build().
const vector< const DetLayer * > & MTDDetLayerGeometry::allBarrelLayers | ( | ) | const |
return all barrel layers
Definition at line 81 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 89 of file MTDDetLayerGeometry.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::tryBTLLayers().
const vector< const DetLayer * > & MTDDetLayerGeometry::allEndcapLayers | ( | ) | const |
const vector< const DetLayer * > & MTDDetLayerGeometry::allETLLayers | ( | ) | const |
return the ETL DetLayers (endcap), -Z to +Z
Definition at line 91 of file MTDDetLayerGeometry.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::tryETLLayers().
const vector< const DetLayer * > & MTDDetLayerGeometry::allForwardLayers | ( | ) | const |
return all endcap layers
Definition at line 85 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 93 of file MTDDetLayerGeometry.cc.
void MTDDetLayerGeometry::buildLayers | ( | const MTDGeometry * | geo, |
const MTDTopology * | mtopo | ||
) |
Definition at line 30 of file MTDDetLayerGeometry.cc.
References BTLDetLayerGeometryBuilder::buildLayers(), and ETLDetLayerGeometryBuilder::buildLayers().
Referenced by GeometricSearchTrackerBuilder::build().
return the DetLayer which correspond to a certain DetId
Reimplemented from DetLayerGeometry.
Definition at line 97 of file MTDDetLayerGeometry.cc.
References Exception, phase1PixelTopology::layer, MTDDetId::mtdSubDetector(), DetId::rawId(), and DetId::subdetId().
Referenced by GlobalDetLayerGeometry::idToLayer(), and GeometricSearchTracker::idToLayer().
Definition at line 70 of file MTDDetLayerGeometry.cc.
References GeometricSearchDet::basicComponents(), Exception, triggerObjects_cff::id, DetLayer::subDetector(), GeomDetEnumerators::TimingBarrel, and GeomDetEnumerators::TimingEndcap.
void MTDDetLayerGeometry::sortLayers | ( | ) |
Definition at line 130 of file MTDDetLayerGeometry.cc.
References filterCSVwithJSON::copy, cmsLHEtoEOSManager::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.