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;
virtual ~DTTTrigSyncT0Only()
Destructor.
virtual void setES(const edm::EventSetup &setup)
Pass the Event Setup to the algo at each event.
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.
virtual double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globPos, double &tTrig, double &wirePropCorr, double &tofCorr)
const std::string & version() const
access version
virtual double emulatorOffset(const DTWireId &wireId, double &tTrig, double &t0cell)