56 produces<edm::DetSetVector<CTPPSDiamondRecHit> >();
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 );
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
static void fillDescriptions(edm::ConfigurationDescriptions &)
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< edm::DetSetVector< CTPPSDiamondDigi > > digiToken_
void produce(edm::Event &, const edm::EventSetup &) override
Event setup record containing the real (actual) geometry information.
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void build(const CTPPSGeometry *, const edm::DetSetVector< CTPPSDiamondDigi > &, edm::DetSetVector< CTPPSDiamondRecHit > &)
~CTPPSDiamondRecHitProducer() override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ESHandle< TrackerGeometry > geometry
CTPPSDiamondRecHitProducerAlgorithm algo_
A watcher to detect geometry changes.
CTPPSDiamondRecHitProducer(const edm::ParameterSet &)
T const * product() const