#include <MTDNavigationSchool.h>
Classes | |
struct | delete_layer |
Public Member Functions | |
MTDNavigationSchool (const MTDDetLayerGeometry *, bool enableBTL=true, bool enableETL=true) | |
Constructor. More... | |
StateType | navigableLayers () override |
return navigable layers, from base class More... | |
~MTDNavigationSchool () override | |
Destructor. More... | |
Public Member Functions inherited from NavigationSchool | |
const std::vector< const DetLayer * > & | allLayersInSystem () const |
template<typename... Args> | |
std::vector< const DetLayer * > | compatibleLayers (const DetLayer &detLayer, Args &&...args) const |
Returns all layers compatible. More... | |
NavigationSchool () | |
template<typename... Args> | |
std::vector< const DetLayer * > | nextLayers (const DetLayer &detLayer, Args &&...args) const |
NavigationDirection. More... | |
virtual | ~NavigationSchool () |
Private Member Functions | |
void | addBarrelLayer (const BarrelDetLayer *) |
add barrel layer More... | |
void | addEndcapLayer (const ForwardDetLayer *) |
add endcap layer (backward and forward) More... | |
float | calculateEta (const float &, const float &) const |
calculate pseudorapidity from r and z More... | |
void | createInverseLinks () |
establish inward links More... | |
void | linkBarrelLayers () |
link barrel layers More... | |
void | linkEndcapLayers (const MapE &, std::vector< ETLNavigableLayer * > &) |
link endcap layers More... | |
Private Attributes | |
MapE | theBackwardLayers |
+z endcap More... | |
std::vector< ETLNavigableLayer * > | theBackwardNLC |
MapB | theBarrelLayers |
std::vector< BTLNavigableLayer * > | theBarrelNLC |
-z endcap More... | |
MapE | theForwardLayers |
barrel More... | |
std::vector< ETLNavigableLayer * > | theForwardNLC |
const MTDDetLayerGeometry * | theMTDDetLayerGeometry |
Additional Inherited Members | |
Public Types inherited from NavigationSchool | |
typedef std::vector< NavigableLayer * > | StateType |
Protected Member Functions inherited from NavigationSchool | |
void | setState (const StateType &state) |
Protected Attributes inherited from NavigationSchool | |
const std::vector< const DetLayer * > * | theAllDetLayersInSystem |
StateType | theAllNavigableLayer |
Description: Navigation school for the MTD system This class defines which DetLayers are reacheable from each MTD DetLayer ( BTL and ETL ). The reacheableness is based on an eta range criteria.
Modification:
Description: Navigation school for the MTD system This class defines which DetLayers are reacheable from each MTD DetLayer (BTL and ETL). The reacheableness is based on an eta range criteria.
Modification:
Definition at line 32 of file MTDNavigationSchool.h.
MTDNavigationSchool::MTDNavigationSchool | ( | const MTDDetLayerGeometry * | mtdLayout, |
bool | enableBTL = true , |
||
bool | enableETL = true |
||
) |
Constructor.
Definition at line 34 of file MTDNavigationSchool.cc.
References addBarrelLayer(), addEndcapLayer(), MTDDetLayerGeometry::allBarrelLayers(), MTDDetLayerGeometry::allEndcapLayers(), MTDDetLayerGeometry::allLayers(), Reference_intrackfit_cff::barrel, createInverseLinks(), makeMuonMisalignmentScenario::endcap, Exception, mps_fire::i, linkBarrelLayers(), linkEndcapLayers(), NavigationSchool::theAllDetLayersInSystem, NavigationSchool::theAllNavigableLayer, theBackwardLayers, theBackwardNLC, theForwardLayers, and theForwardNLC.
|
override |
Destructor.
Definition at line 76 of file MTDNavigationSchool.cc.
References theBackwardNLC, theBarrelNLC, and theForwardNLC.
|
private |
add barrel layer
create barrel layer map
Definition at line 112 of file MTDNavigationSchool.cc.
References calculateEta(), MuonTCMETValueMapProducer_cff::eta_max, MuonME0RecHits_cfi::eta_min, TCMET_cfi::radius, BarrelDetLayer::specificSurface(), and theBarrelLayers.
Referenced by MTDNavigationSchool().
|
private |
add endcap layer (backward and forward)
create forwrad/backward layer maps
Definition at line 127 of file MTDNavigationSchool.cc.
References calculateEta(), MuonTCMETValueMapProducer_cff::eta_max, MuonME0RecHits_cfi::eta_min, ForwardDetLayer::specificSurface(), theBackwardLayers, theForwardLayers, and z.
Referenced by MTDNavigationSchool().
|
private |
calculate pseudorapidity from r and z
Definition at line 149 of file MTDNavigationSchool.cc.
References cmsBatch::log, and funct::tan().
Referenced by addBarrelLayer(), and addEndcapLayer().
|
private |
establish inward links
create inverse links (i.e. inwards)
Definition at line 260 of file MTDNavigationSchool.cc.
References BTLNavigableLayer::getAllOuterBackwardLayers(), BTLNavigableLayer::getAllOuterBarrelLayers(), BTLNavigableLayer::getAllOuterForwardLayers(), BTLNavigableLayer::getOuterBackwardLayers(), BTLNavigableLayer::getOuterBarrelLayers(), BTLNavigableLayer::getOuterForwardLayers(), mps_fire::i, navigableLayers(), ETLNavigableLayer::setInwardCompatibleLinks(), BTLNavigableLayer::setInwardCompatibleLinks(), ETLNavigableLayer::setInwardLinks(), BTLNavigableLayer::setInwardLinks(), NavigationSchool::setState(), NavigationSchool::theAllNavigableLayer, theBackwardLayers, theBarrelLayers, and theForwardLayers.
Referenced by MTDNavigationSchool().
|
private |
link barrel layers
linking barrel layers outwards
Definition at line 157 of file MTDNavigationSchool.cc.
References theBackwardLayers, theBarrelLayers, theBarrelNLC, and theForwardLayers.
Referenced by MTDNavigationSchool().
|
private |
link endcap layers
linking forward/backward layers outwards
Definition at line 219 of file MTDNavigationSchool.cc.
References MTDEtaRange::add(), MTDEtaRange::isCompatible(), MTDEtaRange::isInside(), checklumidiff::l, SiStripPI::max, GetRecoTauVFromDQM_MC_cff::next, and MTDEtaRange::subtract().
Referenced by MTDNavigationSchool().
|
overridevirtual |
return navigable layers, from base class
return all Navigable layers
Implements NavigationSchool.
Definition at line 87 of file MTDNavigationSchool.cc.
References cuy::ib, mps_fire::result, theBackwardNLC, theBarrelNLC, and theForwardNLC.
Referenced by createInverseLinks().
|
private |
+z endcap
Definition at line 71 of file MTDNavigationSchool.h.
Referenced by addEndcapLayer(), createInverseLinks(), linkBarrelLayers(), and MTDNavigationSchool().
|
private |
Definition at line 75 of file MTDNavigationSchool.h.
Referenced by MTDNavigationSchool(), navigableLayers(), and ~MTDNavigationSchool().
|
private |
Definition at line 69 of file MTDNavigationSchool.h.
Referenced by addBarrelLayer(), createInverseLinks(), and linkBarrelLayers().
|
private |
-z endcap
Definition at line 73 of file MTDNavigationSchool.h.
Referenced by linkBarrelLayers(), navigableLayers(), and ~MTDNavigationSchool().
|
private |
barrel
Definition at line 70 of file MTDNavigationSchool.h.
Referenced by addEndcapLayer(), createInverseLinks(), linkBarrelLayers(), and MTDNavigationSchool().
|
private |
Definition at line 74 of file MTDNavigationSchool.h.
Referenced by MTDNavigationSchool(), navigableLayers(), and ~MTDNavigationSchool().
|
private |
Definition at line 77 of file MTDNavigationSchool.h.