#include <ProbeTreeProducer.cc>
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::unique_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 DEFINE_FWK_MODULE, edm::getProcessParameterSetContainingModule(), edm::EDFilter::moduleDescription(), and probeFiller_.
|
overrideprivatevirtual |
Definition at line 73 of file ProbeTreeProducer.cc.
References cut_, filter_, plotBeamSpotDB::first, edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), maxProbes_, min(), probeFiller_, probesToken_, edm::View< T >::refAt(), mps_fire::result, edm::second(), edm::View< T >::size(), 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().