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< SiPixelClusterCollectionNew > 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 |
std::string const | cpeName_ |
bool | m_newCont |
edm::InputTag const | src_ |
edm::ESGetToken< PixelClusterParameterEstimator, TkPixelCPERecord > const | tCPE_ |
edm::EDPutTokenT< HMSstorage > const | tHost_ |
edm::EDGetTokenT< SiPixelClusterCollectionNew > 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 92 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 116 of file SiPixelRecHitConverter.cc.
|
explicit |
Constructor: set the ParameterSet and defer all thinking to setupCPE().
Definition at line 133 of file SiPixelRecHitConverter.cc.
|
override |
Definition at line 143 of file SiPixelRecHitConverter.cc.
|
override |
The "Event" entrypoint: gets called by framework for every event.
Definition at line 148 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< SiPixelClusterCollectionNew > | 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 176 of file SiPixelRecHitConverter.cc.
References cms::cuda::assert(), cpe_, cpeName_, relativeConstraints::geom, PixelCPEBase::getParameters(), mps_fire::i, iEvent, GeomDet::index(), input, LogDebug, edmNew::makeRefTo(), gpuClustering::maxNumModules, eostools::move(), dqmiodumpmetadata::n, convertSQLitetoXML_cfg::output, edmNew::DetSetVector< T >::FastFiller::push_back(), edmNew::DetSetVector< T >::FastFiller::size(), tHost_, and mkLumiAveragedPlots::tuple.
Referenced by produce().
|
private |
Definition at line 119 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 121 of file SiPixelRecHitConverter.cc.
Referenced by run().
|
private |
Definition at line 127 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 120 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 126 of file SiPixelRecHitConverter.cc.
Referenced by produce().
|
private |
Definition at line 124 of file SiPixelRecHitConverter.cc.
Referenced by run().
|
private |
Definition at line 122 of file SiPixelRecHitConverter.cc.
Referenced by produce().
|
private |
Definition at line 123 of file SiPixelRecHitConverter.cc.
Referenced by produce().
|
private |
Definition at line 125 of file SiPixelRecHitConverter.cc.
Referenced by produce().