#include <AntiElectronDeadECAL.h>
Classes | |
struct | TowerInfo |
Public Member Functions | |
AntiElectronDeadECAL (const edm::ParameterSet &, edm::ConsumesCollector &&) | |
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_ |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeometryToken_ |
edm::ESWatcher< CaloGeometryRecord > | caloGeometryWatcher_ |
const edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > | channelStatusToken_ |
edm::ESWatcher< EcalChannelStatusRcd > | channelStatusWatcher_ |
const double | dR2_ |
const bool | extrapolateToECalEntrance_ |
edm::ESWatcher< IdealGeometryRecord > | idealGeometryWatcher_ |
bool | isFirstEvent_ |
const unsigned | minStatus_ |
PositionAtECalEntranceComputer | positionAtECalEntrance_ |
const edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > | ttMapToken_ |
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 37 of file AntiElectronDeadECAL.h.
|
explicit |
Definition at line 16 of file AntiElectronDeadECAL.cc.
AntiElectronDeadECAL::~AntiElectronDeadECAL | ( | ) |
Definition at line 27 of file AntiElectronDeadECAL.cc.
void AntiElectronDeadECAL::beginEvent | ( | const edm::EventSetup & | es | ) |
Definition at line 29 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 94 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 65 of file AntiElectronDeadECAL.cc.
References badTowers_, caloGeometryToken_, caloGeometryWatcher_, channelStatusToken_, channelStatusWatcher_, edm::ESWatcher< T >::check(), edm::EventSetup::getData(), idealGeometryWatcher_, isFirstEvent_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, submitPVResolutionJobs::key, minStatus_, statusMask_, and ttMapToken_.
Referenced by beginEvent().
|
private |
Definition at line 69 of file AntiElectronDeadECAL.h.
Referenced by operator()(), and updateBadTowers().
|
private |
Definition at line 52 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 73 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 51 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 72 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 48 of file AntiElectronDeadECAL.h.
Referenced by operator()().
|
private |
Definition at line 49 of file AntiElectronDeadECAL.h.
Referenced by operator()().
|
private |
Definition at line 74 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 76 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 47 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 55 of file AntiElectronDeadECAL.h.
Referenced by beginEvent(), and operator()().
|
staticprivate |
Definition at line 70 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 53 of file AntiElectronDeadECAL.h.
Referenced by updateBadTowers().
|
private |
Definition at line 50 of file AntiElectronDeadECAL.h.
Referenced by operator()().