Public Member Functions | |
void | produce (edm::Event &e, const edm::EventSetup &c) override |
The "Event" entrypoint: gets called by framework for every event. More... | |
void | run (edm::Event &e, edm::Handle< edmNew::DetSetVector< SiPixelCluster >> inputhandle, SiPixelRecHitCollectionNew &output, TrackerGeometry const &geom) |
SiPixelRecHitConverter (const edm::ParameterSet &conf) | |
Constructor: set the ParameterSet and defer all thinking to setupCPE(). More... | |
~SiPixelRecHitConverter () override | |
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 |
Private Types | |
using | HMSstorage = HostProduct< uint32_t[]> |
Private Attributes | |
PixelCPEBase const * | cpe_ = nullptr |
const PixelClusterParameterEstimator * cpe_; // what we got (for now, one ptr to base class) More... | |
bool | m_newCont |
const edm::InputTag | src_ |
const edm::ESGetToken< PixelClusterParameterEstimator, TkPixelCPERecord > | tCPE_ |
const edm::EDPutTokenT< HMSstorage > | tHost_ |
const edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > | tPixelCluster_ |
const edm::EDPutTokenT< SiPixelRecHitCollection > | tPut_ |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | tTrackerGeom_ |
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 |
Definition at line 93 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 117 of file SiPixelRecHitConverter.cc.
|
explicit |
Constructor: set the ParameterSet and defer all thinking to setupCPE().
Definition at line 134 of file SiPixelRecHitConverter.cc.
|
override |
Definition at line 144 of file SiPixelRecHitConverter.cc.
|
override |
The "Event" entrypoint: gets called by framework for every event.
Definition at line 149 of file SiPixelRecHitConverter.cc.
References cpe_, MillePedeFileConverter_cfg::e, relativeConstraints::geom, edm::EventSetup::getData(), input, eostools::move(), convertSQLitetoXML_cfg::output, run(), tCPE_, tPixelCluster_, tPut_, and tTrackerGeom_.
void SiPixelRecHitConverter::run | ( | edm::Event & | iEvent, |
edm::Handle< edmNew::DetSetVector< SiPixelCluster >> | inputhandle, | ||
SiPixelRecHitCollectionNew & | output, | ||
TrackerGeometry const & | geom | ||
) |
Iterate over DetUnits, then over Clusters and invoke the CPE on each, and make a RecHit to store the result. New interface reading DetSetVector by V.Chiochia (May 30th, 2006)
Definition at line 177 of file SiPixelRecHitConverter.cc.
References cms::cuda::assert(), cpe_, relativeConstraints::geom, PixelCPEBase::getParameters(), mps_fire::i, iEvent, GeomDet::index(), input, edmNew::makeRefTo(), gpuClustering::maxNumModules, eostools::move(), dqmiodumpmetadata::n, convertSQLitetoXML_cfg::output, edmNew::DetSetVector< T >::FastFiller::push_back(), and tHost_.
Referenced by produce().
|
private |
const PixelClusterParameterEstimator * cpe_; // what we got (for now, one ptr to base class)
Definition at line 121 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 128 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 122 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 127 of file SiPixelRecHitConverter.cc.
Referenced by produce().
|
private |
Definition at line 125 of file SiPixelRecHitConverter.cc.
Referenced by run().
|
private |
Definition at line 123 of file SiPixelRecHitConverter.cc.
Referenced by produce().
|
private |
Definition at line 124 of file SiPixelRecHitConverter.cc.
Referenced by produce().
|
private |
Definition at line 126 of file SiPixelRecHitConverter.cc.
Referenced by produce().