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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () 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 158 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
inlineexplicit |
Definition at line 40 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References 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 53 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References reco::deltaR(), PDWG_TauSkim_cff::discriminator, and fillDescriptions().
|
static |
Definition at line 175 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), DEFINE_FWK_MODULE, HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivate |
Definition at line 123 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 164 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 168 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 167 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 162 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 169 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 170 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 161 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 160 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
Referenced by Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
staticprivate |
Definition at line 165 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.
|
private |
Definition at line 172 of file PFRecoTauDiscriminationAgainstElectronDeadECAL.cc.