#include <DTTTrigBaseSync.h>
Public Member Functions | |
DTTTrigBaseSync () | |
Constructor. | |
virtual double | emulatorOffset (const DTWireId &wireId, double &tTrig, double &t0cell)=0 |
virtual double | emulatorOffset (const DTWireId &wireId) |
double | offset (const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globalPos) |
virtual double | offset (const DTWireId &wireId)=0 |
virtual double | offset (const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globalPos, double &tTrig, double &wirePropCorr, double &tofCorr)=0 |
virtual void | setES (const edm::EventSetup &setup)=0 |
Pass the Event Setup to the synchronization module at each event. | |
virtual | ~DTTTrigBaseSync () |
Destructor. |
Base class to define the offsets for 1D DT RecHit building
Definition at line 22 of file DTTTrigBaseSync.h.
DTTTrigBaseSync::DTTTrigBaseSync | ( | ) |
DTTTrigBaseSync::~DTTTrigBaseSync | ( | ) | [virtual] |
double DTTTrigBaseSync::emulatorOffset | ( | const DTWireId & | wireId | ) | [virtual] |
Time (ns) to be subtracted to the digi time for emulation purposes It does not take into account TOF and signal propagation along the wire
Definition at line 31 of file DTTTrigBaseSync.cc.
{ double tTrig = 0.; double t0cell = 0.; return emulatorOffset(wireId, tTrig, t0cell); }
virtual double DTTTrigBaseSync::emulatorOffset | ( | const DTWireId & | wireId, |
double & | tTrig, | ||
double & | t0cell | ||
) | [pure virtual] |
Time (ns) to be subtracted to the digi time for emulation purposes It does not take into account TOF and signal propagation along the wire It also returns the different contributions separately:
Implemented in DTTTrigSyncFromDB, DTTTrigSyncT0Only, and DTTTrigSyncTOFCorr.
virtual double DTTTrigBaseSync::offset | ( | const DTLayer * | layer, |
const DTWireId & | wireId, | ||
const GlobalPoint & | globalPos, | ||
double & | tTrig, | ||
double & | wirePropCorr, | ||
double & | tofCorr | ||
) | [pure virtual] |
Time to be subtracted to the digi time, Parameters are the layer and the wireId to which the digi is referred and the estimation of the 3D hit position (globPos) It also returns the different contributions separately:
Implemented in DTTTrigSyncFromDB, DTTTrigSyncT0Only, and DTTTrigSyncTOFCorr.
double DTTTrigBaseSync::offset | ( | const DTLayer * | layer, |
const DTWireId & | wireId, | ||
const GlobalPoint & | globalPos | ||
) |
Time (ns) to be subtracted to the digi time. Parameters are the layer and the wireId to which the digi is referred and the estimation of the 3D hit position (globPos)
Definition at line 20 of file DTTTrigBaseSync.cc.
Referenced by DTTPAnalyzer::analyze(), DTLocalTriggerSynchTask::analyze(), DTLocalTriggerSynchTask::beginRun(), DTLinearDriftFromDBAlgo::compute(), DTLinearDriftAlgo::compute(), and DTTMax::InfoLayer::InfoLayer().
{ double tTrig = 0; double wireProp = 0; double tof = 0; return offset(layer, wireId, globalPos, tTrig, wireProp, tof); }
virtual double DTTTrigBaseSync::offset | ( | const DTWireId & | wireId | ) | [pure virtual] |
Time (ns) to be subtracted to the digi time. It does not take into account TOF and signal propagation along the wire
Implemented in DTTTrigSyncFromDB, DTTTrigSyncT0Only, and DTTTrigSyncTOFCorr.
virtual void DTTTrigBaseSync::setES | ( | const edm::EventSetup & | setup | ) | [pure virtual] |
Pass the Event Setup to the synchronization module at each event.
Implemented in DTTTrigSyncFromDB, DTTTrigSyncT0Only, and DTTTrigSyncTOFCorr.
Referenced by DTVDriftCalibration::analyze(), DTLocalTriggerSynchTask::beginRun(), DTTPAnalyzer::beginRun(), DTLinearDriftFromDBAlgo::setES(), and DTLinearDriftAlgo::setES().