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 
25 
28 
30 
31 //this class is designed to calculate dEtaIn,dPhiIn gsf track - supercluster pairs
32 //it can take as input std::vector<Electron> which the gsf track-sc is already done
33 //or it can run over the std::vector<GsfTrack> directly in which case it will pick the smallest dEta,dPhi
34 //the dEta, dPhi do not have to be from the same track
35 //it can optionally set dEta, dPhi to 0 based on the number of tracks found
36 
37 namespace edm {
39 }
40 
42  private:
44  unsigned long long cacheIDTDGeom_;
45  unsigned long long cacheIDMagField_;
46 
49 
52 
53  public:
58 
59 
60  void setup(const edm::EventSetup& iSetup);
61 
62  GlobalPoint extrapolateTrackPosToPoint(const reco::GsfTrack& gsfTrack,const GlobalPoint& pointToExtrapTo);
63  GlobalVector extrapolateTrackMomToPoint(const reco::GsfTrack& gsfTrack,const GlobalPoint& pointToExtrapTo);
64 
67  const MultiTrajectoryStateMode* mtsMode()const{return &mtsMode_;}
68  };
69 
70  public:
73  virtual void produce(edm::Event&, const edm::EventSetup&);
74  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
75 
76  private:
81 
85 };
86 
87 #endif
virtual void produce(edm::Event &, const edm::EventSetup &)
const MultiTrajectoryStateMode * mtsMode() const
edm::EDGetTokenT< reco::ElectronCollection > inputCollectionTag1_
edm::EDGetTokenT< reco::GsfTrackCollection > inputCollectionTag2_
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 &)
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandTag_
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
TrackExtrapolator * operator=(const TrackExtrapolator &rhs)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)