47 double& tofCorr)
const override;
84 double& tofCorr)
const {
90 edm::LogPrint(
"[DTTTrigSyncT0Only]") <<
"Offset (ns): " <<
tTrig + wirePropCorr - tofCorr << endl
91 <<
" various contributions are: " 94 <<
" Propagation along wire delay (ns): " << wirePropCorr << endl
95 <<
" TOF correction (ns): " << tofCorr << endl
99 return tTrig + wirePropCorr - tofCorr;
constexpr std::array< uint8_t, layerIndexSize > layer
DTTTrigSyncT0Only(const edm::ParameterSet &config, edm::ConsumesCollector)
Constructor.
Log< level::Warning, true > LogPrint
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.
const std::string & version() const
access version
double emulatorOffset(const DTWireId &wireId, double &tTrig, double &t0cell) const override
int get(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &t0mean, float &t0rms, DTTimeUnits::type unit) const
~DTTTrigSyncT0Only() override
Destructor.
double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globPos, double &tTrig, double &wirePropCorr, double &tofCorr) const override
#define DEFINE_EDM_PLUGIN(factory, type, name)
edm::ESGetToken< DTT0, DTT0Rcd > t0Token_