1 #ifndef DTTPDeadWriter_H 2 #define DTTPDeadWriter_H
void beginRun(const edm::Run &, const edm::EventSetup &setup) override
Read t0 map from event.
~DTTPDeadWriter() override
Destructor.
void endRun(const edm::Run &, const edm::EventSetup &setup) override
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Compute the ttrig by fiting the TB rising edge.
DTTPDeadWriter(const edm::ParameterSet &pset)
Constructor.
edm::ESHandle< DTGeometry > muonGeom
edm::ESGetToken< DTT0, DTT0Rcd > t0Token_
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomToken_
void endJob() override
Write ttrig in the DB.