CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
27 
33  ISO,
37 };
41 public:
43  float dEtaInSeed(const reco::GsfElectronPtr& ele);
44  bool passID(const reco::GsfElectronPtr& ele,
47  float isolation(const reco::GsfElectronPtr& ele);
48 
49  void setID(std::string ID);
50  void setRho(double rho);
51 
52 private:
53  double rho_;
54  int ID_;
55  std::array<std::array<std::array<double, 2>, 4>, 8> cuts_;
56  // Effective area constants
58 };
59 
60 #endif
float dEtaInSeed(const reco::GsfElectronPtr &ele)
const edm::EventSetup & c
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_