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

Date:
2009/10/21 17:05:47
Revision:
1.3
Author
G. Cerminara - INFN Torino

Definition at line 22 of file DTTTrigBaseSync.h.

Constructor & Destructor Documentation

DTTTrigBaseSync::DTTTrigBaseSync ( )

Constructor.

Definition at line 12 of file DTTTrigBaseSync.cc.

12 {}
DTTTrigBaseSync::~DTTTrigBaseSync ( )
virtual

Destructor.

Definition at line 16 of file DTTTrigBaseSync.cc.

16 {}

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

31  {
32 
33  double tTrig = 0.;
34  double t0cell = 0.;
35  return emulatorOffset(wireId, tTrig, t0cell);
36 }
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 20 of file DTTTrigBaseSync.cc.

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

22  {
23  double tTrig = 0;
24  double wireProp = 0;
25  double tof = 0;
26  return offset(layer, wireId, globalPos, tTrig, wireProp, tof);
27 }
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