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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from TauDiscriminationProducerBase< TauType, TauDiscriminator > | |
static void | fillProducerDescriptions (edm::ParameterSetDescription &desc) |
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 38 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 166 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
inlineexplicit |
Definition at line 41 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References edm::ParameterSet::getParameter().
|
inlineoverride |
Definition at line 51 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
inlineoverridevirtual |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 53 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
inlineoverride |
Definition at line 58 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References reco::deltaR(), mvaPFMET_leptons_cfi::discriminator, and fillDescriptions().
|
static |
Definition at line 184 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), DEFINE_FWK_MODULE, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivate |
Definition at line 124 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 85 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References edm::EventSetup::get(), crabWrapper::key, and edm::ESHandle< T >::product().
|
private |
Definition at line 172 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 176 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 175 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 170 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 177 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 178 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 169 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 168 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
Referenced by Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
staticprivate |
Definition at line 173 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 180 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.