Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:43

0001 #ifndef SimMuon_DTDigitizer_DTDigiSyncBase_H
0002 #define SimMuon_DTDigitizer_DTDigiSyncBase_H
0003 
0004 /** \class DTDigiSyncBase
0005  *  Base class to define the offsets for digis.
0006  *
0007  *  \author N. Amapane, G. Cerminara, R. Bellan - INFN Torino
0008  */
0009 
0010 class DTWireId;
0011 class DTLayer;
0012 
0013 class DTDigiSyncBase {
0014 public:
0015   /// Constructor
0016   DTDigiSyncBase(){};
0017 
0018   /// Destructor
0019   virtual ~DTDigiSyncBase(){};
0020 
0021   /// Delays to be added to digi times during digitization, in ns.
0022   virtual double digitizerOffset(const DTWireId *id, const DTLayer *layer) const = 0;
0023 
0024   /// Offset to obtain "raw" TDCs for the L1 emulator from digis.
0025   virtual double emulatorOffset(const DTWireId *id) const = 0;
0026 };
0027 #endif