TotemTimingRecHitProducer::TotemTimingRecHitProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
Definition at line 49 of file TotemTimingRecHitProducer.cc.
53 produces<edm::DetSetVector<TotemTimingRecHit> >();
T getParameter(std::string const &) const
TotemTimingRecHitProducerAlgorithm algo_
edm::EDGetTokenT< edm::DetSetVector< TotemTimingDigi > > digiToken_
TotemTimingRecHitProducer::~TotemTimingRecHitProducer |
( |
| ) |
|
|
override |
Definition at line 79 of file TotemTimingRecHitProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), DEFINE_FWK_MODULE, MillePedeFileConverter_cfg::e, and AlCaHLTBitMon_QueryRunRegistry::string.
84 ->setComment(
"input digis collection to retrieve" );
86 ->setComment(
"file with SAMPIC calibrations, ADC and INL; if /dev/null or corrupted, no calibration will be applied" );
87 desc.
add<
int>(
"baselinePoints", 8 )
88 ->setComment(
"number of points to be used for the baseline" );
89 desc.
add<
double>(
"saturationLimit", 0.85 )
90 ->setComment(
"all signals with max > saturationLimit will be considered as saturated" );
91 desc.
add<
double>(
"cfdFraction", 0.5 )
92 ->setComment(
"fraction of the CFD" );
93 desc.
add<
int>(
"smoothingPoints", 20 )
94 ->setComment(
"number of points to be used for the smoothing using sinc (lowpass)" );
95 desc.
add<
double>(
"lowPassFrequency", 0 )
96 ->setComment(
"Frequency (in GHz) for CFD smoothing, 0 for disabling the filter" );
97 desc.
add<
double>(
"hysteresis", 5
e-3 )
98 ->setComment(
"hysteresis of the discriminator" );
101 descr.
add(
"totemTimingRecHits", desc );
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition at line 60 of file TotemTimingRecHitProducer.cc.
References algo_, TotemTimingRecHitProducerAlgorithm::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
Event setup record containing the real (actual) geometry information.
ESHandle< TrackerGeometry > geometry
TotemTimingRecHitProducerAlgorithm algo_
void build(const CTPPSGeometry *, const edm::DetSetVector< TotemTimingDigi > &, edm::DetSetVector< TotemTimingRecHit > &)
edm::EDGetTokenT< edm::DetSetVector< TotemTimingDigi > > digiToken_
T const * product() const