51 applyCalib_(iConfig.getParameter<
bool>(
"applyCalibration")),
53 produces<edmNew::DetSetVector<TotemT2RecHit> >();
57 auto pOut = std::make_unique<edmNew::DetSetVector<TotemT2RecHit> >();
74 ->setComment(
"input digis collection to retrieve");
75 desc.add<
double>(
"timeSliceNs", 25.0 / 4.0)
76 ->setComment(
"conversion constant between timing bin size and nanoseconds");
77 desc.add<
bool>(
"applyCalibration",
false)->setComment(
"switch on/off the timing calibration (not in use)");
79 descr.
add(
"totemT2RecHits",
desc);
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
static void fillDescriptions(edm::ConfigurationDescriptions &)
edm::EDGetTokenT< edmNew::DetSetVector< TotemT2Digi > > digiToken_
void build(const TotemGeometry &, const edmNew::DetSetVector< TotemT2Digi > &, edmNew::DetSetVector< TotemT2RecHit > &) override
TotemT2RecHitProducerAlgorithm algo_
#define DEFINE_FWK_MODULE(type)
edm::ESGetToken< TotemGeometry, TotemGeometryRcd > geometryToken_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Event setup record containing the real (actual) geometry information.
TotemT2RecHitProducer(const edm::ParameterSet &)
void produce(edm::Event &, const edm::EventSetup &) override
const bool applyCalib_
A watcher to detect timing calibration changes.