#include <DTDigiSyncTOFCorr.h>
Public Member Functions | |
double | digitizerOffset (const DTWireId *id, const DTLayer *layer=nullptr) const override |
Delays to be added to digi times during digitization, in ns. More... | |
DTDigiSyncTOFCorr (const edm::ParameterSet &) | |
Constructor. More... | |
double | emulatorOffset (const DTWireId *id) const override |
Offset to obtain "raw" TDCs for the L1 emulator from digis. More... | |
~DTDigiSyncTOFCorr () override | |
Destructor. More... | |
Public Member Functions inherited from DTDigiSyncBase | |
DTDigiSyncBase () | |
Constructor. More... | |
virtual | ~DTDigiSyncBase () |
Destructor. More... | |
Private Attributes | |
int | corrType |
double | theOffset |
Digi offset computed as:
t0 = Tcommon - aTOF
where Tcommon is a fixed offset defined in
DTDigiSyncTOFCorr:offset (in ORCA the default was = 500 ns)
and aTOF is set according to MuBarDigiSyncTOFCorr:TOFCorrection:
0: no TOF correction (aTOF=0)
1: aTOF = the TOF of an infinite-momentum particle travelling from the nominal IP to the 3D center of the chamber
2: ditto, but for a particle travelling to the 3D center of the wire. (This mode is avaliable for comparison with older data which were produced in this way) 3: aTOF = the TOF of an infinite-momentum particle travelling from the nominal IP to the 3D center of the SL. Use this, unless you really know what you are doing.
Definition at line 31 of file DTDigiSyncTOFCorr.h.
DTDigiSyncTOFCorr::DTDigiSyncTOFCorr | ( | const edm::ParameterSet & | pSet | ) |
Constructor.
Definition at line 18 of file DTDigiSyncTOFCorr.cc.
References edm::ParameterSet::getParameter().
|
override |
|
overridevirtual |
Delays to be added to digi times during digitization, in ns.
Implements DTDigiSyncBase.
Definition at line 29 of file DTDigiSyncTOFCorr.cc.
References DTLayer::chamber(), gather_cfg::cout, PV3DBase< T, PVType, FrameType >::mag(), PFRecoTauDiscriminationByIsolation_cfi::offset, GloballyPositioned< T >::position(), DTLayer::specificTopology(), DTLayer::superLayer(), GeomDet::surface(), Surface::toGlobal(), DTWireId::wire(), and DTTopology::wirePosition().
|
overridevirtual |
Offset to obtain "raw" TDCs for the L1 emulator from digis.
Implements DTDigiSyncBase.
Definition at line 63 of file DTDigiSyncTOFCorr.cc.
|
private |
Definition at line 47 of file DTDigiSyncTOFCorr.h.
|
private |
Definition at line 46 of file DTDigiSyncTOFCorr.h.