test
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  void setup(const edm::EventSetup& iSetup);
60 
61  GlobalPoint extrapolateTrackPosToPoint(const reco::GsfTrack& gsfTrack,const GlobalPoint& pointToExtrapTo);
62  GlobalVector extrapolateTrackMomToPoint(const reco::GsfTrack& gsfTrack,const GlobalPoint& pointToExtrapTo);
63 
66  const MultiTrajectoryStateMode* mtsMode()const{return &mtsMode_;}
67  };
68 
69  public:
72  void produce(edm::Event&, const edm::EventSetup&) override;
73  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
74 
75  private:
80 
84 };
85 
86 #endif
const MultiTrajectoryStateMode * mtsMode() const
const MultiTrajectoryStateTransform * mtsTransform() const
const edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandTag_
GlobalPoint extrapolateTrackPosToPoint(const reco::GsfTrack &gsfTrack, const GlobalPoint &pointToExtrapTo)
const edm::EDGetTokenT< reco::GsfTrackCollection > inputCollectionTag2_
GlobalVector extrapolateTrackMomToPoint(const reco::GsfTrack &gsfTrack, const GlobalPoint &pointToExtrapTo)
const edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
edm::ESHandle< TrackerGeometry > trackerGeomHandle() const
EgammaHLTGsfTrackVarProducer(const edm::ParameterSet &)
void produce(edm::Event &, const edm::EventSetup &) override
const edm::EDGetTokenT< reco::ElectronCollection > inputCollectionTag1_
TrackExtrapolator * operator=(const TrackExtrapolator &rhs)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)