#include <DTTTrigSyncTOFCorr.h>
Public Member Functions | |
DTTTrigSyncTOFCorr (const edm::ParameterSet &config) | |
Constructor. More... | |
double | emulatorOffset (const DTWireId &wireId, double &tTrig, double &t0cell) override |
double | offset (const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globPos, double &tTrig, double &wirePropCorr, double &tofCorr) override |
double | offset (const DTWireId &wireId) override |
void | setES (const edm::EventSetup &setup) override |
Pass the Event Setup to the algo at each event. More... | |
~DTTTrigSyncTOFCorr () override | |
Destructor. More... | |
Public Member Functions inherited from DTTTrigBaseSync | |
DTTTrigBaseSync () | |
Constructor. More... | |
virtual double | emulatorOffset (const DTWireId &wireId) |
double | offset (const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globalPos) |
virtual | ~DTTTrigBaseSync () |
Destructor. More... | |
Private Attributes | |
const bool | debug |
double | theBXspace |
const int | theTOFCorrType |
const double | theTTrig |
const double | theVPropWire |
Concrete implementation of a DTTTrigBaseSync. This class define the offsets for RecHit building coherently to the digitization realized with the DTDigiSyncTOFCorr module. The offset is computes as:
offset = tTrig + wirePropCorr - tofCorr
where:
The emulatorOffset is computed as:
offset = int(ttrig/BXspace)*BXspace
where:
NOTE: this should approximate what is seen online by the BTI
Definition at line 50 of file DTTTrigSyncTOFCorr.h.
DTTTrigSyncTOFCorr::DTTTrigSyncTOFCorr | ( | const edm::ParameterSet & | config | ) |
Constructor.
Definition at line 18 of file DTTTrigSyncTOFCorr.cc.
|
override |
|
overridevirtual |
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:
Implements DTTTrigBaseSync.
Definition at line 120 of file DTTTrigSyncTOFCorr.cc.
References createfilelist::int, theBXspace, and theTTrig.
|
overridevirtual |
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) It also returns the different contributions separately:
Implements DTTTrigBaseSync.
Definition at line 44 of file DTTTrigSyncTOFCorr.cc.
References DTTopology::cellLenght(), relativeConstraints::chamber, DTLayer::chamber(), gather_cfg::cout, debug, Exception, PV3DBase< T, PVType, FrameType >::mag(), mag(), GloballyPositioned< T >::position(), DTLayer::specificTopology(), GeomDet::surface(), theTOFCorrType, theVPropWire, GeomDet::toGlobal(), GeomDet::toLocal(), DTWireId::wire(), DTTopology::wirePosition(), and PV3DBase< T, PVType, FrameType >::y().
|
overridevirtual |
Time (ns) to be subtracted to the digi time. It does not take into account TOF and signal propagation along the wire
Implements DTTTrigBaseSync.
Definition at line 108 of file DTTTrigSyncTOFCorr.cc.
References theTTrig.
|
inlineoverridevirtual |
Pass the Event Setup to the algo at each event.
Implements DTTTrigBaseSync.
Definition at line 61 of file DTTTrigSyncTOFCorr.h.
References PFRecoTauDiscriminationByIsolation_cfi::offset.
|
private |
Definition at line 108 of file DTTTrigSyncTOFCorr.h.
Referenced by util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), rrapi.RRApi::get(), util.rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), offset(), runTauIdMVA.TauIDEmbedder::runTauID(), and pkg.AbstractPkg::write().
|
private |
Definition at line 110 of file DTTTrigSyncTOFCorr.h.
Referenced by emulatorOffset().
|
private |
Definition at line 105 of file DTTTrigSyncTOFCorr.h.
Referenced by offset().
|
private |
Definition at line 92 of file DTTTrigSyncTOFCorr.h.
Referenced by emulatorOffset(), and offset().
|
private |
Definition at line 97 of file DTTTrigSyncTOFCorr.h.
Referenced by offset().