#include <DTTTrigSyncFromDB.h>
Public Member Functions | |
DTTTrigSyncFromDB (const edm::ParameterSet &config) | |
Constructor. More... | |
virtual double | emulatorOffset (const DTWireId &wireId, double &tTrig, double &t0cell) |
virtual double | offset (const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globPos, double &tTrig, double &wirePropCorr, double &tofCorr) |
double | offset (const DTWireId &wireId) |
virtual void | setES (const edm::EventSetup &setup) |
Pass the Event Setup to the algo at each event. More... | |
virtual | ~DTTTrigSyncFromDB () |
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 | |
bool | doT0Correction |
bool | doTOFCorrection |
bool | doWirePropCorrection |
double | theBXspace |
int | theTOFCorrType |
std::string | thetTrigLabel |
double | theVPropWire |
int | theWirePropCorrType |
const DTTtrig * | tTrigMap |
const DTT0 * | tZeroMap |
Static Private Attributes | |
static bool | debug = false |
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 56 of file DTTTrigSyncFromDB.h.
DTTTrigSyncFromDB::DTTTrigSyncFromDB | ( | const edm::ParameterSet & | config | ) |
Constructor.
Definition at line 29 of file DTTTrigSyncFromDB.cc.
References debug, edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().
|
virtual |
|
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:
Implements DTTTrigBaseSync.
Definition at line 208 of file DTTTrigSyncFromDB.cc.
References gather_cfg::cout, DTTimeUnits::ns, and DTLayerId::superlayerId().
|
virtual |
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 75 of file DTTTrigSyncFromDB.cc.
References DTTopology::cellLenght(), gather_cfg::cout, debug, edm::hlt::Exception, PV3DBase< T, PVType, FrameType >::mag(), mag(), evf::evtn::offset(), GloballyPositioned< T >::position(), DTLayer::specificTopology(), DTLayer::superLayer(), GeomDet::surface(), GeomDet::toGlobal(), GeomDet::toLocal(), DTWireId::wire(), DTTopology::wirePosition(), and PV3DBase< T, PVType, FrameType >::y().
|
virtual |
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 172 of file DTTTrigSyncFromDB.cc.
References gather_cfg::cout, DTTimeUnits::ns, and DTLayerId::superlayerId().
|
virtual |
Pass the Event Setup to the algo at each event.
Implements DTTTrigBaseSync.
Definition at line 53 of file DTTTrigSyncFromDB.cc.
References gather_cfg::cout, debug, and edm::EventSetup::get().
|
staticprivate |
Definition at line 101 of file DTTTrigSyncFromDB.h.
Referenced by pkg.AbstractPkg::generate(), pkg.AbstractPkg::get_kwds(), and pkg.AbstractPkg::write().
|
private |
Definition at line 105 of file DTTTrigSyncFromDB.h.
|
private |
Definition at line 107 of file DTTTrigSyncFromDB.h.
|
private |
Definition at line 110 of file DTTTrigSyncFromDB.h.
|
private |
Definition at line 113 of file DTTTrigSyncFromDB.h.
|
private |
Definition at line 108 of file DTTTrigSyncFromDB.h.
|
private |
Definition at line 115 of file DTTTrigSyncFromDB.h.
|
private |
Definition at line 103 of file DTTTrigSyncFromDB.h.
|
private |
Definition at line 111 of file DTTTrigSyncFromDB.h.
|
private |
Definition at line 99 of file DTTTrigSyncFromDB.h.
|
private |
Definition at line 98 of file DTTTrigSyncFromDB.h.