Go to the documentation of this file.00001 #ifndef RecoJets_JetAssociationProducers_interface_TrackExtrapolator_h
00002 #define RecoJets_JetAssociationProducers_interface_TrackExtrapolator_h
00003
00004
00005
00006
00007
00008
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include <memory>
00031
00032
00033 #include "FWCore/Framework/interface/Frameworkfwd.h"
00034 #include "FWCore/Framework/interface/EDProducer.h"
00035
00036 #include "FWCore/Framework/interface/Event.h"
00037 #include "FWCore/Framework/interface/MakerMacros.h"
00038 #include "FWCore/Framework/interface/ESHandle.h"
00039 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00040
00041 #include "DataFormats/JetReco/interface/TrackExtrapolation.h"
00042 #include "DataFormats/GeometrySurface/interface/Cylinder.h"
00043 #include "DataFormats/GeometrySurface/interface/Plane.h"
00044 #include "DataFormats/Math/interface/deltaR.h"
00045 #include "DataFormats/Math/interface/Vector3D.h"
00046 #include "MagneticField/Engine/interface/MagneticField.h"
00047 #include "TrackingTools/GeomPropagators/interface/Propagator.h"
00048 #include "TrackingTools/TrajectoryParametrization/interface/GlobalTrajectoryParameters.h"
00049 #include "TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h"
00050 #include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h"
00051 #include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"
00052 #include "TrackingTools/Records/interface/TrackingComponentsRecord.h"
00053 #include "TrackingTools/TrackAssociator/interface/FiducialVolume.h"
00054
00055
00056
00057
00058
00059 class TrackExtrapolator : public edm::EDProducer {
00060 public:
00061 explicit TrackExtrapolator(const edm::ParameterSet&);
00062 ~TrackExtrapolator();
00063
00064 private:
00065 virtual void beginJob() ;
00066 virtual void produce(edm::Event&, const edm::EventSetup&);
00067 virtual void endJob() ;
00068
00069
00070
00071 edm::InputTag tracksSrc_;
00072 reco::TrackBase::TrackQuality trackQuality_;
00073
00074
00075
00076
00080 bool propagateTrackToVolume( const reco::Track& fTrack,
00081 const MagneticField& fField,
00082 const Propagator& fPropagator,
00083 const FiducialVolume& volume,
00084 reco::TrackBase::Point & resultPos,
00085 reco::TrackBase::Vector & resultMom
00086 );
00087
00088
00089
00090 };
00091
00092
00093 #endif