Public Member Functions | |
DTTTrigSyncFromDB (const edm::ParameterSet &config, edm::ConsumesCollector) | |
Constructor. More... | |
double | emulatorOffset (const DTWireId &wireId, double &tTrig, double &t0cell) const override |
double | offset (const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globPos, double &tTrig, double &wirePropCorr, double &tofCorr) const override |
double | offset (const DTWireId &wireId) const override |
void | setES (const edm::EventSetup &setup) override |
Pass the Event Setup to the algo at each event. More... | |
~DTTTrigSyncFromDB () override | |
Destructor. More... | |
Public Member Functions inherited from DTTTrigBaseSync | |
DTTTrigBaseSync () | |
Constructor. More... | |
virtual double | emulatorOffset (const DTWireId &wireId) const |
double | offset (const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globalPos) const |
virtual | ~DTTTrigBaseSync () |
Destructor. More... | |
Private Attributes | |
const bool | debug |
bool | doT0Correction |
bool | doTOFCorrection |
bool | doWirePropCorrection |
edm::ESGetToken< DTT0, DTT0Rcd > | t0Token_ |
double | theBXspace |
int | theTOFCorrType |
double | theVPropWire |
int | theWirePropCorrType |
const DTTtrig * | tTrigMap |
const edm::ESGetToken< DTTtrig, DTTtrigRcd > | ttrigToken_ |
const DTT0 * | tZeroMap |
Concrete implementation of a DTTTrigBaseSync. This class define the offset for RecHit building of data and simulation. The offset is computes as:
offset = t0 + tTrig + wirePropCorr - tofCorr
where:
The emulatorOffset is computed as:
offset = int(ttrig/BXspace)*BXspace + t0
where:
NOTE: this should approximate what is seen online by the BTI
Definition at line 57 of file DTTTrigSyncFromDB.cc.
DTTTrigSyncFromDB::DTTTrigSyncFromDB | ( | const edm::ParameterSet & | config, |
edm::ConsumesCollector | cc | ||
) |
Constructor.
Definition at line 116 of file DTTTrigSyncFromDB.cc.
References gpuPixelDoublets::cc, doT0Correction, and t0Token_.
|
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 268 of file DTTTrigSyncFromDB.cc.
References gather_cfg::cout, doT0Correction, DTT0::get(), DTTtrig::get(), createfilelist::int, dttriganalyzer_cfi::kFactor, DTTimeUnits::ns, DTLayerId::superlayerId(), FrontierCondition_GT_autoExpress_cfi::t0, theBXspace, dttriganalyzer_cfi::tTrig, tTrigMap, and tZeroMap.
|
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)
Implements DTTTrigBaseSync.
Definition at line 154 of file DTTTrigSyncFromDB.cc.
References gather_cfg::cout, debug, doTOFCorrection, doWirePropCorrection, Exception, nano_mu_digi_cff::layer, PV3DBase< T, PVType, FrameType >::mag(), mag(), GloballyPositioned< T >::position(), GeomDet::surface(), theTOFCorrType, theVPropWire, theWirePropCorrType, dttriganalyzer_cfi::tTrig, and DTWireId::wire().
|
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 247 of file DTTTrigSyncFromDB.cc.
References gather_cfg::cout, doT0Correction, DTT0::get(), DTTtrig::get(), dttriganalyzer_cfi::kFactor, DTTimeUnits::ns, DTLayerId::superlayerId(), FrontierCondition_GT_autoExpress_cfi::t0, tTrigMap, and tZeroMap.
|
overridevirtual |
Pass the Event Setup to the algo at each event.
Implements DTTTrigBaseSync.
Definition at line 138 of file DTTTrigSyncFromDB.cc.
References gather_cfg::cout, debug, doT0Correction, singleTopDQM_cfi::setup, t0Token_, tTrigMap, ttrigToken_, tZeroMap, DTT0::version(), and DTTtrig::version().
|
private |
Definition at line 98 of file DTTTrigSyncFromDB.cc.
Referenced by util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), util.rrapi.RRApi::get(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), runTauIdMVA.TauIDEmbedder::load_againstElectronMVA6(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), offset(), setES(), and pkg.AbstractPkg::write().
|
private |
Definition at line 102 of file DTTTrigSyncFromDB.cc.
Referenced by DTTTrigSyncFromDB(), emulatorOffset(), offset(), and setES().
|
private |
Definition at line 104 of file DTTTrigSyncFromDB.cc.
Referenced by offset().
|
private |
Definition at line 107 of file DTTTrigSyncFromDB.cc.
Referenced by offset().
|
private |
Definition at line 93 of file DTTTrigSyncFromDB.cc.
Referenced by DTTTrigSyncFromDB(), and setES().
|
private |
Definition at line 110 of file DTTTrigSyncFromDB.cc.
Referenced by emulatorOffset().
|
private |
Definition at line 105 of file DTTTrigSyncFromDB.cc.
Referenced by offset().
|
private |
Definition at line 100 of file DTTTrigSyncFromDB.cc.
Referenced by offset().
|
private |
Definition at line 108 of file DTTTrigSyncFromDB.cc.
Referenced by offset().
|
private |
Definition at line 96 of file DTTTrigSyncFromDB.cc.
Referenced by emulatorOffset(), offset(), and setES().
|
private |
Definition at line 94 of file DTTTrigSyncFromDB.cc.
Referenced by setES().
|
private |
Definition at line 95 of file DTTTrigSyncFromDB.cc.
Referenced by emulatorOffset(), offset(), and setES().