CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
DTTTrigBaseSync Class Referenceabstract

#include <DTTTrigBaseSync.h>

Inheritance diagram for DTTTrigBaseSync:
DTTTrigSyncFromDB DTTTrigSyncT0Only DTTTrigSyncTOFCorr

Public Member Functions

 DTTTrigBaseSync ()
 Constructor. More...
 
virtual double emulatorOffset (const DTWireId &wireId)
 
virtual double emulatorOffset (const DTWireId &wireId, double &tTrig, double &t0cell)=0
 
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. More...
 
virtual ~DTTTrigBaseSync ()
 Destructor. More...
 

Detailed Description

Base class to define the offsets for 1D DT RecHit building

Author
G. Cerminara - INFN Torino

Definition at line 20 of file DTTTrigBaseSync.h.

Constructor & Destructor Documentation

DTTTrigBaseSync::DTTTrigBaseSync ( )

Constructor.

Definition at line 10 of file DTTTrigBaseSync.cc.

10 {}
DTTTrigBaseSync::~DTTTrigBaseSync ( )
virtual

Destructor.

Definition at line 14 of file DTTTrigBaseSync.cc.

14 {}

Member Function Documentation

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 29 of file DTTTrigBaseSync.cc.

29  {
30 
31  double tTrig = 0.;
32  double t0cell = 0.;
33  return emulatorOffset(wireId, tTrig, t0cell);
34 }
virtual double emulatorOffset(const DTWireId &wireId)
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:

  • tTrig is the offset (t_trig)
  • t0cell is the t0 from pulses

Implemented in DTTTrigSyncFromDB, DTTTrigSyncTOFCorr, and DTTTrigSyncT0Only.

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 18 of file DTTTrigBaseSync.cc.

Referenced by DTTPAnalyzer::analyze(), DTLocalTriggerSynchTask::analyze(), DTLocalTriggerSynchTask::beginRun(), DTLinearDriftFromDBAlgo::compute(), DTLinearDriftAlgo::compute(), and DTTMax::InfoLayer::InfoLayer().

20  {
21  double tTrig = 0;
22  double wireProp = 0;
23  double tof = 0;
24  return offset(layer, wireId, globalPos, tTrig, wireProp, tof);
25 }
double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globalPos)
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, DTTTrigSyncTOFCorr, and DTTTrigSyncT0Only.

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:

  • tTrig is the offset (t_trig)
  • wirePropCorr is the delay for signal propagation along the wire
  • tofCorr is the correction due to the particle TOF

Implemented in DTTTrigSyncFromDB, DTTTrigSyncTOFCorr, and DTTTrigSyncT0Only.

virtual void DTTTrigBaseSync::setES ( const edm::EventSetup setup)
pure virtual