61 produces<edm::DetSetVector<TotemTimingRecHit> >();
74 if ( !digis->empty() ) {
99 ->setComment(
"input digis collection to retrieve" );
100 desc.
add<
std::string>(
"timingCalibrationTag",
"GlobalTag:TotemTimingCalibration" )
101 ->setComment(
"input tag for timing calibrations retrieval" );
102 desc.
add<
int>(
"baselinePoints", 8 )
103 ->setComment(
"number of points to be used for the baseline" );
104 desc.
add<
double>(
"saturationLimit", 0.85 )
105 ->setComment(
"all signals with max > saturationLimit will be considered as saturated" );
106 desc.
add<
double>(
"cfdFraction", 0.3 )
107 ->setComment(
"fraction of the CFD" );
108 desc.
add<
int>(
"smoothingPoints", 20 )
109 ->setComment(
"number of points to be used for the smoothing using sinc (lowpass)" );
110 desc.
add<
double>(
"lowPassFrequency", 0.7 )
111 ->setComment(
"Frequency (in GHz) for CFD smoothing, 0 for disabling the filter" );
112 desc.
add<
double>(
"hysteresis", 5.e-3 )
113 ->setComment(
"hysteresis of the discriminator" );
114 desc.
add<
bool>(
"mergeTimePeaks",
true )
115 ->setComment(
"if time peaks schould be merged" );
117 descr.
add(
"totemTimingRecHits", desc );
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
TotemTimingRecHitProducer(const edm::ParameterSet &)
edm::ESInputTag timingCalibrationTag_
Label to timing calibration tag.
Event setup record containing the real (actual) geometry information.
EventSetup record for TOTEM/PPS timing calibration information.
#define DEFINE_FWK_MODULE(type)
void produce(edm::Event &, const edm::EventSetup &) override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void build(const CTPPSGeometry &, const edm::DetSetVector< TotemTimingDigi > &, edm::DetSetVector< TotemTimingRecHit > &)
TOTEM/PPS timing detectors digi-to-rechits conversion module.
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool check(const edm::EventSetup &iSetup)
edm::ESWatcher< PPSTimingCalibrationRcd > calibWatcher_
Timing calibration parameters watcher.
ESHandle< TrackerGeometry > geometry
void setCalibration(const PPSTimingCalibration &)
TotemTimingRecHitProducerAlgorithm algo_
Digi-to-rechits transformation algorithm.
static void fillDescriptions(edm::ConfigurationDescriptions &)
edm::EDGetTokenT< edm::DetSetVector< TotemTimingDigi > > digiToken_
Input digi collection.