CMS 3D CMS Logo

MuonBarrelNavigableLayer.h
Go to the documentation of this file.
1 #ifndef Navigation_MuonBarrelNavigableLayer_H
2 #define Navigation_MuonBarrelNavigableLayer_H
3 
19 /* Collaborating Class Declarations */
22 
23 class DetLayer;
24 class BarrelDetLayer;
25 
26 /* Base Class Headers */
28 /* C++ Headers */
29 
30 /* ====================================================================== */
31 
32 /* Class MuonBarrelNavigableLayer Interface */
33 
35 public:
38  const MapB& outerBarrel,
39  const MapB& innerBarrel,
40  const MapE& outerBackward,
41  const MapE& outerForward,
42  const MapE& innerBackward,
43  const MapE& innerForward)
44  : theDetLayer(bdl),
45  theOuterBarrelLayers(outerBarrel),
46  theInnerBarrelLayers(innerBarrel),
47  theOuterBackwardLayers(outerBackward),
48  theInnerBackwardLayers(innerBackward),
49  theOuterForwardLayers(outerForward),
50  theInnerForwardLayers(innerForward) {}
51 
53  const MapB& outerBarrel,
54  const MapB& innerBarrel,
55  const MapE& outerBackward,
56  const MapE& outerForward,
57  const MapE& innerBackward,
58  const MapE& innerForward,
59  const MapB& allOuterBarrel,
60  const MapB& allInnerBarrel,
61  const MapE& allOuterBackward,
62  const MapE& allOuterForward,
63  const MapE& allInnerBackward,
64  const MapE& allInnerForward)
65  : theDetLayer(bdl),
66  theOuterBarrelLayers(outerBarrel),
67  theInnerBarrelLayers(innerBarrel),
68  theOuterBackwardLayers(outerBackward),
69  theInnerBackwardLayers(innerBackward),
70  theOuterForwardLayers(outerForward),
71  theInnerForwardLayers(innerForward),
72  theAllOuterBarrelLayers(allOuterBarrel),
73  theAllInnerBarrelLayers(allInnerBarrel),
74  theAllOuterBackwardLayers(allOuterBackward),
75  theAllInnerBackwardLayers(allInnerBackward),
76  theAllOuterForwardLayers(allOuterForward),
77  theAllInnerForwardLayers(allInnerForward) {}
78 
81  const MapB& outerBarrel,
82  const MapE& outerBackward,
83  const MapE& outerForward)
84  : theDetLayer(bdl),
85  theOuterBarrelLayers(outerBarrel),
86  theOuterBackwardLayers(outerBackward),
87  theOuterForwardLayers(outerForward) {}
88 
90  const MapB& outerBarrel,
91  const MapE& outerBackward,
92  const MapE& outerForward,
93  const MapB& allOuterBarrel,
94  const MapE& allOuterBackward,
95  const MapE& allOuterForward)
96  : theDetLayer(bdl),
97  theOuterBarrelLayers(outerBarrel),
98  theOuterBackwardLayers(outerBackward),
99  theOuterForwardLayers(outerForward),
100  theAllOuterBarrelLayers(allOuterBarrel),
101  theAllOuterBackwardLayers(allOuterBackward),
102  theAllOuterForwardLayers(allOuterForward) {}
103 
105  std::vector<const DetLayer*> nextLayers(NavigationDirection dir) const override;
106 
108  std::vector<const DetLayer*> nextLayers(const FreeTrajectoryState& fts, PropagationDirection dir) const override;
109 
110  std::vector<const DetLayer*> compatibleLayers(NavigationDirection dir) const override;
111 
113  std::vector<const DetLayer*> compatibleLayers(const FreeTrajectoryState& fts,
114  PropagationDirection dir) const override;
115 
117  const DetLayer* detLayer() const override;
118 
120  void setDetLayer(const DetLayer*) override;
121 
128 
135 
137  void setInwardLinks(const MapB&);
138  void setInwardCompatibleLinks(const MapB&);
139 
140 private:
141  void pushResult(std::vector<const DetLayer*>& result, const MapB& map) const;
142 
143  void pushResult(std::vector<const DetLayer*>& result, const MapE& map) const;
144 
145  void pushResult(std::vector<const DetLayer*>& result, const MapB& map, const FreeTrajectoryState& fts) const;
146 
147  void pushResult(std::vector<const DetLayer*>& result, const MapE& map, const FreeTrajectoryState& fts) const;
148  void pushCompatibleResult(std::vector<const DetLayer*>& result,
149  const MapB& map,
150  const FreeTrajectoryState& fts) const;
151 
152  void pushCompatibleResult(std::vector<const DetLayer*>& result,
153  const MapE& map,
154  const FreeTrajectoryState& fts) const;
155 
156 private:
170 };
171 #endif
MuonBarrelNavigableLayer::theInnerForwardLayers
MapE theInnerForwardLayers
Definition: MuonBarrelNavigableLayer.h:163
MuonBarrelNavigableLayer::theOuterBarrelLayers
MapB theOuterBarrelLayers
Definition: MuonBarrelNavigableLayer.h:158
DetLayer
Definition: DetLayer.h:21
MuonNavigableLayer.h
MuonBarrelNavigableLayer::pushCompatibleResult
void pushCompatibleResult(std::vector< const DetLayer * > &result, const MapB &map, const FreeTrajectoryState &fts) const
Definition: MuonBarrelNavigableLayer.cc:127
MuonBarrelNavigableLayer::detLayer
const DetLayer * detLayer() const override
return DetLayer
Definition: MuonBarrelNavigableLayer.cc:145
MuonBarrelNavigableLayer::getInnerBackwardLayers
MapE getInnerBackwardLayers() const
Definition: MuonBarrelNavigableLayer.h:125
MuonBarrelNavigableLayer::theInnerBackwardLayers
MapE theInnerBackwardLayers
Definition: MuonBarrelNavigableLayer.h:161
MuonBarrelNavigableLayer::getInnerBarrelLayers
MapB getInnerBarrelLayers() const
Definition: MuonBarrelNavigableLayer.h:123
MuonBarrelNavigableLayer::getAllOuterForwardLayers
MapE getAllOuterForwardLayers() const
Definition: MuonBarrelNavigableLayer.h:133
MuonBarrelNavigableLayer::getOuterBarrelLayers
MapB getOuterBarrelLayers() const
Definition: MuonBarrelNavigableLayer.h:122
MuonBarrelNavigableLayer::getAllOuterBarrelLayers
MapB getAllOuterBarrelLayers() const
Definition: MuonBarrelNavigableLayer.h:129
MuonEtaRange.h
MuonBarrelNavigableLayer::compatibleLayers
std::vector< const DetLayer * > compatibleLayers(NavigationDirection dir) const override
Definition: MuonBarrelNavigableLayer.cc:65
MuonBarrelNavigableLayer::MuonBarrelNavigableLayer
MuonBarrelNavigableLayer(BarrelDetLayer *bdl, const MapB &outerBarrel, const MapB &innerBarrel, const MapE &outerBackward, const MapE &outerForward, const MapE &innerBackward, const MapE &innerForward)
Constructor.
Definition: MuonBarrelNavigableLayer.h:37
MuonBarrelNavigableLayer::setDetLayer
void setDetLayer(const DetLayer *) override
set DetLayer
Definition: MuonBarrelNavigableLayer.cc:147
MuonBarrelNavigableLayer::theInnerBarrelLayers
MapB theInnerBarrelLayers
Definition: MuonBarrelNavigableLayer.h:159
MuonDetLayerMap.h
MuonBarrelNavigableLayer::theAllOuterForwardLayers
MapE theAllOuterForwardLayers
Definition: MuonBarrelNavigableLayer.h:168
MuonBarrelNavigableLayer::theAllOuterBackwardLayers
MapE theAllOuterBackwardLayers
Definition: MuonBarrelNavigableLayer.h:166
MuonBarrelNavigableLayer::setInwardCompatibleLinks
void setInwardCompatibleLinks(const MapB &)
Definition: MuonBarrelNavigableLayer.cc:152
MuonBarrelNavigableLayer::MuonBarrelNavigableLayer
MuonBarrelNavigableLayer(BarrelDetLayer *bdl, const MapB &outerBarrel, const MapB &innerBarrel, const MapE &outerBackward, const MapE &outerForward, const MapE &innerBackward, const MapE &innerForward, const MapB &allOuterBarrel, const MapB &allInnerBarrel, const MapE &allOuterBackward, const MapE &allOuterForward, const MapE &allInnerBackward, const MapE &allInnerForward)
Definition: MuonBarrelNavigableLayer.h:52
MuonBarrelNavigableLayer
Definition: MuonBarrelNavigableLayer.h:34
MuonBarrelNavigableLayer::getOuterBackwardLayers
MapE getOuterBackwardLayers() const
Definition: MuonBarrelNavigableLayer.h:124
MuonBarrelNavigableLayer::theOuterBackwardLayers
MapE theOuterBackwardLayers
Definition: MuonBarrelNavigableLayer.h:160
MuonBarrelNavigableLayer::getOuterForwardLayers
MapE getOuterForwardLayers() const
Definition: MuonBarrelNavigableLayer.h:126
MuonBarrelNavigableLayer::pushResult
void pushResult(std::vector< const DetLayer * > &result, const MapB &map) const
Definition: MuonBarrelNavigableLayer.cc:101
MuonBarrelNavigableLayer::MuonBarrelNavigableLayer
MuonBarrelNavigableLayer(BarrelDetLayer *bdl, const MapB &outerBarrel, const MapE &outerBackward, const MapE &outerForward)
Constructor with outer layers only.
Definition: MuonBarrelNavigableLayer.h:80
MapB
std::map< const BarrelDetLayer *, MTDEtaRange, MTDDetLayerComp > MapB
Definition: MTDDetLayerMap.h:36
MuonBarrelNavigableLayer::getAllInnerBarrelLayers
MapB getAllInnerBarrelLayers() const
Definition: MuonBarrelNavigableLayer.h:130
MuonBarrelNavigableLayer::MuonBarrelNavigableLayer
MuonBarrelNavigableLayer(const BarrelDetLayer *bdl, const MapB &outerBarrel, const MapE &outerBackward, const MapE &outerForward, const MapB &allOuterBarrel, const MapE &allOuterBackward, const MapE &allOuterForward)
Definition: MuonBarrelNavigableLayer.h:89
MuonBarrelNavigableLayer::setInwardLinks
void setInwardLinks(const MapB &)
set inward links
Definition: MuonBarrelNavigableLayer.cc:151
BarrelDetLayer
Definition: BarrelDetLayer.h:22
MuonBarrelNavigableLayer::getAllInnerForwardLayers
MapE getAllInnerForwardLayers() const
Definition: MuonBarrelNavigableLayer.h:134
MuonBarrelNavigableLayer::nextLayers
std::vector< const DetLayer * > nextLayers(NavigationDirection dir) const override
NavigableLayer interface.
Definition: MuonBarrelNavigableLayer.cc:29
NavigationDirection
NavigationDirection
Definition: NavigationDirection.h:4
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
MuonBarrelNavigableLayer::getInnerForwardLayers
MapE getInnerForwardLayers() const
Definition: MuonBarrelNavigableLayer.h:127
MuonBarrelNavigableLayer::theDetLayer
const BarrelDetLayer * theDetLayer
Definition: MuonBarrelNavigableLayer.h:157
MapE
std::map< const ForwardDetLayer *, MTDEtaRange, MTDDetLayerComp > MapE
Definition: MTDDetLayerMap.h:37
MuonBarrelNavigableLayer::theAllInnerBackwardLayers
MapE theAllInnerBackwardLayers
Definition: MuonBarrelNavigableLayer.h:167
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
MuonBarrelNavigableLayer::theAllOuterBarrelLayers
MapB theAllOuterBarrelLayers
Definition: MuonBarrelNavigableLayer.h:164
mps_fire.result
result
Definition: mps_fire.py:303
MuonNavigableLayer
Definition: MuonNavigableLayer.h:25
genParticles_cff.map
map
Definition: genParticles_cff.py:11
MuonBarrelNavigableLayer::getAllInnerBackwardLayers
MapE getAllInnerBackwardLayers() const
Definition: MuonBarrelNavigableLayer.h:132
MuonBarrelNavigableLayer::theAllInnerBarrelLayers
MapB theAllInnerBarrelLayers
Definition: MuonBarrelNavigableLayer.h:165
MuonBarrelNavigableLayer::getAllOuterBackwardLayers
MapE getAllOuterBackwardLayers() const
Definition: MuonBarrelNavigableLayer.h:131
MuonBarrelNavigableLayer::theOuterForwardLayers
MapE theOuterForwardLayers
Definition: MuonBarrelNavigableLayer.h:162
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
MuonBarrelNavigableLayer::theAllInnerForwardLayers
MapE theAllInnerForwardLayers
Definition: MuonBarrelNavigableLayer.h:169