CMS 3D CMS Logo

Public Member Functions

DTTTrigBaseSync Class Reference

#include <DTTTrigBaseSync.h>

Inheritance diagram for DTTTrigBaseSync:
DTTTrigSyncFromDB DTTTrigSyncT0Only DTTTrigSyncTOFCorr

List of all members.

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.

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.

{}
DTTTrigBaseSync::~DTTTrigBaseSync ( ) [virtual]

Destructor.

Definition at line 16 of file DTTTrigBaseSync.cc.

{}

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.

                                                             {

  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:

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

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:

  • 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, 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]