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 (const edmNew::DetSetVector< SiPixelCluster > &input, SiPixelRecHitCollectionNew &output, TrackerGeometry const &geom) |
void | run (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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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::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<> | |
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 |
Definition at line 89 of file SiPixelRecHitConverter.cc.
|
explicit |
Constructor: set the ParameterSet and defer all thinking to setupCPE().
Definition at line 131 of file SiPixelRecHitConverter.cc.
|
override |
Definition at line 140 of file SiPixelRecHitConverter.cc.
|
override |
The "Event" entrypoint: gets called by framework for every event.
Definition at line 145 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 cms::SiPixelRecHitConverter::run | ( | const edmNew::DetSetVector< SiPixelCluster > & | input, |
SiPixelRecHitCollectionNew & | output, | ||
TrackerGeometry const & | geom | ||
) |
Referenced by produce().
void SiPixelRecHitConverter::run | ( | 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 173 of file SiPixelRecHitConverter.cc.
References cms::cuda::assert(), edmNew::DetSetVector< T >::begin(), cpe_, edmNew::DetSetVector< T >::end(), relativeConstraints::geom, PixelCPEBase::getParameters(), input, edmNew::makeRefTo(), convertSQLitetoXML_cfg::output, and edmNew::DetSetVector< T >::FastFiller::push_back().
|
private |
const PixelClusterParameterEstimator * cpe_; // what we got (for now, one ptr to base class)
Definition at line 119 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 125 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 120 of file SiPixelRecHitConverter.cc.
|
private |
Definition at line 124 of file SiPixelRecHitConverter.cc.
Referenced by produce().
|
private |
Definition at line 121 of file SiPixelRecHitConverter.cc.
Referenced by produce().
|
private |
Definition at line 122 of file SiPixelRecHitConverter.cc.
Referenced by produce().
|
private |
Definition at line 123 of file SiPixelRecHitConverter.cc.
Referenced by produce().