CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
NuclearTrackCorrector.h
Go to the documentation of this file.
1 #ifndef CD_NuclearTrackCorrector_H_
2 #define CD_NuclearTrackCorrector_H_
3 
4 
5 // -*- C++ -*-
6 //
7 // Package: NuclearTrackCorrector
8 // Class: NuclearTrackCorrector
9 //
17 //
18 // Original Author: Loic QUERTENMONT, Vincent ROBERFROID
19 // Created: Tue Sep 18 14:22:48 CEST 2007
20 //
21 //
22 
23 
24 // system include files
25 #include <memory>
26 #include <string>
27 #include <stdio.h>
28 
29 // user include files
30 
32 
35 
38 
40 
61 
63 
64 
65 
66 
67 
69 
70 //
71 // class decleration
72 //
73 
75 
76  public:
82 
83  public:
84 
87 
88  private:
89  virtual void produce(edm::Event&, const edm::EventSetup&) override;
90  virtual void endJob() ;
91 
93  bool newTrajNeeded(Trajectory& newtrajectory, const TrajectoryRef& trajRef, const reco::NuclearInteraction& ni);
94 
97 
99  bool getTrackFromTrajectory(const Trajectory& newTraj , const TrajectoryRef& initialTrajRef, AlgoProductCollection& algoResults);
100 
104  const TrackingGeometry * theG,
105  const MagneticField * theMF);
106 
108 
109  // ----------member data ---------------------------
110 
111 
115 
118 
119  std::vector< std::pair<unsigned int, unsigned int> > Indice_Map;
120 
121 
128 
131 };
132 
133 #endif
NuclearTrackCorrector(const edm::ParameterSet &)
edm::ESHandle< MagneticField > theMF
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
virtual void produce(edm::Event &, const edm::EventSetup &) override
std::vector< std::pair< unsigned int, unsigned int > > Indice_Map
std::vector< ConstRecHitPointer > RecHitContainer
edm::Ref< TrackCandidateCollection > TrackCandidateRef
bool getTrackFromTrajectory(const Trajectory &newTraj, const TrajectoryRef &initialTrajRef, AlgoProductCollection &algoResults)
Get the refitted track from the Trajectory.
TransientInitialStateEstimator * theInitialState
edm::ESHandle< TrackerGeometry > theG
tuple result
Definition: query.py:137
TrackProducerAlgorithm< reco::Track > * theAlgo
edm::ESHandle< Propagator > thePropagator
std::vector< ConstRecHitPointer > ConstRecHitContainer
edm::ESHandle< TrajectoryFitter > theFitter
reco::TrackExtra getNewTrackExtra(const AlgoProductCollection &algoresults)
get a new TrackExtra from an AlgoProductCollection
edm::Ref< TrajectoryCollection > TrajectoryRef
bool newTrajNeeded(Trajectory &newtrajectory, const TrajectoryRef &trajRef, const reco::NuclearInteraction &ni)
check if the trajectory has to be refitted and get the new trajectory
const TrajTrackAssociationCollection * m_TrajToTrackCollection
TrackProducerAlgorithm< reco::Track >::AlgoProductCollection AlgoProductCollection
void swap_map(const edm::Handle< TrajectoryCollection > &trajColl, std::map< reco::TrackRef, edm::Ref< TrajectoryCollection > > &result)
TrajectoryStateOnSurface getInitialState(const reco::Track *theT, TransientTrackingRecHit::RecHitContainer &hits, const TrackingGeometry *theG, const MagneticField *theMF)
Calculate the inital state to be used to buil the track.
edm::RefVector< TrajectorySeedCollection > TrajectorySeedRefVector
std::string str_Input_NuclearInteraction