#include <ProbeTreeProducer.cc>
Public Member Functions | |
ProbeTreeProducer (const edm::ParameterSet &) | |
~ProbeTreeProducer () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 Member Functions | |
virtual void | endJob () override |
virtual bool | filter (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
StringCutObjectSelector < reco::Candidate, true > | cut_ |
The selector object. More... | |
bool | filter_ |
Specifies whether this module should filter. More... | |
int32_t | maxProbes_ |
The number of first probes used to fill the tree. More... | |
std::auto_ptr < tnp::BaseTreeFiller > | probeFiller_ |
The object that actually computes variables and fills the tree for the probe. More... | |
edm::EDGetTokenT < reco::CandidateView > | probesToken_ |
InputTag to the collection of all probes. More... | |
std::string | sortDescendingBy_ |
Name of the reco::Candidate function used for sorting. More... | |
StringObjectFunction < reco::Candidate, true > | sortFunction_ |
The StringObjectFunction itself. More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Description: TTree producer based on input probe parameters
Implementation: <Notes on="" implementation>="">
Definition at line 28 of file ProbeTreeProducer.cc.
|
explicit |
Definition at line 59 of file ProbeTreeProducer.cc.
ProbeTreeProducer::~ProbeTreeProducer | ( | ) |
Definition at line 70 of file ProbeTreeProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 98 of file ProbeTreeProducer.cc.
References edm::getProcessParameterSetContainingModule(), edm::EDFilter::moduleDescription(), and probeFiller_.
|
overrideprivatevirtual |
Implements edm::EDFilter.
Definition at line 73 of file ProbeTreeProducer.cc.
References cut_, filter_, plotBeamSpotDB::first, edm::Event::getByToken(), i, edm::HandleBase::isValid(), maxProbes_, min(), probeFiller_, probesToken_, query::result, edm::second(), python.multivaluedict::sort(), sortDescendingBy_, and sortFunction_.
|
private |
|
private |
Specifies whether this module should filter.
Definition at line 44 of file ProbeTreeProducer.cc.
Referenced by filter().
|
private |
The number of first probes used to fill the tree.
Definition at line 53 of file ProbeTreeProducer.cc.
Referenced by filter().
|
private |
The object that actually computes variables and fills the tree for the probe.
Definition at line 56 of file ProbeTreeProducer.cc.
|
private |
InputTag to the collection of all probes.
Definition at line 38 of file ProbeTreeProducer.cc.
Referenced by filter().
|
private |
Name of the reco::Candidate function used for sorting.
Definition at line 47 of file ProbeTreeProducer.cc.
Referenced by filter().
|
private |
The StringObjectFunction itself.
Definition at line 50 of file ProbeTreeProducer.cc.
Referenced by filter().