RecoTracker
MeasurementDet
interface
StartingLayerFinder.h
Go to the documentation of this file.
1
#ifndef TkNavigation_StartingLayerFinder_H_
2
#define TkNavigation_StartingLayerFinder_H_
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
FWCore/Framework/interface/EventSetup.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
8
#include "
TrackingTools/DetLayers/interface/DetLayer.h
"
9
#include "
TrackingTools/DetLayers/interface/BarrelDetLayer.h
"
10
#include "
TrackingTools/DetLayers/interface/ForwardDetLayer.h
"
11
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
12
#include "
TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h
"
13
#include "
TrackingTools/GeomPropagators/interface/Propagator.h
"
14
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
15
#include "
RecoTracker/MeasurementDet/interface/MeasurementTracker.h
"
16
#include "
RecoTracker/TkDetLayers/interface/GeometricSearchTracker.h
"
17
18
#include <vector>
19
25
class
StartingLayerFinder
{
26
public
:
27
StartingLayerFinder
(
Propagator
const
& aPropagator,
MeasurementTracker
const
&
tracker
)
28
:
thePropagator
(aPropagator),
29
theMeasurementTracker
(
tracker
),
30
theFirstNegPixelFwdLayer
(0),
31
theFirstPosPixelFwdLayer
(0) {}
32
33
std::vector<const DetLayer*>
operator()
(
const
FreeTrajectoryState
& aFts,
float
dr
,
float
dz
)
const
;
34
35
private
:
36
const
BarrelDetLayer
*
firstPixelBarrelLayer
()
const
;
37
const
std::vector<const ForwardDetLayer*>
firstNegPixelFwdLayer
()
const
;
38
const
std::vector<const ForwardDetLayer*>
firstPosPixelFwdLayer
()
const
;
39
40
Propagator
const
&
thePropagator
;
41
MeasurementTracker
const
&
theMeasurementTracker
;
42
mutable
bool
thePixelLayersValid
=
false
;
43
mutable
const
BarrelDetLayer
*
theFirstPixelBarrelLayer
=
nullptr
;
44
mutable
std::vector<const ForwardDetLayer*>
theFirstNegPixelFwdLayer
;
45
mutable
std::vector<const ForwardDetLayer*>
theFirstPosPixelFwdLayer
;
46
47
void
checkPixelLayers
()
const
;
48
};
49
50
#endif
Propagator.h
TrajectoryStateOnSurface.h
StartingLayerFinder::theMeasurementTracker
MeasurementTracker const & theMeasurementTracker
Definition:
StartingLayerFinder.h:41
StartingLayerFinder::theFirstPixelBarrelLayer
const BarrelDetLayer * theFirstPixelBarrelLayer
Definition:
StartingLayerFinder.h:43
FreeTrajectoryState.h
StartingLayerFinder::firstNegPixelFwdLayer
const std::vector< const ForwardDetLayer * > firstNegPixelFwdLayer() const
Definition:
StartingLayerFinder.cc:83
StartingLayerFinder::thePixelLayersValid
bool thePixelLayersValid
Definition:
StartingLayerFinder.h:42
StartingLayerFinder::theFirstNegPixelFwdLayer
std::vector< const ForwardDetLayer * > theFirstNegPixelFwdLayer
Definition:
StartingLayerFinder.h:44
Propagator
Definition:
Propagator.h:44
MeasurementTracker
Definition:
MeasurementTracker.h:21
GeometricSearchTracker.h
StartingLayerFinder::thePropagator
Propagator const & thePropagator
Definition:
StartingLayerFinder.h:40
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition:
PbPb_ZMuSkimMuonDPG_cff.py:60
Event.h
StartingLayerFinder::firstPixelBarrelLayer
const BarrelDetLayer * firstPixelBarrelLayer() const
Definition:
StartingLayerFinder.cc:78
StartingLayerFinder::StartingLayerFinder
StartingLayerFinder(Propagator const &aPropagator, MeasurementTracker const &tracker)
Definition:
StartingLayerFinder.h:27
BarrelDetLayer.h
StartingLayerFinder::firstPosPixelFwdLayer
const std::vector< const ForwardDetLayer * > firstPosPixelFwdLayer() const
Definition:
StartingLayerFinder.cc:88
TrajectorySeedCollection.h
BarrelDetLayer
Definition:
BarrelDetLayer.h:22
StartingLayerFinder::operator()
std::vector< const DetLayer * > operator()(const FreeTrajectoryState &aFts, float dr, float dz) const
Definition:
StartingLayerFinder.cc:30
FreeTrajectoryState
Definition:
FreeTrajectoryState.h:27
PVValHelper::dz
Definition:
PVValidationHelpers.h:51
ForwardDetLayer.h
flavorHistoryFilter_cfi.dr
dr
Definition:
flavorHistoryFilter_cfi.py:37
DetLayer.h
EventSetup.h
ParameterSet.h
StartingLayerFinder::checkPixelLayers
void checkPixelLayers() const
Definition:
StartingLayerFinder.cc:93
StartingLayerFinder
Definition:
StartingLayerFinder.h:25
MeasurementTracker.h
StartingLayerFinder::theFirstPosPixelFwdLayer
std::vector< const ForwardDetLayer * > theFirstPosPixelFwdLayer
Definition:
StartingLayerFinder.h:45
Generated for CMSSW Reference Manual by
1.8.16