CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/CalibMuon/DTDigiSync/interface/DTTTrigBaseSync.h

Go to the documentation of this file.
00001 #ifndef RecoLocalMuon_DTTTrigBaseSync_H
00002 #define RecoLocalMuon_DTTTrigBaseSync_H
00003 
00012 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00013 
00014 class DTLayer;
00015 class DTWireId;
00016 
00017 namespace edm {
00018   class EventSetup;
00019 }
00020 
00021 
00022 class DTTTrigBaseSync {
00023 public:
00025   DTTTrigBaseSync();
00026 
00028   virtual ~DTTTrigBaseSync();
00029 
00030   // Operations
00031 
00033   virtual void setES(const edm::EventSetup& setup) = 0;
00034 
00035 
00036 
00041   double offset(const DTLayer* layer,
00042                 const DTWireId& wireId,
00043                 const GlobalPoint& globalPos);
00044 
00047   virtual double offset(const DTWireId& wireId) = 0 ;
00048 
00049 
00058   virtual double offset(const DTLayer* layer,
00059                         const DTWireId& wireId,
00060                         const GlobalPoint& globalPos,
00061                         double &tTrig,
00062                         double& wirePropCorr,
00063                         double& tofCorr) = 0;
00064 
00065 
00068   virtual double emulatorOffset(const DTWireId& wireId);
00069 
00075   virtual double emulatorOffset(const DTWireId& wireId,
00076                                 double &tTrig,
00077                                 double &t0cell) = 0;
00078   
00079 
00080 };
00081 #endif
00082