24 :
debug(config.getUntrackedParameter<
bool>(
"debug"))
40 cout <<
"[DTTTrigSyncT0Only] T0 version: " << t0->
version() << endl;
58 cout <<
"[DTTTrigSyncT0Only] Offset (ns): " << tTrig + wirePropCorr - tofCorr << endl
59 <<
" various contributions are: " << endl
61 <<
" Propagation along wire delay (ns): " << wirePropCorr << endl
62 <<
" TOF correction (ns): " << tofCorr << endl
66 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
double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globPos, double &tTrig, double &wirePropCorr, double &tofCorr) override
DTTTrigSyncT0Only(const edm::ParameterSet &config)
Constructor.
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.
double emulatorOffset(const DTWireId &wireId, double &tTrig, double &t0cell) override
~DTTTrigSyncT0Only() override
Destructor.
const std::string & version() const
access version