#include <EcalTPSkimmer.h>
Public Member Functions | |
EcalTPSkimmer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
~EcalTPSkimmer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Private Member Functions | |
bool | alreadyInserted (EcalTrigTowerDetId ttId) |
void | insertTP (EcalTrigTowerDetId ttId, edm::Handle< EcalTrigPrimDigiCollection > &in, EcalTrigPrimDigiCollection &out) |
Private Attributes | |
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > | chStatusToken_ |
std::vector< uint32_t > | chStatusToSelectTP_ |
bool | doBarrel_ |
bool | doEndcap_ |
std::set< EcalTrigTowerDetId > | insertedTP_ |
bool | skipModule_ |
std::string | tpCollection_ |
edm::EDGetTokenT< EcalTrigPrimDigiCollection > | tpInputToken_ |
std::string | tpOutputCollection_ |
edm::ESHandle< EcalTrigTowerConstituentsMap > | ttMap_ |
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > | ttMapToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
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 |
produce a subset of TP information
Definition at line 26 of file EcalTPSkimmer.h.
|
explicit |
Definition at line 19 of file EcalTPSkimmer.cc.
References chStatusToken_, chStatusToSelectTP_, doBarrel_, doEndcap_, edm::ParameterSet::getParameter(), skipModule_, AlCaHLTBitMon_QueryRunRegistry::string, tpInputToken_, tpOutputCollection_, and ttMapToken_.
|
override |
Definition at line 36 of file EcalTPSkimmer.cc.
|
private |
Definition at line 114 of file EcalTPSkimmer.cc.
References insertedTP_, and ecaldqm::ttId().
Referenced by produce().
|
private |
Definition at line 116 of file EcalTPSkimmer.cc.
References edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), insertedTP_, edm::SortedCollection< T, SORT >::push_back(), and ecaldqm::ttId().
Referenced by produce().
|
override |
Definition at line 38 of file EcalTPSkimmer.cc.
References alreadyInserted(), chStatusToken_, chStatusToSelectTP_, EBDetId::detIdFromDenseIndex(), EEDetId::detIdFromDenseIndex(), doBarrel_, doEndcap_, EcalCondObjectContainer< T >::end(), spr::find(), EcalCondObjectContainer< T >::find(), edm::Event::getByToken(), edm::EventSetup::getHandle(), mps_fire::i, insertedTP_, insertTP(), EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, eostools::move(), edm::Event::put(), skipModule_, hgcalTowerProducer_cfi::tower, EcalTrigTowerConstituentsMap::towerOf(), tpInputToken_, tpOutputCollection_, ttMap_, ttMapToken_, EBDetId::validDenseIndex(), and EEDetId::validDenseIndex().
|
private |
Definition at line 45 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 42 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 39 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 40 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 47 of file EcalTPSkimmer.h.
Referenced by alreadyInserted(), insertTP(), and produce().
|
private |
Definition at line 38 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 36 of file EcalTPSkimmer.h.
|
private |
Definition at line 49 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 51 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 43 of file EcalTPSkimmer.h.
Referenced by produce().
|
private |
Definition at line 44 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().