CMS 3D CMS Logo

DTTTrigSyncTOFCorr.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_DTTTrigSyncTOFCorr_H
2 #define RecoLocalMuon_DTTTrigSyncTOFCorr_H
3 
40 
41 class DTLayer;
42 class DTWireId;
43 
44 namespace edm {
45  class ParameterSet;
46 }
47 
49 public:
52 
54  ~DTTTrigSyncTOFCorr() override;
55 
56  // Operations
57 
59  void setES(const edm::EventSetup& setup) override {}
60 
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 
76  double offset(const DTWireId& wireId) const override;
77 
83  double emulatorOffset(const DTWireId& wireId, double& tTrig, double& t0cell) const override;
84 
85 private:
86  // The fixed t_trig to be subtracted to digi time (ns)
87  const double theTTrig;
88  // Velocity of signal propagation along the wire (cm/ns)
89  // For the value
90  // cfr. CMS-IN 2000-021: (2.56+-0.17)x1e8 m/s
91  // CMS NOTE 2003-17: (0.244) m/ns = 24.4 cm/ns
92  const double theVPropWire;
93 
94  // Select the mode for TOF correction:
95  // 0: tofCorr = TOF from IP to 3D Hit position (globPos)
96  // 1: tofCorr = TOF correction for distance difference
97  // between 3D center of the chamber and hit position
98  // 2: tofCorr = TOF correction for distance difference
99  // between 3D center of the wire and hit position
100  const int theTOFCorrType;
101 
102  // Set the verbosity level
103  const bool debug;
104  // spacing of BX in ns
105  double theBXspace;
106 };
107 #endif
const double theVPropWire
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
Definition: config.py:1
HLT enums.
void setES(const edm::EventSetup &setup) override
Pass the Event Setup to the algo at each event.