Go to the documentation of this file.
58 applyCalib_(iConfig.getParameter<
bool>(
"applyCalibration")),
61 timingCalibrationToken_ = esConsumes<PPSTimingCalibration, PPSTimingCalibrationRcd>(
64 produces<edm::DetSetVector<CTPPSDiamondRecHit> >();
68 auto pOut = std::make_unique<edm::DetSetVector<CTPPSDiamondRecHit> >();
74 if (!digis->empty()) {
93 ->setComment(
"input digis collection to retrieve");
94 desc.add<
std::string>(
"timingCalibrationTag",
"GlobalTag:PPSDiamondTimingCalibration")
95 ->setComment(
"input tag for timing calibrations retrieval");
96 desc.add<
double>(
"timeSliceNs", 25.0 / 1024.0)
97 ->setComment(
"conversion constant between HPTDC timing bin size and nanoseconds");
98 desc.add<
bool>(
"applyCalibration",
true)->setComment(
"switch on/off the timing calibration");
100 descr.
add(
"ctppsDiamondRecHits",
desc);
bool check(const edm::EventSetup &iSetup)
Event setup record containing the real (actual) geometry information.
The manager class for TOTEM RP geometry.
edm::ESWatcher< PPSTimingCalibrationRcd > calibWatcher_
A watcher to detect timing calibration changes.
void produce(edm::Event &, const edm::EventSetup &) override
void build(const CTPPSGeometry &, const edm::DetSetVector< CTPPSDiamondDigi > &, edm::DetSetVector< CTPPSDiamondRecHit > &)
edm::EDGetTokenT< edm::DetSetVector< CTPPSDiamondDigi > > digiToken_
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::ESGetToken< CTPPSGeometry, VeryForwardRealGeometryRecord > geometryToken_
void setCalibration(const PPSTimingCalibration &)
edm::ESGetToken< PPSTimingCalibration, PPSTimingCalibrationRcd > timingCalibrationToken_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
static void fillDescriptions(edm::ConfigurationDescriptions &)
CTPPSDiamondRecHitProducerAlgorithm algo_
CTPPSDiamondRecHitProducer(const edm::ParameterSet &)
T getParameter(std::string const &) const