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
EleIDCutNames
EleIDCutNames
Definition: ElectronIdentifier.h:27
EleIDWorkingPoints
EleIDWorkingPoints
Definition: ElectronIdentifier.h:37
TIGHT
Definition: ElectronIdentifier.h:37
ONEOVERE
Definition: ElectronIdentifier.h:33
ElectronIdentifier::setID
void setID(std::string ID)
Definition: ElectronIdentifier.cc:120
EDAnalyzer.h
ConversionFwd.h
BARREL
Definition: ElectronIdentifier.h:38
edm::Handle< reco::BeamSpot >
ElectronIdentifier::ElectronIdentifier
ElectronIdentifier(const edm::ParameterSet &c)
Definition: ElectronIdentifier.cc:24
ElectronIdentifier
Definition: ElectronIdentifier.h:39
ElectronIdentifier::cuts_
std::array< std::array< std::array< double, 2 >, 4 >, 8 > cuts_
Definition: ElectronIdentifier.h:54
MakerMacros.h
EffectiveAreas
Definition: EffectiveAreas.h:8
BeamSpot.h
MISSINGHITS
Definition: ElectronIdentifier.h:34
ElectronIdentifier::isolation
float isolation(const reco::GsfElectronPtr &ele)
Definition: ElectronIdentifier.cc:137
DETAINSEED
Definition: ElectronIdentifier.h:29
beamspot
Definition: BeamSpotWrite2Txt.h:8
CONVERSION
Definition: ElectronIdentifier.h:35
GsfElectron.h
ElectronIdentifier::dEtaInSeed
float dEtaInSeed(const reco::GsfElectronPtr &ele)
Definition: ElectronIdentifier.cc:132
DDAxes::rho
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ElectronFwd.h
GsfElectronFwd.h
edm::ParameterSet
Definition: ParameterSet.h:36
align::ID
uint32_t ID
Definition: Definitions.h:24
ElectronIdentifier::passID
bool passID(const reco::GsfElectronPtr &ele, edm::Handle< reco::BeamSpot > beamspot, edm::Handle< reco::ConversionCollection > conversions)
Definition: ElectronIdentifier.cc:153
ElectronIdentifier::rho_
double rho_
Definition: ElectronIdentifier.h:52
DPHIIN
Definition: ElectronIdentifier.h:30
LOOSE
Definition: ElectronIdentifier.h:37
HOVERE
Definition: ElectronIdentifier.h:31
VETO
Definition: ElectronIdentifier.h:37
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
ISO
Definition: ElectronIdentifier.h:32
InputTag.h
edm::Ptr< reco::GsfElectron >
SIGMAIETA
Definition: ElectronIdentifier.h:28
ElectronIdentifier::ID_
int ID_
Definition: ElectronIdentifier.h:53
SuperClusterFwd.h
Frameworkfwd.h
ElectronIdentifier::_effectiveAreas
EffectiveAreas _effectiveAreas
Definition: ElectronIdentifier.h:56
ElectronIdentifier::setRho
void setRho(double rho)
Definition: ElectronIdentifier.cc:111
ConsumesCollector.h
EffectiveAreas.h
ParameterSet.h
CutApplicatorBase.h
MEDIUM
Definition: ElectronIdentifier.h:37
pwdgSkimBPark_cfi.conversions
conversions
Definition: pwdgSkimBPark_cfi.py:10
EleIDEtaBins
EleIDEtaBins
Definition: ElectronIdentifier.h:38
ENDCAP
Definition: ElectronIdentifier.h:38
Conversion.h