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 |
edm::InputTag const | src_ |
edm::ESGetToken < PixelClusterParameterEstimator, TkPixelCPERecord > const | tCPE_ |
edm::EDPutTokenT< HMSstorage > const | tHost_ |
edm::EDGetTokenT < edmNew::DetSetVector < SiPixelCluster > > const | tPixelCluster_ |
edm::EDPutTokenT < SiPixelRecHitCollection > const | tPut_ |
edm::ESGetToken < TrackerGeometry, TrackerDigiGeometryRecord > const | 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_, edm::Event::emplace(), relativeConstraints::geom, edm::Event::getByToken(), edm::EventSetup::getData(), input, eostools::move(), convertSQLitetoXML_cfg::output, run(), edmNew::DetSetVector< T >::shrink_to_fit(), 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_, edm::Event::emplace(), PixelCPEBase::getParameters(), mps_fire::i, TrackerGeometry::idToDetUnit(), GeomDet::index(), input, edmNew::makeRefTo(), gpuClustering::maxNumModules, eostools::move(), dqmiodumpmetadata::n, 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().