CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HICTrajectoryBuilder.h
Go to the documentation of this file.
1 #ifndef HICTrajectoryBuilder_H
2 #define HICTrajectoryBuilder_H
3 
4 #include <vector>
5 
6 class Propagator;
9 class TrajectorySeed;
11 class TrajectoryFilter;
12 
17 
21 
23 
27 //#include "TrackingTools/KalmanUpdators/interface/Chi2MeasurementEstimator.h"
38 class TrajectoryFilter;
39 
41 protected:
42 // short names
45 
46 public:
47 
48  typedef std::vector<Trajectory> TrajectoryContainer;
49  typedef std::vector<TempTrajectory> TempTrajectoryContainer;
50 
51  //HICTrajectoryBuilder( const edm::ParameterSet& conf,
52  // const edm::EventSetup& es,
53  // const MeasurementTracker* theInputMeasurementTracker);
55  const edm::EventSetup& es,
56  const TrajectoryStateUpdator* updator,
57  const Propagator* propagatorAlong,
58  const Propagator* propagatorOpposite,
59  const Chi2MeasurementEstimatorBase* estimator,
60  const TransientTrackingRecHitBuilder* RecHitBuilder,
61  const MeasurementTracker* measurementTracker,
62  const TrajectoryFilter* filter);
63 
65 
67  virtual TrajectoryContainer trajectories(const TrajectorySeed& seed) const;
68 
70  virtual void setEvent(const edm::Event& event) const;
71 
72  virtual void settracker(const MeasurementTracker* measurementTracker){theMeasurementTracker = measurementTracker;}
73 
74  private:
79 // const HICMeasurementEstimator* theEstimator;
81 
86 
90 
91  // these may change from seed to seed
94 
97 
98  int theMaxCand;
108 
109 
111 
112  std::vector<TrajectoryMeasurement> seedMeasurements(const TrajectorySeed& seed) const;
113 
114  void limitedCandidates( TempTrajectory& startingTraj, TrajectoryContainer& result) const;
115 
116  std::vector<TrajectoryMeasurement> findCompatibleMeasurements( const TempTrajectory& traj) const;
117 
118  bool qualityFilter( const TempTrajectory& traj) const;
119 
121 
122  bool updateTrajectory( TempTrajectory& traj, const TM& tm) const;
123 
124  bool toBeContinued( const TempTrajectory& traj) const;
125 
126 };
127 
128 #endif
edm::ESHandle< Propagator > thePropagatorTrack
bool qualityFilter(const TempTrajectory &traj) const
const Propagator * thePropagatorOpposite
const MeasurementTracker * theMeasurementTracker
std::vector< TempTrajectory > TempTrajectoryContainer
TrajectoryFilter * theMinPtCondition
TrajectoryStateOnSurface TSOS
bool toBeContinued(const TempTrajectory &traj) const
const Chi2MeasurementEstimatorBase * theEstimator
virtual void settracker(const MeasurementTracker *measurementTracker)
edm::ESHandle< GlobalTrackingGeometry > globTkGeomHandle
virtual TrajectoryContainer trajectories(const TrajectorySeed &seed) const
trajectories building starting from a seed
std::vector< TrajectoryMeasurement > findCompatibleMeasurements(const TempTrajectory &traj) const
std::vector< Trajectory > TrajectoryContainer
const TransientTrackingRecHitBuilder * theTTRHBuilder
const LayerMeasurements * theLayerMeasurements
tuple result
Definition: query.py:137
HICTrajectoryBuilder(const edm::ParameterSet &conf, const edm::EventSetup &es, const TrajectoryStateUpdator *updator, const Propagator *propagatorAlong, const Propagator *propagatorOpposite, const Chi2MeasurementEstimatorBase *estimator, const TransientTrackingRecHitBuilder *RecHitBuilder, const MeasurementTracker *measurementTracker, const TrajectoryFilter *filter)
cms::HICConst * theHICConst
const Propagator * thePropagatorAlong
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
const Propagator * theForwardPropagator
tuple conf
Definition: dbtoconf.py:185
void limitedCandidates(TempTrajectory &startingTraj, TrajectoryContainer &result) const
void addToResult(TempTrajectory &traj, TrajectoryContainer &result) const
std::vector< TrajectoryMeasurement > seedMeasurements(const TrajectorySeed &seed) const
virtual void setEvent(const edm::Event &event) const
set Event for the internal MeasurementTracker data member
TrajectoryMeasurement TM
const TrajectoryStateUpdator * theUpdator
bool updateTrajectory(TempTrajectory &traj, const TM &tm) const
const Propagator * theBackwardPropagator
edm::ESHandle< TrajectorySmoother > theSmootherTrack
TempTrajectory createStartingTrajectory(const TrajectorySeed &seed) const
edm::ESHandle< TrajectoryFitter > theFitterTrack
TrajectoryFilter * theMaxHitsCondition