CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
NuclearInteractionFinder.h
Go to the documentation of this file.
1 #ifndef CD_NuclearInteractionFinder_H_
2 #define CD_NuclearInteractionFinder_H_
3 
4 //----------------------------------------------------------------------------
12 //-----------------------------------------------------------------------------
13 
23 
26 
29 
31 
33 
37 
41 
42 
43 #include <boost/shared_ptr.hpp>
44 
46 private:
47 
51  typedef std::vector<Trajectory> TrajectoryContainer;
53 
55  void fillSeeds( const std::pair<TrajectoryMeasurement, std::vector<TrajectoryMeasurement> >& tmPairs );
56 
58  std::vector<TrajectoryMeasurement>
59  findCompatibleMeasurements( const TM& lastMeas, double rescaleFactor) const;
60 
61  std::vector<TrajectoryMeasurement>
62  findMeasurementsFromTSOS(const TSOS& currentState, DetId detid) const;
63 
65  void definePrimaryHelix(std::vector<TrajectoryMeasurement>::const_iterator it_meas);
66 
67 public:
68 
70 
72 
73  virtual ~NuclearInteractionFinder();
74 
76  bool run(const Trajectory& traj);
77 
79  void setEvent(const edm::Event& event) const;
80 
82  std::auto_ptr<TrajectorySeedCollection> getPersistentSeeds();
83 
85  void improveSeeds();
86 
87  TrajectoryStateOnSurface rescaleError(float rescale, const TSOS& state) const;
88 
89  const NavigationSchool* nav() const { return theNavigationSchool; }
90 
91 private:
92 
100 
103  std::vector< SeedFromNuclearInteraction > allSeeds;
105 
106  // parameters
107  double ptMin;
108  unsigned int maxHits;
112 
113 };
114 #endif
void improveSeeds()
Improve the seeds with a third RecHit.
const NavigationSchool * nav() const
bool run(const Trajectory &traj)
Run the Finder.
std::vector< TrajectoryMeasurement > findCompatibleMeasurements(const TM &lastMeas, double rescaleFactor) const
Find compatible TM of a TM with error rescaled by rescaleFactor.
std::vector< TrajectoryMeasurement > findMeasurementsFromTSOS(const TSOS &currentState, DetId detid) const
std::vector< SeedFromNuclearInteraction > allSeeds
const MeasurementTracker * theMeasurementTracker
const NavigationSchool * theNavigationSchool
const MeasurementEstimator * theEstimator
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
Definition: DetId.h:20
Class used to obtain vector of all compatible TMs associated to a trajectory to be used by the Nuclea...
TrajectoryMeasurement::ConstRecHitPointer ConstRecHitPointer
edm::ESHandle< MagneticField > theMagField
char state
Definition: procUtils.cc:75
const LayerMeasurements * theLayerMeasurements
const GeometricSearchTracker * theGeomSearchTracker
TrajectoryStateOnSurface TSOS
std::auto_ptr< TrajectorySeedCollection > getPersistentSeeds()
Fill &#39;output&#39; with persistent nuclear seeds.
std::vector< Trajectory > TrajectoryContainer
void fillSeeds(const std::pair< TrajectoryMeasurement, std::vector< TrajectoryMeasurement > > &tmPairs)
get the seeds at the interaction point
Class used to test if a track has interacted nuclearly.
Definition: NuclearTester.h:16
void definePrimaryHelix(std::vector< TrajectoryMeasurement >::const_iterator it_meas)
Calculate the parameters of the circle representing the primary track at the interaction point...
TrajectoryStateOnSurface rescaleError(float rescale, const TSOS &state) const
void setEvent(const edm::Event &event) const
define the measurement (to be called for each event)
SeedFromNuclearInteraction * currentSeed