CMS 3D CMS Logo

ConversionTrackFinder.h
Go to the documentation of this file.
1 #ifndef RecoEGAMMA_ConversionTrack_ConversionTrackFinder_h
2 #define RecoEGAMMA_ConversionTrack_ConversionTrackFinder_h
3 
15 //
18 //
20 
23 
24 // C/C++ headers
25 #include <string>
26 #include <vector>
27 
29 class TrackerGeometry;
30 
32 public:
34 
35  virtual ~ConversionTrackFinder();
36 
37  virtual std::vector<Trajectory> tracks(const TrajectorySeedCollection& seeds,
38  TrackCandidateCollection& candidate) const = 0;
39 
41  void setEventSetup(const edm::EventSetup& es);
42 
43 protected:
45 
49 
50  std::unique_ptr<TransientInitialStateEstimator> theInitialState_;
53 
55 
57 
59  typedef int result_type;
60  result_type operator()(const Trajectory& t) const { return t.foundHits(); }
61  result_type operator()(const Trajectory* t) const { return t->foundHits(); }
62  };
63 
64  struct ExtractChi2 {
65  typedef float result_type;
66  result_type operator()(const Trajectory& t) const { return t.chiSquared(); }
67  result_type operator()(const Trajectory* t) const { return t->chiSquared(); }
68  };
69 };
70 
71 #endif
BaseCkfTrajectoryBuilder
Definition: BaseCkfTrajectoryBuilder.h:53
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition: TrajectorySeedCollection.h:6
TrackCandidateCollection.h
ConversionSeedFinder.h
ConversionTrackFinder::useSplitHits_
bool useSplitHits_
Definition: ConversionTrackFinder.h:56
ConversionTrackFinder
Definition: ConversionTrackFinder.h:31
ConversionTrackFinder::theUpdator_
KFUpdator * theUpdator_
Definition: ConversionTrackFinder.h:52
TrajectoryMeasurement.h
ConversionTrackFinder::tracks
virtual std::vector< Trajectory > tracks(const TrajectorySeedCollection &seeds, TrackCandidateCollection &candidate) const =0
config
Definition: config.py:1
ConversionTrackFinder::ExtractChi2
Definition: ConversionTrackFinder.h:64
MeasurementTracker
Definition: MeasurementTracker.h:21
ConversionTrackFinder::ExtractChi2::operator()
result_type operator()(const Trajectory &t) const
Definition: ConversionTrackFinder.h:66
edm::ESHandle< Propagator >
ConversionTrackFinder::theMeasurementTracker_
const MeasurementTracker * theMeasurementTracker_
Definition: ConversionTrackFinder.h:47
ConversionTrackFinder::thePropagator_
edm::ESHandle< Propagator > thePropagator_
Definition: ConversionTrackFinder.h:54
ConversionTrackFinder::theMeasurementTrackerName_
std::string theMeasurementTrackerName_
Definition: ConversionTrackFinder.h:46
ConversionTrackFinder::setEventSetup
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
Definition: ConversionTrackFinder.cc:31
ConversionTrackFinder::ExtractNumOfHits
Definition: ConversionTrackFinder.h:58
ConversionTrackFinder::ExtractNumOfHits::operator()
result_type operator()(const Trajectory *t) const
Definition: ConversionTrackFinder.h:61
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ConversionTrackFinder::theInitialState_
std::unique_ptr< TransientInitialStateEstimator > theInitialState_
Definition: ConversionTrackFinder.h:50
InitialStep_cff.seeds
seeds
Definition: InitialStep_cff.py:231
edm::ParameterSet
Definition: ParameterSet.h:47
TrackCandidateCollection
std::vector< TrackCandidate > TrackCandidateCollection
Definition: TrackCandidateCollection.h:7
Event.h
ConversionTrackFinder::ExtractChi2::operator()
result_type operator()(const Trajectory *t) const
Definition: ConversionTrackFinder.h:67
ConversionTrackFinder::theMF_
const MagneticField * theMF_
Definition: ConversionTrackFinder.h:44
TransientInitialStateEstimator
Definition: TransientInitialStateEstimator.h:23
ConversionTrackFinder::ExtractNumOfHits::operator()
result_type operator()(const Trajectory &t) const
Definition: ConversionTrackFinder.h:60
edm::EventSetup
Definition: EventSetup.h:58
TrajectorySeedCollection.h
Trajectory.h
ConversionTrackFinder::theCkfTrajectoryBuilder_
const BaseCkfTrajectoryBuilder * theCkfTrajectoryBuilder_
Definition: ConversionTrackFinder.h:48
Trajectory
Definition: Trajectory.h:38
BaseCkfTrajectoryBuilder.h
EventSetup.h
ConversionTrackFinder::theTrackerGeom_
const TrackerGeometry * theTrackerGeom_
Definition: ConversionTrackFinder.h:51
ConversionTrackFinder::~ConversionTrackFinder
virtual ~ConversionTrackFinder()
Definition: ConversionTrackFinder.cc:29
ConversionTrackFinder::ExtractNumOfHits::result_type
int result_type
Definition: ConversionTrackFinder.h:59
ParameterSet.h
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
MagneticField
Definition: MagneticField.h:19
ConversionTrackFinder::ExtractChi2::result_type
float result_type
Definition: ConversionTrackFinder.h:65
KFUpdator
Definition: KFUpdator.h:32
MeasurementTracker.h
TrackerGeometry
Definition: TrackerGeometry.h:14
ConversionTrackFinder::ConversionTrackFinder
ConversionTrackFinder(const edm::ParameterSet &config, const BaseCkfTrajectoryBuilder *trajectoryBuilder)
Definition: ConversionTrackFinder.cc:16