#include <EcalTPSkimmer.h>
Public Member Functions | |
EcalTPSkimmer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &evt, const edm::EventSetup &es) |
~EcalTPSkimmer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
bool | alreadyInserted (EcalTrigTowerDetId ttId) |
void | insertTP (EcalTrigTowerDetId ttId, edm::Handle< EcalTrigPrimDigiCollection > &in, EcalTrigPrimDigiCollection &out) |
Private Attributes | |
std::vector< uint32_t > | chStatusToSelectTP_ |
bool | doBarrel_ |
bool | doEndcap_ |
std::set< EcalTrigTowerDetId > | insertedTP_ |
bool | skipModule_ |
std::string | tpCollection_ |
edm::InputTag | tpInputCollection_ |
std::string | tpOutputCollection_ |
edm::ESHandle < EcalTrigTowerConstituentsMap > | ttMap_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
produce a subset of TP information
produce a subset of TP information
Definition at line 25 of file EcalTPSkimmer.h.
|
explicit |
Definition at line 27 of file EcalTPSkimmer.cc.
References chStatusToSelectTP_, doBarrel_, doEndcap_, edm::ParameterSet::getParameter(), skipModule_, tpInputCollection_, and tpOutputCollection_.
EcalTPSkimmer::~EcalTPSkimmer | ( | ) |
Definition at line 42 of file EcalTPSkimmer.cc.
|
private |
|
private |
Definition at line 138 of file EcalTPSkimmer.cc.
References insertedTP_, and edm::SortedCollection< T, SORT >::push_back().
Referenced by produce().
|
virtual |
Implements edm::EDProducer.
Definition at line 47 of file EcalTPSkimmer.cc.
References alreadyInserted(), chStatusToSelectTP_, EBDetId::detIdFromDenseIndex(), EEDetId::detIdFromDenseIndex(), doBarrel_, doEndcap_, spr::find(), edm::EventSetup::get(), edm::Event::getByLabel(), i, insertedTP_, insertTP(), edm::InputTag::instance(), EBDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, edm::InputTag::label(), edm::Event::put(), skipModule_, tpInputCollection_, tpOutputCollection_, ttMap_, EBDetId::validDenseIndex(), and EEDetId::validDenseIndex().
|
private |
Definition at line 43 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 41 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 46 of file EcalTPSkimmer.h.
Referenced by alreadyInserted(), insertTP(), and produce().
|
private |
Definition at line 39 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 37 of file EcalTPSkimmer.h.
|
private |
Definition at line 48 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 50 of file EcalTPSkimmer.h.
Referenced by EcalTPSkimmer(), and produce().
|
private |
Definition at line 44 of file EcalTPSkimmer.h.
Referenced by produce().