#include <MuonDetLayerGeometry.h>
Public Member Functions | |
const std::vector< DetLayer * > & | allBackwardLayers () const |
return all backward (-Z) layers (CSC+RPC), inside-out More... | |
const std::vector< DetLayer * > & | allBarrelLayers () const |
return all barrel DetLayers (DT+RPC), inside-out More... | |
const std::vector< DetLayer * > & | allCSCLayers () const |
return the CSC DetLayers (endcap), -Z to +Z More... | |
const std::vector< DetLayer * > & | allDTLayers () const |
return the DT DetLayers (barrel), inside-out More... | |
const std::vector< DetLayer * > & | allEndcapLayers () const |
return all endcap DetLayers (CSC+RPC), -Z to +Z More... | |
const std::vector< DetLayer * > & | allForwardLayers () const |
return all forward (+Z) layers (CSC+RPC), inside-out More... | |
const std::vector< DetLayer * > & | allLayers () const |
return all layers (DT+CSC+RPC), order: backward, barrel, forward More... | |
const std::vector< DetLayer * > & | allRPCLayers () const |
return all RPC DetLayers, order: backward, barrel, forward More... | |
const std::vector< DetLayer * > & | backwardCSCLayers () const |
return the backward (-Z) CSC DetLayers, inside-out More... | |
const std::vector< DetLayer * > & | backwardRPCLayers () const |
return the backward (-Z) RPC DetLayers, inside-out More... | |
const std::vector< DetLayer * > & | barrelRPCLayers () const |
return the barrel RPC DetLayers, inside-out More... | |
const std::vector< DetLayer * > & | endcapRPCLayers () const |
return the endcap RPC DetLayers, -Z to +Z More... | |
const std::vector< DetLayer * > & | forwardCSCLayers () const |
return the forward (+Z) CSC DetLayers, inside-out More... | |
const std::vector< DetLayer * > & | forwardRPCLayers () const |
return the forward (+Z) RPC DetLayers, inside-out More... | |
virtual const DetLayer * | idToLayer (const DetId &detId) const |
return the DetLayer which correspond to a certain DetId More... | |
MuonDetLayerGeometry () | |
Constructor. More... | |
virtual | ~MuonDetLayerGeometry () |
Destructor. More... | |
Public Member Functions inherited from DetLayerGeometry | |
DetLayerGeometry () | |
Private Member Functions | |
void | addCSCLayers (std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > csclayers) |
void | addDTLayers (std::vector< DetLayer * > dtlayers) |
void | addRPCLayers (std::vector< DetLayer * > barrelRPCLayers, std::pair< std::vector< DetLayer * >, std::vector< DetLayer * > > endcapRPCLayers) |
DetId | makeDetLayerId (const DetLayer *detLayer) const |
void | sortLayers () |
Private Attributes | |
std::vector< DetLayer * > | allBackward |
std::vector< DetLayer * > | allBarrel |
std::vector< DetLayer * > | allDetLayers |
std::vector< DetLayer * > | allEndcap |
std::vector< DetLayer * > | allForward |
std::vector< DetLayer * > | cscLayers_all |
std::vector< DetLayer * > | cscLayers_bk |
std::vector< DetLayer * > | cscLayers_fw |
std::map< DetId, DetLayer * > | detLayersMap |
std::vector< DetLayer * > | dtLayers |
std::vector< DetLayer * > | rpcLayers_all |
std::vector< DetLayer * > | rpcLayers_barrel |
std::vector< DetLayer * > | rpcLayers_bk |
std::vector< DetLayer * > | rpcLayers_endcap |
std::vector< DetLayer * > | rpcLayers_fw |
Friends | |
class | MuonDetLayerGeometryESProducer |
Provide access to the DetLayers of muon detectors.
Definition at line 20 of file MuonDetLayerGeometry.h.
MuonDetLayerGeometry::MuonDetLayerGeometry | ( | ) |
|
virtual |
Destructor.
Definition at line 26 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 33 of file MuonDetLayerGeometry.cc.
Referenced by MuonDetLayerGeometryESProducer::produce().
|
private |
Definition at line 93 of file MuonDetLayerGeometry.cc.
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 57 of file MuonDetLayerGeometry.cc.
Referenced by MuonDetLayerGeometryESProducer::produce().
const vector< DetLayer * > & MuonDetLayerGeometry::allBackwardLayers | ( | ) | const |
return all backward (-Z) layers (CSC+RPC), inside-out
Definition at line 213 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter().
const vector< DetLayer * > & MuonDetLayerGeometry::allBarrelLayers | ( | ) | const |
return all barrel DetLayers (DT+RPC), inside-out
Definition at line 196 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter(), MuonNavigationSchool::MuonNavigationSchool(), and MuonTkNavigationSchool::MuonTkNavigationSchool().
const vector< DetLayer * > & MuonDetLayerGeometry::allCSCLayers | ( | ) | const |
return the CSC DetLayers (endcap), -Z to +Z
Definition at line 142 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationSchool::MuonNavigationSchool().
const vector< DetLayer * > & MuonDetLayerGeometry::allDTLayers | ( | ) | const |
return the DT DetLayers (barrel), inside-out
Definition at line 137 of file MuonDetLayerGeometry.cc.
Referenced by MuonSeedBuilder::build(), MuonNavigationPrinter::MuonNavigationPrinter(), and MuonNavigationSchool::MuonNavigationSchool().
const vector< DetLayer * > & MuonDetLayerGeometry::allEndcapLayers | ( | ) | const |
return all endcap DetLayers (CSC+RPC), -Z to +Z
Definition at line 201 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationSchool::MuonNavigationSchool(), and MuonTkNavigationSchool::MuonTkNavigationSchool().
const vector< DetLayer * > & MuonDetLayerGeometry::allForwardLayers | ( | ) | const |
return all forward (+Z) layers (CSC+RPC), inside-out
Definition at line 207 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationPrinter::MuonNavigationPrinter().
const vector< DetLayer * > & MuonDetLayerGeometry::allLayers | ( | ) | const |
return all layers (DT+CSC+RPC), order: backward, barrel, forward
Definition at line 190 of file MuonDetLayerGeometry.cc.
Referenced by MuonNavigationSchool::MuonNavigationSchool(), and MuonTkNavigationSchool::MuonTkNavigationSchool().
const vector< DetLayer * > & MuonDetLayerGeometry::allRPCLayers | ( | ) | const |
return all RPC DetLayers, order: backward, barrel, forward
Definition at line 160 of file MuonDetLayerGeometry.cc.
const vector< DetLayer * > & MuonDetLayerGeometry::backwardCSCLayers | ( | ) | const |
return the backward (-Z) CSC DetLayers, inside-out
Definition at line 154 of file MuonDetLayerGeometry.cc.
Referenced by MuonSeedBuilder::build(), and MuonNavigationPrinter::MuonNavigationPrinter().
const vector< DetLayer * > & MuonDetLayerGeometry::backwardRPCLayers | ( | ) | const |
return the backward (-Z) RPC DetLayers, inside-out
Definition at line 184 of file MuonDetLayerGeometry.cc.
const vector< DetLayer * > & MuonDetLayerGeometry::barrelRPCLayers | ( | ) | const |
return the barrel RPC DetLayers, inside-out
Definition at line 166 of file MuonDetLayerGeometry.cc.
const vector< DetLayer * > & MuonDetLayerGeometry::endcapRPCLayers | ( | ) | const |
return the endcap RPC DetLayers, -Z to +Z
Definition at line 172 of file MuonDetLayerGeometry.cc.
const vector< DetLayer * > & MuonDetLayerGeometry::forwardCSCLayers | ( | ) | const |
return the forward (+Z) CSC DetLayers, inside-out
Definition at line 148 of file MuonDetLayerGeometry.cc.
Referenced by MuonSeedBuilder::build(), and MuonNavigationPrinter::MuonNavigationPrinter().
const vector< DetLayer * > & MuonDetLayerGeometry::forwardRPCLayers | ( | ) | const |
return the forward (+Z) RPC DetLayers, inside-out
Definition at line 178 of file MuonDetLayerGeometry.cc.
return the DetLayer which correspond to a certain DetId
Reimplemented from DetLayerGeometry.
Definition at line 217 of file MuonDetLayerGeometry.cc.
References MuonSubdetId::CSC, CSCDetId, MuonSubdetId::DT, DTChamberId, edm::hlt::Exception, errorMatrix2Lands_multiChannel::id, DetId::rawId(), MuonSubdetId::RPC, RPCDetId, and DetId::subdetId().
Referenced by GlobalDetLayerGeometry::idToLayer().
Definition at line 105 of file MuonDetLayerGeometry.cc.
References GeometricSearchDet::basicComponents(), GeomDetEnumerators::CSC, CSCDetId, GeomDetEnumerators::DT, DTChamberId, Reference_intrackfit_cff::endcap, edm::hlt::Exception, errorMatrix2Lands_multiChannel::id, relativeConstraints::ring, GeomDetEnumerators::RPCBarrel, RPCDetId, GeomDetEnumerators::RPCEndcap, relativeConstraints::station, and DetLayer::subDetector().
|
private |
Definition at line 265 of file MuonDetLayerGeometry.cc.
References filterCSVwithJSON::copy, and precomputed_value_sort().
Referenced by MuonDetLayerGeometryESProducer::produce().
|
friend |
Definition at line 26 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 105 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 107 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 108 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 106 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 104 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 97 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 96 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 95 of file MuonDetLayerGeometry.h.
Definition at line 110 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 103 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 98 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 102 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 101 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 99 of file MuonDetLayerGeometry.h.
|
private |
Definition at line 100 of file MuonDetLayerGeometry.h.