EDProducer to cluster FTLRecHits into FTLClusters. More...
Public Member Functions | |
MTDClusterProducer (const edm::ParameterSet &conf) | |
Constructor: set the ParameterSet and defer all thinking to setupClusterizer(). More... | |
void | produce (edm::Event &e, const edm::EventSetup &c) override |
The "Event" entrypoint: gets called by framework for every event. More... | |
template<typename T > | |
void | run (const T &input, FTLClusterCollection &output) |
Iterate over DetUnits, and invoke the PixelClusterizer on each. More... | |
~MTDClusterProducer () override=default | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
const edm::EDGetTokenT< FTLRecHitCollection > | btlHits_ |
std::unique_ptr< MTDClusterizerBase > | clusterizer_ |
const std::string | clusterMode_ |
const edm::EDGetTokenT< FTLRecHitCollection > | etlHits_ |
const std::string | ftlbInstance_ |
const std::string | ftleInstance_ |
const MTDGeometry * | geom_ |
const MTDTopology * | topo_ |
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 |
EDProducer to cluster FTLRecHits into FTLClusters.
Definition at line 39 of file MTDClusterProducer.cc.
|
explicit |
Constructor: set the ParameterSet and defer all thinking to setupClusterizer().
Definition at line 70 of file MTDClusterProducer.cc.
References clusterizer_, clusterMode_, Exception, ftlbInstance_, and ftleInstance_.
|
overridedefault |
|
static |
Definition at line 95 of file MTDClusterProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), MTDThresholdClusterizer::fillDescriptions(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
The "Event" entrypoint: gets called by framework for every event.
Definition at line 109 of file MTDClusterProducer.cc.
References btlHits_, etlHits_, ftlbInstance_, ftleInstance_, relativeConstraints::geom, geom_, edm::EventSetup::get(), edm::Event::getByToken(), eostools::move(), edm::ESHandle< T >::product(), edm::Event::put(), run(), and topo_.
void MTDClusterProducer::run | ( | const T & | input, |
FTLClusterCollection & | output | ||
) |
Iterate over DetUnits, and invoke the PixelClusterizer on each.
Definition at line 140 of file MTDClusterProducer.cc.
References clusterizer_, clusterMode_, DEFINE_FWK_MODULE, Exception, geom_, LogDebug, edmNew::DetSetVector< T >::size(), and topo_.
Referenced by produce().
|
private |
Definition at line 54 of file MTDClusterProducer.cc.
Referenced by produce().
|
private |
Definition at line 61 of file MTDClusterProducer.cc.
Referenced by MTDClusterProducer(), and run().
|
private |
Definition at line 60 of file MTDClusterProducer.cc.
Referenced by MTDClusterProducer(), and run().
|
private |
Definition at line 55 of file MTDClusterProducer.cc.
Referenced by produce().
|
private |
Definition at line 57 of file MTDClusterProducer.cc.
Referenced by MTDClusterProducer(), and produce().
|
private |
Definition at line 58 of file MTDClusterProducer.cc.
Referenced by MTDClusterProducer(), and produce().
|
private |
Definition at line 63 of file MTDClusterProducer.cc.
|
private |
Definition at line 64 of file MTDClusterProducer.cc.