#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... | |
const DetLayer * | idToLayer (const DetId &detId) const override |
return the DetLayer which correspond to a certain DetId More... | |
MTDDetLayerGeometry () | |
Constructor. More... | |
~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 |
void | sortLayers () |
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 19 of file MTDDetLayerGeometry.h.
MTDDetLayerGeometry::MTDDetLayerGeometry | ( | ) |
|
override |
|
private |
Definition at line 42 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 26 of file MTDDetLayerGeometry.cc.
const vector< const DetLayer * > & MTDDetLayerGeometry::allBackwardLayers | ( | ) | const |
return all endcap layers
Definition at line 68 of file MTDDetLayerGeometry.cc.
Referenced by DirectMTDNavigation::inOutBackward(), MTDNavigationPrinter::MTDNavigationPrinter(), and DirectMTDNavigation::outInBackward().
const vector< const DetLayer * > & MTDDetLayerGeometry::allBarrelLayers | ( | ) | const |
return all barrel layers
Definition at line 62 of file MTDDetLayerGeometry.cc.
Referenced by DirectMTDNavigation::inOutBarrel(), MTDNavigationPrinter::MTDNavigationPrinter(), MTDNavigationSchool::MTDNavigationSchool(), and DirectMTDNavigation::outInBarrel().
const vector< const DetLayer * > & MTDDetLayerGeometry::allBTLLayers | ( | ) | const |
return the BTL DetLayers (barrel), inside-out
Definition at line 70 of file MTDDetLayerGeometry.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::tryBTLLayers().
const vector< const DetLayer * > & MTDDetLayerGeometry::allEndcapLayers | ( | ) | const |
return all endcap layers
Definition at line 64 of file MTDDetLayerGeometry.cc.
Referenced by MTDNavigationSchool::MTDNavigationSchool().
const vector< const DetLayer * > & MTDDetLayerGeometry::allETLLayers | ( | ) | const |
return the ETL DetLayers (endcap), -Z to +Z
Definition at line 72 of file MTDDetLayerGeometry.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::tryETLLayers().
const vector< const DetLayer * > & MTDDetLayerGeometry::allForwardLayers | ( | ) | const |
return all endcap layers
Definition at line 66 of file MTDDetLayerGeometry.cc.
Referenced by DirectMTDNavigation::inOutForward(), MTDNavigationPrinter::MTDNavigationPrinter(), and DirectMTDNavigation::outInForward().
const vector< const DetLayer * > & MTDDetLayerGeometry::allLayers | ( | ) | const |
return all DetLayers (barrel + endcap), -Z to +Z
Definition at line 74 of file MTDDetLayerGeometry.cc.
Referenced by MTDNavigationSchool::MTDNavigationSchool().
return the DetLayer which correspond to a certain DetId
Reimplemented from DetLayerGeometry.
Definition at line 78 of file MTDDetLayerGeometry.cc.
References Exception, MTDDetId::mtdSubDetector(), DetId::rawId(), and DetId::subdetId().
Referenced by GlobalDetLayerGeometry::idToLayer().
Definition at line 51 of file MTDDetLayerGeometry.cc.
References GeometricSearchDet::basicComponents(), Exception, triggerObjects_cff::id, DetLayer::subDetector(), GeomDetEnumerators::TimingBarrel, and GeomDetEnumerators::TimingEndcap.
|
private |
Definition at line 111 of file MTDDetLayerGeometry.cc.
References filterCSVwithJSON::copy, cmsLHEtoEOSManager::l, precomputed_value_sort(), and groupFilesInBlocks::reverse.
|
friend |
Definition at line 24 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 73 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 75 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 76 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 74 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 72 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 71 of file MTDDetLayerGeometry.h.
Definition at line 78 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 68 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 67 of file MTDDetLayerGeometry.h.
|
private |
Definition at line 66 of file MTDDetLayerGeometry.h.