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 
42 
43 
44 class DTLayer;
45 class DTWireId;
46 class DTT0;
47 class DTTtrig;
48 
49 
50 namespace edm {
51  class ParameterSet;
52 }
53 
55 public:
58 
60  virtual ~DTTTrigSyncFromDB();
61 
62  // Operations
63 
65  virtual void setES(const edm::EventSetup& setup);
66 
67 
72  virtual double offset(const DTLayer* layer,
73  const DTWireId& wireId,
74  const GlobalPoint& globPos,
75  double& tTrig,
76  double& wirePropCorr,
77  double& tofCorr);
78 
81  double offset(const DTWireId& wireId);
82 
83 
89  virtual double emulatorOffset(const DTWireId& wireId,
90  double &tTrig,
91  double &t0cell);
92 
93 
94  private:
95 
96  const DTT0 *tZeroMap;
97  const DTTtrig *tTrigMap;
98  // Set the verbosity level
99  const bool debug;
100  // The velocity of signal propagation along the wire (cm/ns)
101  double theVPropWire;
102  // Switch on/off the T0 correction from pulses
104  // Switch on/off the TOF correction for particles from IP
107  // Switch on/off the correction for the signal propagation along the wire
110  // spacing of BX in ns
111  double theBXspace;
112 
114 
115 };
116 #endif
117 
virtual ~DTTTrigSyncFromDB()
Destructor.
const DTTtrig * tTrigMap
const DTT0 * tZeroMap
Definition: DTT0.h:53
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="")