#include <EcalDeadCellTriggerPrimitiveFilter.cc>
Private Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | beginStream (edm::StreamID) override |
void | envSet (const edm::EventSetup &) |
bool | filter (edm::Event &, const edm::EventSetup &) override |
int | getChannelStatusMaps () |
void | loadEcalDigis (edm::Event &iEvent, edm::Handle< EcalTrigPrimDigiCollection > &pTPDigis) |
void | loadEcalRecHits (edm::Event &iEvent, edm::Handle< EcalRecHitCollection > &barrelReducedRecHitsHandle, edm::Handle< EcalRecHitCollection > &endcapReducedRecHitsHandle) |
int | setEvtRecHitstatus (const double &tpValCut, const int &chnStatus, const int &towerTest, const EBRecHitCollection &HitecalEB, const EERecHitCollection &HitecalEE) |
int | setEvtTPstatus (const EcalTrigPrimDigiCollection &, const double &tpCntCut, const int &chnStatus, EcalTPGScale &) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDFilter<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDFilterBase | |
typedef EDFilterAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: <one line="" class="" summary>=""> Event filtering for anomalous ECAL events where the energy measured by ECAL is significantly biased due to energy depositions in dead cell regions.
Definition at line 72 of file EcalDeadCellTriggerPrimitiveFilter.cc.
|
explicit |
Definition at line 165 of file EcalDeadCellTriggerPrimitiveFilter.cc.
References edm::ProducerBase::callWhenNewProductsRegistered(), ebReducedRecHitCollection_, ebReducedRecHitCollectionToken_, eeReducedRecHitCollection_, eeReducedRecHitCollectionToken_, hasReducedRecHits_, edm::InputTag::label(), edm::BranchDescription::moduleLabel(), tpDigiCollection_, useHITmethod_, and useTPmethod_.
Referenced by getChannelStatusMaps().
|
override |
Definition at line 202 of file EcalDeadCellTriggerPrimitiveFilter.cc.
|
overrideprivate |
Definition at line 297 of file EcalDeadCellTriggerPrimitiveFilter.cc.
References debug_, EcalAllDeadChannelsBitMap, EcalAllDeadChannelsValMap, envSet(), getChannelStatusMaps(), mathSSE::return(), and verbose_.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 205 of file EcalDeadCellTriggerPrimitiveFilter.cc.
References debug_, hasReducedRecHits_, useHITmethod_, and useTPmethod_.
|
private |
Definition at line 241 of file EcalDeadCellTriggerPrimitiveFilter.cc.
References debug_, ecalStatus, edm::EventSetup::get(), ttMap_, and verbose_.
Referenced by beginRun().
|
overrideprivate |
Definition at line 256 of file EcalDeadCellTriggerPrimitiveFilter.cc.
References funct::abs(), debug_, edm::Event::emplace(), etValToBeFlagged_, edm::EventID::event(), edm::EventBase::id(), loadEcalDigis(), loadEcalRecHits(), eostools::ls(), edm::EventBase::luminosityBlock(), putToken_, writedatasetfile::run, edm::EventID::run(), EcalTPGScale::setEventSetup(), setEvtRecHitstatus(), setEvtTPstatus(), taggingMode_, useHITmethod_, useTPmethod_, and verbose_.
|
private |
Definition at line 549 of file EcalDeadCellTriggerPrimitiveFilter.cc.
References DEFINE_FWK_MODULE, doEEfilter_, EcalAllDeadChannelsBitMap, EcalAllDeadChannelsTTMap, EcalAllDeadChannelsValMap, EcalDeadCellTriggerPrimitiveFilter(), ecalStatus, PVValHelper::eta, EBDetId::ETAPHIMODE, CaloSubdetectorGeometry::getGeometry(), maskedEcalChannelStatusThreshold_, phi, mps_update::status, theta(), EcalTrigTowerConstituentsMap::towerOf(), ttMap_, EBDetId::validDetId(), EEDetId::validDetId(), and EEDetId::XYMODE.
Referenced by beginRun().
|
private |
Definition at line 220 of file EcalDeadCellTriggerPrimitiveFilter.cc.
References edm::Event::getByToken(), edm::InputTag::instance(), edm::HandleBase::isValid(), edm::InputTag::label(), tpDigiCollection_, and tpDigiCollectionToken_.
Referenced by filter().
|
private |
Definition at line 227 of file EcalDeadCellTriggerPrimitiveFilter.cc.
References ebReducedRecHitCollectionToken_, eeReducedRecHitCollectionToken_, and edm::Event::getByToken().
Referenced by filter().
|
private |
Definition at line 306 of file EcalDeadCellTriggerPrimitiveFilter.cc.
References funct::abs(), accuSCchnMap, accuSCetMap, accuTTchnMap, accuTTetMap, avoidDuplicateVec, edm::SortedCollection< T, SORT >::begin(), EcalTrigTowerConstituentsMap::constituentsOf(), debug_, EcalAllDeadChannelsBitMap, EcalAllDeadChannelsTTMap, EcalAllDeadChannelsValMap, edm::SortedCollection< T, SORT >::end(), spr::find(), EEDetId::ix(), EEDetId::iy(), EcalRecHit::kTPSaturated, SimDataFormats::CaloAnalysis::sc, SCzsideMap, edm::second(), funct::sin(), mps_update::status, theta(), ttMap_, TTzsideMap, usekTPSaturated_, useTTsum_, verbose_, EcalTrigTowerDetId::zside(), and EEDetId::zside().
Referenced by filter().
|
private |
Definition at line 508 of file EcalDeadCellTriggerPrimitiveFilter.cc.
References funct::abs(), debug_, doEEfilter_, EcalAllDeadChannelsBitMap, EcalAllDeadChannelsTTMap, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), EcalTPGScale::getTPGInGeV(), mps_update::status, verbose_, and EcalTrigTowerDetId::zside().
Referenced by filter().
|
private |
Definition at line 151 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by setEvtRecHitstatus().
|
private |
Definition at line 150 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by setEvtRecHitstatus().
|
private |
Definition at line 146 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by setEvtRecHitstatus().
|
private |
Definition at line 145 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by setEvtRecHitstatus().
|
private |
Definition at line 155 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by setEvtRecHitstatus().
|
private |
Definition at line 87 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by beginRun(), beginStream(), envSet(), filter(), setEvtRecHitstatus(), and setEvtTPstatus().
|
private |
Definition at line 90 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by getChannelStatusMaps(), and setEvtTPstatus().
|
private |
Definition at line 102 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by EcalDeadCellTriggerPrimitiveFilter().
|
private |
Definition at line 104 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by EcalDeadCellTriggerPrimitiveFilter(), and loadEcalRecHits().
|
private |
Definition at line 116 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by beginRun(), getChannelStatusMaps(), setEvtRecHitstatus(), and setEvtTPstatus().
|
private |
Definition at line 119 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by getChannelStatusMaps(), setEvtRecHitstatus(), and setEvtTPstatus().
|
private |
Definition at line 113 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by beginRun(), getChannelStatusMaps(), and setEvtRecHitstatus().
|
private |
Definition at line 93 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by envSet(), and getChannelStatusMaps().
|
private |
Definition at line 103 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by EcalDeadCellTriggerPrimitiveFilter().
|
private |
Definition at line 105 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by EcalDeadCellTriggerPrimitiveFilter(), and loadEcalRecHits().
|
private |
Definition at line 124 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by filter().
|
private |
Definition at line 94 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent().
|
private |
Definition at line 137 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by beginStream(), and EcalDeadCellTriggerPrimitiveFilter().
|
private |
Definition at line 109 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by getChannelStatusMaps().
|
private |
Definition at line 142 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by filter().
|
private |
Definition at line 152 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by setEvtRecHitstatus().
|
private |
Definition at line 85 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by filter().
|
private |
Definition at line 126 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by EcalDeadCellTriggerPrimitiveFilter(), and loadEcalDigis().
|
private |
Definition at line 127 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by loadEcalDigis().
|
private |
Definition at line 107 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by envSet(), getChannelStatusMaps(), and setEvtRecHitstatus().
|
private |
Definition at line 147 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by setEvtRecHitstatus().
|
private |
Definition at line 140 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by beginStream(), EcalDeadCellTriggerPrimitiveFilter(), and filter().
|
private |
Definition at line 135 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by setEvtRecHitstatus().
|
private |
Definition at line 139 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by beginStream(), EcalDeadCellTriggerPrimitiveFilter(), and filter().
|
private |
Definition at line 134 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by setEvtRecHitstatus().
|
private |
Definition at line 88 of file EcalDeadCellTriggerPrimitiveFilter.cc.
Referenced by beginRun(), envSet(), filter(), setEvtRecHitstatus(), and setEvtTPstatus().