Classes | |
struct | towerInfo |
Public Member Functions | |
void | beginEvent (const edm::Event &evt, const edm::EventSetup &es) override |
double | discriminate (const PFTauRef &pfTau) const override |
PFRecoTauDiscriminationAgainstElectronDeadECAL (const edm::ParameterSet &cfg) | |
~PFRecoTauDiscriminationAgainstElectronDeadECAL () override | |
Public Member Functions inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
virtual double | discriminate (const TauRef &tau) const =0 |
virtual void | endEvent (edm::Event &) |
void | produce (edm::Event &, const edm::EventSetup &) override |
TauDiscriminationProducerBase (const edm::ParameterSet &iConfig) | |
TauDiscriminationProducerBase () | |
~TauDiscriminationProducerBase () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Types | |
typedef ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiE4D< double > > | PolarLorentzVector |
Private Member Functions | |
template<class Id > | |
void | loopXtals (std::map< uint32_t, unsigned > &nBadCrystals, std::map< uint32_t, unsigned > &maxStatus, std::map< uint32_t, double > &sumEta, std::map< uint32_t, double > &sumPhi, const EcalChannelStatus *channelStatus, const CaloGeometry *caloGeometry, const EcalTrigTowerConstituentsMap *ttMap) const |
void | updateBadTowers (const edm::EventSetup &es) |
Private Attributes | |
std::vector< towerInfo > | badTowers_ |
uint32_t | caloGeometryId_cache_ |
uint32_t | channelStatusId_cache_ |
double | dR_ |
uint32_t | idealGeometryId_cache_ |
bool | isFirstEvent_ |
unsigned | minStatus_ |
std::string | moduleLabel_ |
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
Definition at line 35 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 162 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
inlineexplicit |
Definition at line 38 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().
|
inlineoverride |
Definition at line 49 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
inlineoverridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 51 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
inlineoverride |
Definition at line 56 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References reco::deltaR(), and mvaPFMET_leptons_cfi::discriminator.
|
inlineprivate |
Definition at line 120 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References EcalCondObjectContainer< T >::end(), PV3DBase< T, PVType, FrameType >::eta(), EcalCondObjectContainer< T >::find(), EcalCondObjectContainer< T >::getMap(), CaloGeometry::getPosition(), mps_fire::i, crabWrapper::key, Max(), PV3DBase< T, PVType, FrameType >::phi(), point, mps_update::status, and EcalTrigTowerConstituentsMap::towerOf().
|
inlineprivate |
Definition at line 81 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References edm::EventSetup::get(), crabWrapper::key, and edm::ESHandle< T >::product().
|
private |
Definition at line 168 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 172 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 171 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 166 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 173 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 174 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 165 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 164 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
staticprivate |
Definition at line 169 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 176 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.