#include <CFWriter.h>
Public Member Functions | |
void | beginJob () |
void | beginRun (const edm::Run &run, const edm::EventSetup &es) override |
CFWriter (const edm::ParameterSet &conf) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) override |
virtual void | put (edm::Event &e) |
virtual | ~CFWriter () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef std::vector < edm::HepMCProduct > | HepMCProductContainer |
Private Member Functions | |
virtual void | branchesActivate (const std::string &friendlyName, std::string subdet, InputTag &tag, std::string &label) |
PCrossingFrame< SimTrack > | fctTest (const PCrossingFrame< SimTrack > &p) |
Private Attributes | |
bool | flagHepMCProduct_ |
bool | flagPCaloHit_ |
bool | flagPSimHit_ |
bool | flagSimTrack_ |
bool | flagSimVertex_ |
std::vector< std::string > | labCaloHit |
std::vector< std::string > | labSimHit |
bool | useCurrentProcessOnly_ |
std::vector< std::string > | wantedBranches_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 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) |
Definition at line 31 of file CFWriter.h.
|
private |
Definition at line 56 of file CFWriter.h.
|
explicit |
Definition at line 38 of file CFWriter.cc.
References branchesActivate(), edm::InputTag::encode(), edm::ParameterSet::exists(), flagHepMCProduct_, flagPCaloHit_, flagPSimHit_, flagSimTrack_, flagSimVertex_, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), cuy::ii, labCaloHit, diffTwoXMLs::label, labSimHit, cscdqm::h::names, AlCaHLTBitMon_QueryRunRegistry::string, subdets, GlobalPosition_Frontier_DevDB_cff::tag, and o2o::tags.
|
virtual |
Definition at line 150 of file CFWriter.cc.
|
inlinevirtual |
|
overridevirtual |
|
privatevirtual |
Definition at line 246 of file CFWriter.cc.
References EgammaHLTValidationUtils::getProcessName(), HLT_25ns14e33_v1_cff::InputTag, edm::InputTag::instance(), edm::InputTag::label(), FSQHLTOfflineSource_cfi::processName, AlCaHLTBitMon_QueryRunRegistry::string, useCurrentProcessOnly_, and wantedBranches_.
Referenced by CFWriter().
|
inlineprivate |
Definition at line 45 of file CFWriter.h.
References gather_cfg::cout, and AlCaHLTBitMon_ParallelJobs::p.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 153 of file CFWriter.cc.
References flagHepMCProduct_, flagPCaloHit_, flagPSimHit_, flagSimTrack_, flagSimVertex_, edm::Event::getByLabel(), cuy::ii, labCaloHit, labSimHit, edm::Handle< T >::product(), and edm::Event::put().
|
inlinevirtual |
Definition at line 42 of file CFWriter.h.
|
private |
Definition at line 52 of file CFWriter.h.
Referenced by CFWriter(), and produce().
|
private |
Definition at line 53 of file CFWriter.h.
Referenced by CFWriter(), and produce().
|
private |
Definition at line 54 of file CFWriter.h.
Referenced by CFWriter(), and produce().
|
private |
Definition at line 50 of file CFWriter.h.
Referenced by CFWriter(), and produce().
|
private |
Definition at line 51 of file CFWriter.h.
Referenced by CFWriter(), and produce().
|
private |
Definition at line 58 of file CFWriter.h.
Referenced by CFWriter(), and produce().
|
private |
Definition at line 57 of file CFWriter.h.
Referenced by CFWriter(), and produce().
|
private |
Definition at line 49 of file CFWriter.h.
Referenced by branchesActivate().
|
private |
Definition at line 48 of file CFWriter.h.
Referenced by branchesActivate().