CMS 3D CMS Logo

DTTTrigSyncFromDB.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_DTTTrigSyncFromDB_H
2 #define RecoLocalMuon_DTTTrigSyncFromDB_H
3 
42 
43 class DTLayer;
44 class DTWireId;
45 class DTT0;
46 class DTTtrig;
47 
48 namespace edm {
49  class ParameterSet;
50 }
51 
53 public:
56 
58  ~DTTTrigSyncFromDB() override;
59 
60  // Operations
61 
63  void setES(const edm::EventSetup& setup) override;
64 
69  double offset(const DTLayer* layer,
70  const DTWireId& wireId,
71  const GlobalPoint& globPos,
72  double& tTrig,
73  double& wirePropCorr,
74  double& tofCorr) const override;
75 
78  double offset(const DTWireId& wireId) const override;
79 
85  double emulatorOffset(const DTWireId& wireId, double& tTrig, double& t0cell) const override;
86 
87 private:
88  const DTT0* tZeroMap;
89  const DTTtrig* tTrigMap;
90  // Set the verbosity level
91  const bool debug;
92  // The velocity of signal propagation along the wire (cm/ns)
93  double theVPropWire;
94  // Switch on/off the T0 correction from pulses
96  // Switch on/off the TOF correction for particles from IP
99  // Switch on/off the correction for the signal propagation along the wire
102  // spacing of BX in ns
103  double theBXspace;
104 
107 };
108 #endif
DTTTrigSyncFromDB::DTTTrigSyncFromDB
DTTTrigSyncFromDB(const edm::ParameterSet &config)
Constructor.
Definition: DTTTrigSyncFromDB.cc:25
DTTTrigSyncFromDB::doTOFCorrection
bool doTOFCorrection
Definition: DTTTrigSyncFromDB.h:97
DTTtrig
Definition: DTTtrig.h:68
DTTTrigSyncFromDB::doWirePropCorrection
bool doWirePropCorrection
Definition: DTTTrigSyncFromDB.h:100
DTTTrigSyncFromDB::tTrigMap
const DTTtrig * tTrigMap
Definition: DTTTrigSyncFromDB.h:89
DTTTrigSyncFromDB::setES
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.
Definition: DTTTrigSyncFromDB.cc:44
DTTTrigSyncFromDB::debug
const bool debug
Definition: DTTTrigSyncFromDB.h:91
DTTTrigBaseSync
Definition: DTTTrigBaseSync.h:19
DTTTrigSyncFromDB::~DTTTrigSyncFromDB
~DTTTrigSyncFromDB() override
Destructor.
Definition: DTTTrigSyncFromDB.cc:42
edm
HLT enums.
Definition: AlignableModifier.h:19
dttriganalyzer_cfi.tTrig
tTrig
Definition: dttriganalyzer_cfi.py:11
DTTTrigSyncFromDB::theWirePropCorrType
int theWirePropCorrType
Definition: DTTTrigSyncFromDB.h:101
DTTTrigSyncFromDB::tZeroMap
const DTT0 * tZeroMap
Definition: DTTTrigSyncFromDB.h:88
DTTTrigSyncFromDB::theVPropWire
double theVPropWire
Definition: DTTTrigSyncFromDB.h:93
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
DTTTrigSyncFromDB::theTOFCorrType
int theTOFCorrType
Definition: DTTTrigSyncFromDB.h:98
config
Definition: config.py:1
DTWireId
Definition: DTWireId.h:12
Point3DBase< float, GlobalTag >
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
DTTTrigSyncFromDB::thet0Label
std::string thet0Label
Definition: DTTTrigSyncFromDB.h:106
ParameterSet
Definition: Functions.h:16
DTTTrigBaseSync.h
edm::EventSetup
Definition: EventSetup.h:58
DTLayer
Definition: DTLayer.h:25
DTTTrigSyncFromDB::doT0Correction
bool doT0Correction
Definition: DTTTrigSyncFromDB.h:95
DTTTrigSyncFromDB
Definition: DTTTrigSyncFromDB.h:52
DTTTrigSyncFromDB::theBXspace
double theBXspace
Definition: DTTTrigSyncFromDB.h:103
DTTTrigSyncFromDB::thetTrigLabel
std::string thetTrigLabel
Definition: DTTTrigSyncFromDB.h:105
DTT0
Definition: DTT0.h:48
DTTTrigSyncFromDB::emulatorOffset
double emulatorOffset(const DTWireId &wireId, double &tTrig, double &t0cell) const override
Definition: DTTTrigSyncFromDB.cc:178
DTTTrigSyncFromDB::offset
double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globPos, double &tTrig, double &wirePropCorr, double &tofCorr) const override
Definition: DTTTrigSyncFromDB.cc:64