Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:25

0001 #ifndef CalibMuon_DTT0BaseCorrection_H
0002 #define CalibMuon_DTT0BaseCorrection_H
0003 
0004 /** \class DTT0BaseCorrection
0005  *  Base class to define t0 corrections
0006  *
0007  */
0008 
0009 namespace edm {
0010   class EventSetup;
0011   class ParameterSet;
0012 }  // namespace edm
0013 
0014 class DTWireId;
0015 
0016 namespace dtCalibration {
0017 
0018   struct DTT0Data {
0019   public:
0020     // Constructor
0021     DTT0Data(double t0_mean, double t0_rms) : mean(t0_mean), rms(t0_rms) {}
0022 
0023     double mean;
0024     double rms;
0025   };
0026 
0027   class DTT0BaseCorrection {
0028   public:
0029     // Constructor
0030     DTT0BaseCorrection();
0031     // Destructor
0032     virtual ~DTT0BaseCorrection();
0033 
0034     virtual void setES(const edm::EventSetup& setup) = 0;
0035     virtual DTT0Data correction(const DTWireId&) = 0;
0036   };
0037 
0038 }  // namespace dtCalibration
0039 #endif