CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTTTrigSyncFromDB.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_DTTTrigSyncFromDB_H
2 #define RecoLocalMuon_DTTTrigSyncFromDB_H
3 
44 
45 
46 class DTLayer;
47 class DTWireId;
48 class DTT0;
49 class DTTtrig;
50 
51 
52 namespace edm {
53  class ParameterSet;
54 }
55 
57 public:
60 
62  virtual ~DTTTrigSyncFromDB();
63 
64  // Operations
65 
67  virtual void setES(const edm::EventSetup& setup);
68 
69 
74  virtual double offset(const DTLayer* layer,
75  const DTWireId& wireId,
76  const GlobalPoint& globPos,
77  double& tTrig,
78  double& wirePropCorr,
79  double& tofCorr);
80 
83  double offset(const DTWireId& wireId);
84 
85 
91  virtual double emulatorOffset(const DTWireId& wireId,
92  double &tTrig,
93  double &t0cell);
94 
95 
96  private:
97 
98  const DTT0 *tZeroMap;
99  const DTTtrig *tTrigMap;
100  // Set the verbosity level
101  static bool debug;
102  // The velocity of signal propagation along the wire (cm/ns)
103  double theVPropWire;
104  // Switch on/off the T0 correction from pulses
106  // Switch on/off the TOF correction for particles from IP
109  // Switch on/off the correction for the signal propagation along the wire
112  // spacing of BX in ns
113  double theBXspace;
114 
116 
117 };
118 #endif
119 
virtual ~DTTTrigSyncFromDB()
Destructor.
const DTTtrig * tTrigMap
const DTT0 * tZeroMap
Definition: DTT0.h:52
virtual double offset(const DTLayer *layer, const DTWireId &wireId, const GlobalPoint &globPos, double &tTrig, double &wirePropCorr, double &tofCorr)
virtual void setES(const edm::EventSetup &setup)
Pass the Event Setup to the algo at each event.
std::string thetTrigLabel
virtual double emulatorOffset(const DTWireId &wireId, double &tTrig, double &t0cell)
DTTTrigSyncFromDB(const edm::ParameterSet &config)
Constructor.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")