#include <MuonDetLayerGeometry.h>
Public Member Functions | |
const std::vector< const DetLayer * > & | allBackwardLayers () const |
return all backward (-Z) layers (CSC+RPC+GEM+ME0), inside-out More... | |
const std::vector< const DetLayer * > & | allBarrelLayers () const |
return all barrel DetLayers (DT+RPC), inside-out More... | |
const std::vector< const DetLayer * > & | allCscGemBackwardLayers () const |
return all endcap DetLayers (CSC+GEM), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allCscGemForwardLayers () const |
return all endcap DetLayers (CSC+GEM), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allCSCLayers () const |
return the CSC DetLayers (endcap), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allCscME0BackwardLayers () const |
return all endcap DetLayers (CSC+ME0), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allCscME0ForwardLayers () const |
return all endcap DetLayers (CSC+ME0), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allDTLayers () const |
return the DT DetLayers (barrel), inside-out More... | |
const std::vector< const DetLayer * > & | allEndcapCscGemLayers () const |
return all endcap DetLayers (CSC+GEM), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allEndcapCscME0Layers () const |
return all endcap DetLayers (CSC+ME0), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allEndcapLayers () const |
return all endcap DetLayers (CSC+RPC+GEM+ME0), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allForwardLayers () const |
return all forward (+Z) layers (CSC+RPC+GEM+ME0), inside-out More... | |
const std::vector< const DetLayer * > & | allGEMLayers () const |
return the GEM DetLayers (endcap), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allLayers () const |
return all layers (DT+CSC+RPC+GEM), order: backward, barrel, forward More... | |
const std::vector< const DetLayer * > & | allME0Layers () const |
return the ME0 DetLayers (endcap), -Z to +Z More... | |
const std::vector< const DetLayer * > & | allRPCLayers () const |
return all RPC DetLayers, order: backward, barrel, forward More... | |
const std::vector< const DetLayer * > & | backwardCSCLayers () const |
return the backward (-Z) CSC DetLayers, inside-out More... | |
const std::vector< const DetLayer * > & | backwardGEMLayers () const |
return the backward (-Z) GEM DetLayers, inside-out More... | |
const std::vector< const DetLayer * > & | backwardME0Layers () const |
return the backward (-Z) ME0 DetLayers, inside-out More... | |
const std::vector< const DetLayer * > & | backwardRPCLayers () const |
return the backward (-Z) RPC DetLayers, inside-out More... | |
const std::vector< const DetLayer * > & | barrelRPCLayers () const |
return the barrel RPC DetLayers, inside-out More... | |
const std::vector< const DetLayer * > & | endcapRPCLayers () const |
return the endcap RPC DetLayers, -Z to +Z More... | |
const std::vector< const DetLayer * > & | forwardCSCLayers () const |
return the forward (+Z) CSC DetLayers, inside-out More... | |
const std::vector< const DetLayer * > & | forwardGEMLayers () const |
return the forward (+Z) GEM DetLayers, inside-out More... | |
const std::vector< const DetLayer * > & | forwardME0Layers () const |
return the forward (+Z) ME0 DetLayers, inside-out More... | |
const std::vector< const DetLayer * > & | forwardRPCLayers () const |
return the forward (+Z) RPC DetLayers, inside-out More... | |
virtual const DetLayer * | idToLayer (const DetId &detId) const override |
return the DetLayer which correspond to a certain DetId More... | |
MuonDetLayerGeometry () | |
Constructor. More... | |
virtual | ~MuonDetLayerGeometry () |
Destructor. More... | |
Public Member Functions inherited from DetLayerGeometry | |
DetLayerGeometry () | |
virtual | ~DetLayerGeometry () |
Private Member Functions | |
void | addCSCLayers (const std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > &csclayers) |
void | addDTLayers (const std::vector< DetLayer * > &dtlayers) |
void | addGEMLayers (const std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > &gemlayers) |
void | addME0Layers (const std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > &gemlayers) |
void | addRPCLayers (const std::vector< DetLayer * > &barrelRPCLayers, const std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > &endcapRPCLayers) |
DetId | makeDetLayerId (const DetLayer *detLayer) const |
void | sortLayers () |
Private Attributes | |
std::vector< const DetLayer * > | allBackward |
std::vector< const DetLayer * > | allBarrel |
std::vector< const DetLayer * > | allCscGemBackward |
std::vector< const DetLayer * > | allCscGemForward |
std::vector< const DetLayer * > | allCscME0Backward |
std::vector< const DetLayer * > | allCscME0Forward |
std::vector< const DetLayer * > | allDetLayers |
std::vector< const DetLayer * > | allEndcap |
std::vector< const DetLayer * > | allEndcapCscGem |
std::vector< const DetLayer * > | allEndcapCscME0 |
std::vector< const DetLayer * > | allForward |
std::vector< const DetLayer * > | cscLayers_all |
std::vector< const DetLayer * > | cscLayers_bk |
std::vector< const DetLayer * > | cscLayers_fw |
std::map< DetId, const DetLayer * > | detLayersMap |
std::vector< const DetLayer * > | dtLayers |
std::vector< const DetLayer * > | gemLayers_all |
std::vector< const DetLayer * > | gemLayers_bk |
std::vector< const DetLayer * > | gemLayers_fw |
std::vector< const DetLayer * > | me0Layers_all |
std::vector< const DetLayer * > | me0Layers_bk |
std::vector< const DetLayer * > | me0Layers_fw |
std::vector< const DetLayer * > | rpcLayers_all |
std::vector< const DetLayer * > | rpcLayers_barrel |
std::vector< const DetLayer * > | rpcLayers_bk |
std::vector< const DetLayer * > | rpcLayers_endcap |
std::vector< const DetLayer * > | rpcLayers_fw |
Friends | |
class | MuonDetLayerGeometryESProducer |
Provide access to the DetLayers of muon detectors.
by R. Radogna & C. Calabria & A. Sharma by D. Nash
Definition at line 21 of file MuonDetLayerGeometry.h.
MuonDetLayerGeometry::MuonDetLayerGeometry | ( | ) |
|
virtual |
Destructor.
Definition at line 30 of file MuonDetLayerGeometry.cc.
|
private |
Add CSC layers csclayers.first=forward (+Z), csclayers.second=backward (-Z) both vectors are ASSUMED to be sorted inside-out
Definition at line 37 of file MuonDetLayerGeometry.cc.
Referenced by MuonDetLayerGeometryESProducer::produce().
|
private |
Definition at line 115 of file MuonDetLayerGeometry.cc.
Referenced by MuonDetLayerGeometryESProducer::produce().
|
private |
Add GEM layers gemlayers.first=forward (+Z), gemlayers.second=backward (-Z) both vectors are ASSUMED to be sorted inside-out
Definition at line 54 of file MuonDetLayerGeometry.cc.
References LogDebug.
Referenced by MuonDetLayerGeometryESProducer::produce().
|
private |
Add ME0 layers gemlayers.first=forward (+Z), gemlayers.second=backward (-Z) both vectors are ASSUMED to be sorted inside-out
Definition at line 71 of file MuonDetLayerGeometry.cc.
References LogDebug.
Referenced by MuonDetLayerGeometryESProducer::produce().
|
private |
Add RPC layers endcapRPCLayers.first=forward (+Z), endcapRPCLayers.second=backward (-Z) All three vectors are ASSUMED to be sorted inside-out
Definition at line 91 of file MuonDetLayerGeometry.cc.
Referenced by MuonDetLayerGeometryESProducer::produce().
const vector< const DetLayer * > & MuonDetLayerGeometry::allBackwardLayers | ( | ) | const |
return all backward (-Z) layers (CSC+RPC+GEM+ME0), inside-out
Definition at line 282 of file MuonDetLayerGeometry.cc.
Referenced by DirectMuonNavigation::inOutBackward(), MuonNavigationPrinter::MuonNavigationPrinter(), and DirectMuonNavigation::outInBackward().
const vector< const DetLayer * > & MuonDetLayerGeometry::allBarrelLayers | ( | ) | const |
return all barrel DetLayers (DT+RPC), inside-out
Definition at line 265 of file MuonDetLayerGeometry.cc.
Referenced by DirectMuonNavigation::inOutBarrel(), MuonNavigationPrinter::MuonNavigationPrinter(), MuonNavigationSchool::MuonNavigationSchool(), and DirectMuonNavigation::outInBarrel().
const vector< const DetLayer * > & MuonDetLayerGeometry::allCscGemBackwardLayers | ( | ) | const |
return all endcap DetLayers (CSC+GEM), -Z to +Z
Definition at line 301 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter().
const vector< const DetLayer * > & MuonDetLayerGeometry::allCscGemForwardLayers | ( | ) | const |
return all endcap DetLayers (CSC+GEM), -Z to +Z
Definition at line 295 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter().
const vector< const DetLayer * > & MuonDetLayerGeometry::allCSCLayers | ( | ) | const |
return the CSC DetLayers (endcap), -Z to +Z
Definition at line 170 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationSchool::MuonNavigationSchool().
const vector< const DetLayer * > & MuonDetLayerGeometry::allCscME0BackwardLayers | ( | ) | const |
return all endcap DetLayers (CSC+ME0), -Z to +Z
Definition at line 320 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter().
const vector< const DetLayer * > & MuonDetLayerGeometry::allCscME0ForwardLayers | ( | ) | const |
return all endcap DetLayers (CSC+ME0), -Z to +Z
Definition at line 314 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter().
const vector< const DetLayer * > & MuonDetLayerGeometry::allDTLayers | ( | ) | const |
return the DT DetLayers (barrel), inside-out
Definition at line 165 of file MuonDetLayerGeometry.cc.
Referenced by MuonSeedBuilder::build(), PropagateToMuon::extrapolate(), PropagateToMuon::init(), MuonNavigationPrinter::MuonNavigationPrinter(), MuonNavigationSchool::MuonNavigationSchool(), MuonSeedOrcaPatternRecognition::produce(), and PropagateToMuon::startingState().
const vector< const DetLayer * > & MuonDetLayerGeometry::allEndcapCscGemLayers | ( | ) | const |
return all endcap DetLayers (CSC+GEM), -Z to +Z
Definition at line 289 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationSchool::MuonNavigationSchool().
const vector< const DetLayer * > & MuonDetLayerGeometry::allEndcapCscME0Layers | ( | ) | const |
return all endcap DetLayers (CSC+ME0), -Z to +Z
Definition at line 308 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationSchool::MuonNavigationSchool().
const vector< const DetLayer * > & MuonDetLayerGeometry::allEndcapLayers | ( | ) | const |
return all endcap DetLayers (CSC+RPC+GEM+ME0), -Z to +Z
Definition at line 270 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationSchool::MuonNavigationSchool().
const vector< const DetLayer * > & MuonDetLayerGeometry::allForwardLayers | ( | ) | const |
return all forward (+Z) layers (CSC+RPC+GEM+ME0), inside-out
Definition at line 276 of file MuonDetLayerGeometry.cc.
Referenced by DirectMuonNavigation::inOutForward(), MuonNavigationPrinter::MuonNavigationPrinter(), and DirectMuonNavigation::outInForward().
const vector< const DetLayer * > & MuonDetLayerGeometry::allGEMLayers | ( | ) | const |
return the GEM DetLayers (endcap), -Z to +Z
Definition at line 188 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationSchool::MuonNavigationSchool().
const vector< const DetLayer * > & MuonDetLayerGeometry::allLayers | ( | ) | const |
return all layers (DT+CSC+RPC+GEM), order: backward, barrel, forward
Definition at line 259 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationSchool::MuonNavigationSchool().
const vector< const DetLayer * > & MuonDetLayerGeometry::allME0Layers | ( | ) | const |
return the ME0 DetLayers (endcap), -Z to +Z
Definition at line 210 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationSchool::MuonNavigationSchool().
const vector< const DetLayer * > & MuonDetLayerGeometry::allRPCLayers | ( | ) | const |
return all RPC DetLayers, order: backward, barrel, forward
Definition at line 229 of file MuonDetLayerGeometry.cc.
const vector< const DetLayer * > & MuonDetLayerGeometry::backwardCSCLayers | ( | ) | const |
return the backward (-Z) CSC DetLayers, inside-out
Definition at line 182 of file MuonDetLayerGeometry.cc.
Referenced by MuonSeedBuilder::build(), PropagateToMuon::extrapolate(), PropagateToMuon::init(), MuonNavigationPrinter::MuonNavigationPrinter(), MuonSeedOrcaPatternRecognition::produce(), and PropagateToMuon::startingState().
const vector< const DetLayer * > & MuonDetLayerGeometry::backwardGEMLayers | ( | ) | const |
return the backward (-Z) GEM DetLayers, inside-out
Definition at line 200 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter().
const vector< const DetLayer * > & MuonDetLayerGeometry::backwardME0Layers | ( | ) | const |
return the backward (-Z) ME0 DetLayers, inside-out
Definition at line 222 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter().
const vector< const DetLayer * > & MuonDetLayerGeometry::backwardRPCLayers | ( | ) | const |
return the backward (-Z) RPC DetLayers, inside-out
Definition at line 253 of file MuonDetLayerGeometry.cc.
const vector< const DetLayer * > & MuonDetLayerGeometry::barrelRPCLayers | ( | ) | const |
return the barrel RPC DetLayers, inside-out
Definition at line 235 of file MuonDetLayerGeometry.cc.
const vector< const DetLayer * > & MuonDetLayerGeometry::endcapRPCLayers | ( | ) | const |
return the endcap RPC DetLayers, -Z to +Z
Definition at line 241 of file MuonDetLayerGeometry.cc.
const vector< const DetLayer * > & MuonDetLayerGeometry::forwardCSCLayers | ( | ) | const |
return the forward (+Z) CSC DetLayers, inside-out
Definition at line 176 of file MuonDetLayerGeometry.cc.
Referenced by MuonSeedBuilder::build(), PropagateToMuon::extrapolate(), PropagateToMuon::init(), MuonNavigationPrinter::MuonNavigationPrinter(), MuonSeedOrcaPatternRecognition::produce(), and PropagateToMuon::startingState().
const vector< const DetLayer * > & MuonDetLayerGeometry::forwardGEMLayers | ( | ) | const |
return the forward (+Z) GEM DetLayers, inside-out
Definition at line 194 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter().
const vector< const DetLayer * > & MuonDetLayerGeometry::forwardME0Layers | ( | ) | const |
return the forward (+Z) ME0 DetLayers, inside-out
Definition at line 216 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter().
const vector< const DetLayer * > & MuonDetLayerGeometry::forwardRPCLayers | ( | ) | const |
return the forward (+Z) RPC DetLayers, inside-out
Definition at line 247 of file MuonDetLayerGeometry.cc.
return the DetLayer which correspond to a certain DetId
Reimplemented from DetLayerGeometry.
Definition at line 327 of file MuonDetLayerGeometry.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, Exception, MuonSubdetId::GEM, hcalTTPDigis_cfi::id, LogDebug, MuonSubdetId::ME0, DetId::rawId(), MuonSubdetId::RPC, and DetId::subdetId().
Referenced by GlobalDetLayerGeometry::idToLayer().
Definition at line 125 of file MuonDetLayerGeometry.cc.
References GeometricSearchDet::basicComponents(), GeomDetEnumerators::CSC, GeomDetEnumerators::DT, makeMuonMisalignmentScenario::endcap, Exception, GeomDetEnumerators::GEM, hcalTTPDigis_cfi::id, GeomDetEnumerators::ME0, relativeConstraints::ring, GeomDetEnumerators::RPCBarrel, GeomDetEnumerators::RPCEndcap, relativeConstraints::station, and DetLayer::subDetector().
|
private |
Definition at line 385 of file MuonDetLayerGeometry.cc.
References popcon2dropbox::copy(), checklumidiff::l, precomputed_value_sort(), and groupFilesInBlocks::reverse.
Referenced by MuonDetLayerGeometryESProducer::produce().
|
friend |
Definition at line 27 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 193 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 195 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 202 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 201 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 211 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 210 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 196 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 194 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 200 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 209 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 192 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 170 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 169 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 168 of file MuonDetLayerGeometry.h.
Definition at line 216 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 191 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 176 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 175 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 174 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 182 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 181 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 180 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 186 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 190 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 189 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 187 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 188 of file MuonDetLayerGeometry.h.