CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgammaHLTGsfTrackVarProducer.h
Go to the documentation of this file.
1 #ifndef RECOEGAMMA_EGAMMAHLTPRODUCERS_EGAMMAHLTGSFTRACKVARPRODUCER
2 #define RECOEGAMMA_EGAMMAHLTPRODUCERS_EGAMMAHLTGSFTRACKVARPRODUCER
3 
4 
5 // system include files
6 #include <memory>
7 
8 // user include files
15 
22 //#include "DataFormats/GsfTrackReco/interface/GsfTrack.h"
24 
25 //this class is designed to calculate dEtaIn,dPhiIn gsf track - supercluster pairs
26 //it can take as input std::vector<Electron> which the gsf track-sc is already done
27 //or it can run over the std::vector<GsfTrack> directly in which case it will pick the smallest dEta,dPhi
28 //the dEta, dPhi do not have to be from the same track
29 //it can optionally set dEta, dPhi to 0 based on the number of tracks found
30 
31 
33 private:
34  //this is a helper class which performs the necessary track to ecal and track to vertex extrapolations
35  //based on the GsfElectronAlgo class
37 
38 
39  unsigned long long cacheIDTDGeom_;
40  unsigned long long cacheIDMagField_;
41 
44 
47 
48 
49  public:
54 
55 
56  void setup(const edm::EventSetup& iSetup);
57 
58  GlobalPoint extrapolateTrackPosToPoint(const reco::GsfTrack& gsfTrack,const GlobalPoint& pointToExtrapTo);
59  GlobalVector extrapolateTrackMomToPoint(const reco::GsfTrack& gsfTrack,const GlobalPoint& pointToExtrapTo);
60 
63  const MultiTrajectoryStateMode* mtsMode()const{return &mtsMode_;}
64  };
65 
66 public:
69 
70 
71  virtual void produce(edm::Event&, const edm::EventSetup&);
72 
73 private:
74 
75 private:
76  // ----------member data ---------------------------
83 
84 };
85 
86 #endif
virtual void produce(edm::Event &, const edm::EventSetup &)
const MultiTrajectoryStateMode * mtsMode() const
const MultiTrajectoryStateTransform * mtsTransform() const
GlobalPoint extrapolateTrackPosToPoint(const reco::GsfTrack &gsfTrack, const GlobalPoint &pointToExtrapTo)
GlobalVector extrapolateTrackMomToPoint(const reco::GsfTrack &gsfTrack, const GlobalPoint &pointToExtrapTo)
edm::ESHandle< TrackerGeometry > trackerGeomHandle() const
EgammaHLTGsfTrackVarProducer(const edm::ParameterSet &)
TrackExtrapolator * operator=(const TrackExtrapolator &rhs)