#include <SiPixelRecHitConverter.h>
Public Member Functions | |
virtual void | beginJob () |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
The "Event" entrypoint: gets called by framework for every event. More... | |
void | run (const edmNew::DetSetVector< SiPixelCluster > &input, SiPixelRecHitCollectionNew &output, edm::ESHandle< TrackerGeometry > &geom) |
void | run (edm::Handle< edmNew::DetSetVector< SiPixelCluster > > inputhandle, SiPixelRecHitCollectionNew &output, edm::ESHandle< TrackerGeometry > &geom) |
SiPixelRecHitConverter (const edm::ParameterSet &conf) | |
Constructor: set the ParameterSet and defer all thinking to setupCPE(). More... | |
virtual | ~SiPixelRecHitConverter () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Attributes | |
edm::ParameterSet | conf_ |
const PixelClusterParameterEstimator * | cpe_ |
std::string | cpeName_ |
bool | m_newCont |
bool | ready_ |
edm::InputTag | src_ |
int | theVerboseLevel |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 62 of file SiPixelRecHitConverter.h.
|
explicit |
Constructor: set the ParameterSet and defer all thinking to setupCPE().
Definition at line 48 of file SiPixelRecHitConverter.cc.
|
virtual |
Definition at line 63 of file SiPixelRecHitConverter.cc.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 71 of file SiPixelRecHitConverter.cc.
|
virtual |
The "Event" entrypoint: gets called by framework for every event.
Implements edm::EDProducer.
Definition at line 78 of file SiPixelRecHitConverter.cc.
References conf_, cpe_, cpeName_, relativeConstraints::geom, edm::EventSetup::get(), edm::Event::getByLabel(), edm::ParameterSet::getParameter(), LaserDQM_cfg::input, convertSQLitetoXML_cfg::output, edm::Event::put(), ready_, run(), and src_.
void cms::SiPixelRecHitConverter::run | ( | const edmNew::DetSetVector< SiPixelCluster > & | input, |
SiPixelRecHitCollectionNew & | output, | ||
edm::ESHandle< TrackerGeometry > & | geom | ||
) |
Referenced by produce().
void SiPixelRecHitConverter::run | ( | edm::Handle< edmNew::DetSetVector< SiPixelCluster > > | inputhandle, |
SiPixelRecHitCollectionNew & | output, | ||
edm::ESHandle< TrackerGeometry > & | 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 117 of file SiPixelRecHitConverter.cc.
References edmNew::DetSetVector< T >::begin(), cpe_, cpeName_, cond::rpcobgas::detid, edmNew::DetSetVector< T >::end(), LaserDQM_cfg::input, asciidump::le, ClusterParameterEstimator< T >::localParameters(), LogDebug, edmNew::makeRefTo(), edmNew::DetSetVector< T >::FastFiller::push_back(), PixelCPEBase::rawQualityWord(), ready_, edmNew::DetSetVector< T >::FastFiller::size(), and theVerboseLevel.
|
private |
Definition at line 95 of file SiPixelRecHitConverter.h.
Referenced by produce().
|
private |
Definition at line 98 of file SiPixelRecHitConverter.h.
|
private |
Definition at line 97 of file SiPixelRecHitConverter.h.
|
private |
Definition at line 103 of file SiPixelRecHitConverter.h.
|
private |
Definition at line 100 of file SiPixelRecHitConverter.h.
|
private |
Definition at line 101 of file SiPixelRecHitConverter.h.
Referenced by produce().
|
private |
Definition at line 102 of file SiPixelRecHitConverter.h.
Referenced by run().