31 cout <<
"[DTTTrigSyncT0Only] T0 version: " << t0->
version() << endl;
40 double& tofCorr)
const {
46 cout <<
"[DTTTrigSyncT0Only] Offset (ns): " << tTrig + wirePropCorr - tofCorr << endl
47 <<
" various contributions are: " 50 <<
" Propagation along wire delay (ns): " << wirePropCorr << endl
51 <<
" TOF correction (ns): " << tofCorr << endl
55 return tTrig + wirePropCorr - tofCorr;
def setup(process, global_tag, zero_tesla=False)
int get(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &t0mean, float &t0rms, DTTimeUnits::type unit) const
DTTTrigSyncT0Only(const edm::ParameterSet &config)
Constructor.
double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globPos, double &tTrig, double &wirePropCorr, double &tofCorr) const override
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.
~DTTTrigSyncT0Only() override
Destructor.
const std::string & version() const
access version
double emulatorOffset(const DTWireId &wireId, double &tTrig, double &t0cell) const override