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 };
42 };
46 };
48  public:
50  float dEtaInSeed(const reco::GsfElectronPtr& ele);
52  float isolation(const reco::GsfElectronPtr& ele);
53 
54  void setID(std::string ID);
55  void setRho(double rho);
56  private:
57  double rho_;
58  int ID_;
59  std::array<std::array<std::array<double,2>,4>,8> cuts_;
60  // Effective area constants
62 };
63 
64 #endif
float dEtaInSeed(const reco::GsfElectronPtr &ele)
uint32_t ID
Definition: Definitions.h:26
std::array< std::array< std::array< double, 2 >, 4 >, 8 > cuts_
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)