CMS 3D CMS Logo

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) const
 
virtual double emulatorOffset (const DTWireId &wireId, double &tTrig, double &t0cell) const =0
 
double offset (const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globalPos) const
 
virtual double offset (const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globalPos, double &tTrig, double &wirePropCorr, double &tofCorr) const =0
 
virtual double offset (const DTWireId &wireId) const =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 19 of file DTTTrigBaseSync.h.

Constructor & Destructor Documentation

◆ DTTTrigBaseSync()

DTTTrigBaseSync::DTTTrigBaseSync ( )

Constructor.

Definition at line 9 of file DTTTrigBaseSync.cc.

9 {}

◆ ~DTTTrigBaseSync()

DTTTrigBaseSync::~DTTTrigBaseSync ( )
virtual

Destructor.

Definition at line 11 of file DTTTrigBaseSync.cc.

11 {}

Member Function Documentation

◆ emulatorOffset() [1/2]

double DTTTrigBaseSync::emulatorOffset ( const DTWireId wireId) const
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 20 of file DTTTrigBaseSync.cc.

20  {
21  double tTrig = 0.;
22  double t0cell = 0.;
23  return emulatorOffset(wireId, tTrig, t0cell);
24 }

References dttriganalyzer_cfi::tTrig.

◆ emulatorOffset() [2/2]

virtual double DTTTrigBaseSync::emulatorOffset ( const DTWireId wireId,
double &  tTrig,
double &  t0cell 
) const
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.

◆ offset() [1/3]

double DTTTrigBaseSync::offset ( const DTLayer layer,
const DTWireId wireId,
const GlobalPoint globalPos 
) const

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

13  {
14  double tTrig = 0;
15  double wireProp = 0;
16  double tof = 0;
17  return offset(layer, wireId, globalPos, tTrig, wireProp, tof);
18 }

References phase1PixelTopology::layer, and dttriganalyzer_cfi::tTrig.

Referenced by DTTMax::InfoLayer::InfoLayer().

◆ offset() [2/3]

virtual double DTTTrigBaseSync::offset ( const DTLayer layer,
const DTWireId wireId,
const GlobalPoint globalPos,
double &  tTrig,
double &  wirePropCorr,
double &  tofCorr 
) const
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.

◆ offset() [3/3]

virtual double DTTTrigBaseSync::offset ( const DTWireId wireId) const
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.

◆ setES()

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

Pass the Event Setup to the synchronization module at each event.

Implemented in DTTTrigSyncFromDB, DTTTrigSyncTOFCorr, and DTTTrigSyncT0Only.

dttriganalyzer_cfi.tTrig
tTrig
Definition: dttriganalyzer_cfi.py:11
DTTTrigBaseSync::emulatorOffset
virtual double emulatorOffset(const DTWireId &wireId) const
Definition: DTTTrigBaseSync.cc:20
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
DTTTrigBaseSync::offset
double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globalPos) const
Definition: DTTTrigBaseSync.cc:13