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 | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
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_ |
edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > | mtdgeoToken_ |
edm::ESGetToken< MTDTopology, MTDTopologyRcd > | mtdtopoToken_ |
const MTDTopology * | topo_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::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 72 of file MTDClusterProducer.cc.
References clusterizer_, clusterMode_, Exception, ftlbInstance_, ftleInstance_, mtdgeoToken_, and mtdtopoToken_.
|
overridedefault |
|
static |
Definition at line 98 of file MTDClusterProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, MTDThresholdClusterizer::fillPSetDescription(), ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
The "Event" entrypoint: gets called by framework for every event.
Definition at line 112 of file MTDClusterProducer.cc.
References btlHits_, MillePedeFileConverter_cfg::e, etlHits_, ftlbInstance_, ftleInstance_, relativeConstraints::geom, geom_, edm::EventSetup::getTransientHandle(), edm::HandleBase::isValid(), eostools::move(), mtdgeoToken_, mtdtopoToken_, run(), and topo_.
void MTDClusterProducer::run | ( | const T & | input, |
FTLClusterCollection & | output | ||
) |
Iterate over DetUnits, and invoke the PixelClusterizer on each.
Definition at line 147 of file MTDClusterProducer.cc.
References clusterizer_, clusterMode_, Exception, geom_, input, LogDebug, convertSQLitetoXML_cfg::output, 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 65 of file MTDClusterProducer.cc.
Referenced by MTDClusterProducer(), and produce().
|
private |
Definition at line 66 of file MTDClusterProducer.cc.
Referenced by MTDClusterProducer(), and produce().
|
private |
Definition at line 64 of file MTDClusterProducer.cc.