CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronMaker.h
Go to the documentation of this file.
1 #ifndef ELECTRONMAKER_H
2 #define ELECTRONMAKER_H
3 
8 
9 class ElectronMaker {
10 
11  public:
12 
14  void SetVars(HWW&, const edm::Event&, const edm::EventSetup&);
15 
16  private:
17 
18  double electronIsoValuePF(const reco::GsfElectron& el, const reco::Vertex& vtx, float coner, float minptn, float dzcut,
19  float footprintdr, float gammastripveto, float elestripveto, int filterId);
21  const int vertexIndex, const float &R, float &pfiso_ch, float &pfiso_em, float &pfiso_nh);
22 
23 
34 
36 
37 };
38 
39 #endif
40 
edm::EDGetTokenT< reco::VertexCollection > thePVCollection_
Definition: ElectronMaker.h:29
edm::Handle< reco::PFCandidateCollection > pfCand_h
Definition: ElectronMaker.h:35
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
edm::EDGetTokenT< reco::ConversionCollection > ConversionCollection_
Definition: ElectronMaker.h:31
edm::EDGetTokenT< reco::PFCandidateCollection > PFCandidateCollection_
Definition: ElectronMaker.h:28
edm::EDGetTokenT< EcalRecHitCollection > ClusterToken1_
Definition: ElectronMaker.h:32
tuple vertexCollection
edm::EDGetTokenT< reco::GsfElectronCollection > GSFElectronCollection_
Definition: ElectronMaker.h:27
edm::EDGetTokenT< reco::TrackCollection > TrackCollection_
Definition: ElectronMaker.h:24
Definition: HWW.h:12
void SetVars(HWW &, const edm::Event &, const edm::EventSetup &)
double electronIsoValuePF(const reco::GsfElectron &el, const reco::Vertex &vtx, float coner, float minptn, float dzcut, float footprintdr, float gammastripveto, float elestripveto, int filterId)
edm::EDGetTokenT< edm::View< reco::GsfElectron > > GSFElectron_
Definition: ElectronMaker.h:26
ElectronMaker(const edm::ParameterSet &, edm::ConsumesCollector)
edm::EDGetTokenT< reco::BeamSpot > BeamSpot_
Definition: ElectronMaker.h:30
edm::EDGetTokenT< reco::GsfTrackCollection > GSFTrackCollection_
Definition: ElectronMaker.h:25
void PFIsolation2012(const reco::GsfElectron &el, const reco::VertexCollection *vertexCollection, const int vertexIndex, const float &R, float &pfiso_ch, float &pfiso_em, float &pfiso_nh)
edm::EDGetTokenT< EcalRecHitCollection > ClusterToken2_
Definition: ElectronMaker.h:33