CTPPSDiamondRecHitProducer::CTPPSDiamondRecHitProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
Definition at line 52 of file CTPPSDiamondRecHitProducer.cc.
56 produces<edm::DetSetVector<CTPPSDiamondRecHit> >();
T getParameter(std::string const &) const
edm::EDGetTokenT< edm::DetSetVector< CTPPSDiamondDigi > > digiToken_
CTPPSDiamondRecHitProducerAlgorithm algo_
A watcher to detect geometry changes.
CTPPSDiamondRecHitProducer::~CTPPSDiamondRecHitProducer |
( |
| ) |
|
|
override |
Definition at line 82 of file CTPPSDiamondRecHitProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and DEFINE_FWK_MODULE.
87 ->setComment(
"input digis collection to retrieve" );
88 desc.
add<
double>(
"timeSliceNs", 25.0/1024.0 )
89 ->setComment(
"conversion constant between HPTDC timing bin size and nanoseconds" );
90 desc.
add<
int>(
"timeShift", 0 )
91 ->setComment(
"overall time offset to apply on all hits in all channels" );
93 descr.
add(
"ctppsDiamondRecHits", desc );
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition at line 63 of file CTPPSDiamondRecHitProducer.cc.
References algo_, CTPPSDiamondRecHitProducerAlgorithm::build(), digiToken_, geometry, edm::EventSetup::get(), edm::Event::getByToken(), eostools::move(), edm::ESHandle< T >::product(), and edm::Event::put().
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< edm::DetSetVector< CTPPSDiamondDigi > > digiToken_
Event setup record containing the real (actual) geometry information.
void build(const CTPPSGeometry *, const edm::DetSetVector< CTPPSDiamondDigi > &, edm::DetSetVector< CTPPSDiamondRecHit > &)
ESHandle< TrackerGeometry > geometry
CTPPSDiamondRecHitProducerAlgorithm algo_
A watcher to detect geometry changes.
T const * product() const