CMS 3D CMS Logo

ElectronIdentifier.h
Go to the documentation of this file.
1 #ifndef DQMOFFLINE_LUMI_ELECTRONIDENTIFIER_H
2 #define DQMOFFLINE_LUMI_ELECTRONIDENTIFIER_H
3 
4 #include "FWCore/Framework/interface/MakerMacros.h" // definitions for declaring plug-in modules
5 #include "FWCore/Framework/interface/Frameworkfwd.h" // declaration of EDM types
6 #include "FWCore/Framework/interface/EDAnalyzer.h" // EDAnalyzer class
10 
11 #include <string> // string class
12 #include <TMath.h>
13 #include <cassert>
14 
22 
24 
32  ISO,
36 };
40 public:
42  float dEtaInSeed(const reco::GsfElectronPtr& ele);
43  bool passID(const reco::GsfElectronPtr& ele,
46  float isolation(const reco::GsfElectronPtr& ele);
47 
48  void setID(std::string ID);
49  void setRho(double rho);
50 
51 private:
52  double rho_;
53  int ID_;
54  std::array<std::array<std::array<double, 2>, 4>, 8> cuts_;
55  // Effective area constants
57 };
58 
59 #endif
float dEtaInSeed(const reco::GsfElectronPtr &ele)
uint32_t ID
Definition: Definitions.h:24
EffectiveAreas _effectiveAreas
EleIDCutNames
bool passID(const reco::GsfElectronPtr &ele, edm::Handle< reco::BeamSpot > beamspot, edm::Handle< reco::ConversionCollection > conversions)
EleIDEtaBins
ElectronIdentifier(const edm::ParameterSet &c)
EleIDWorkingPoints
void setRho(double rho)
void setID(std::string ID)
float isolation(const reco::GsfElectronPtr &ele)
std::array< std::array< std::array< double, 2 >, 4 >, 8 > cuts_