#include <AntiElectronDeadECAL.h>
Classes | |
struct | TowerInfo |
Public Member Functions | |
AntiElectronDeadECAL (const edm::ParameterSet &) | |
void | beginEvent (const edm::EventSetup &) |
bool | operator() (const reco::Candidate *tau) const |
~AntiElectronDeadECAL () | |
Private Member Functions | |
void | updateBadTowers (const edm::EventSetup &) |
Private Attributes | |
std::vector< TowerInfo > | badTowers_ |
edm::ESWatcher< CaloGeometryRecord > | caloGeometryWatcher_ |
edm::ESWatcher< EcalChannelStatusRcd > | channelStatusWatcher_ |
const double | dR2_ |
const bool | extrapolateToECalEntrance_ |
edm::ESWatcher< IdealGeometryRecord > | idealGeometryWatcher_ |
bool | isFirstEvent_ |
const unsigned | minStatus_ |
PositionAtECalEntranceComputer | positionAtECalEntrance_ |
const int | verbosity_ |
Static Private Attributes | |
static const uint16_t | statusMask_ = 0x1F |
Flag tau candidates reconstructed near dead ECAL channels, in order to reduce e -> tau fakes not rejected by anti-e MVA discriminator
The motivation for this flag is this presentation: https://indico.cern.ch/getFile.py/access?contribId=0&resId=0&materialId=slides&confId=177223
Code adapted from: RecoTauTag/RecoTau/plugins/PFRecoTauDiscriminationAgainstElectronDeadECAL.cc
Definition at line 35 of file AntiElectronDeadECAL.h.
|
explicit |
Definition at line 18 of file AntiElectronDeadECAL.cc.
AntiElectronDeadECAL::~AntiElectronDeadECAL | ( | ) |
Definition at line 25 of file AntiElectronDeadECAL.cc.
void AntiElectronDeadECAL::beginEvent | ( | const edm::EventSetup & | es | ) |
Definition at line 27 of file AntiElectronDeadECAL.cc.
References PositionAtECalEntranceComputer::beginEvent(), positionAtECalEntrance_, and updateBadTowers().
Referenced by TauDiscriminationAgainstElectronDeadECAL< TauType, TauDiscriminator >::beginEvent().
bool AntiElectronDeadECAL::operator() | ( | const reco::Candidate * | tau | ) | const |
Definition at line 111 of file AntiElectronDeadECAL.cc.
References badTowers_, HLTMuonOfflineAnalyzer_cfi::deltaR2, dR2_, reco::Candidate::eta(), extrapolateToECalEntrance_, edm::Ptr< T >::get(), edm::Ptr< T >::isNonnull(), reco::PFTau::leadChargedHadrCand(), pat::Tau::leadChargedHadrCand(), reco::Candidate::pdgId(), reco::Candidate::phi(), positionAtECalEntrance_, reco::Candidate::pt(), summarizeEdmComparisonLogfiles::success, metsig::tau, runTauDisplay::tau_eta, runTauDisplay::tau_phi, and verbosity_.
|
private |
Definition at line 63 of file AntiElectronDeadECAL.cc.
References badTowers_, caloGeometryWatcher_, channelStatusWatcher_, edm::ESWatcher< T >::check(), edm::EventSetup::get(), get, idealGeometryWatcher_, isFirstEvent_, crabWrapper::key, minStatus_, edm::ESHandle< T >::product(), and statusMask_.
Referenced by beginEvent().
|
private |
Definition at line 64 of file AntiElectronDeadECAL.h.
Referenced by operator()(), and updateBadTowers().
|
private |
Definition at line 68 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 67 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 46 of file AntiElectronDeadECAL.h.
Referenced by operator()().
|
private |
Definition at line 47 of file AntiElectronDeadECAL.h.
Referenced by operator()().
|
private |
Definition at line 69 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 71 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 45 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 50 of file AntiElectronDeadECAL.h.
Referenced by beginEvent(), and operator()().
|
staticprivate |
Definition at line 65 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 48 of file AntiElectronDeadECAL.h.
Referenced by operator()().