source: trunk/Mars/mdrs/MDrsCalibration.h@ 17667

Last change on this file since 17667 was 14922, checked in by tbretz, 12 years ago
New classes for DRS calibration.
File size: 803 bytes
Line 
1#ifndef MARS_MDrsCalibration
2#define MARS_MDrsCalibration
3
4// -------------------------------------------------------------------
5
6#ifndef MARS_MParContainer
7#include "MParContainer.h"
8#endif
9
10#ifndef MARS_DrsCalib
11#include "DrsCalib.h"
12#endif
13
14class MDrsCalibration : public MParContainer, public DrsCalibration
15{
16public:
17 MDrsCalibration(const char *name=0, const char *title=0)
18 {
19 fName = name ? name : "MDrsCalibration";
20 fTitle = title ? title : "";
21 }
22
23 bool ReadFits(TString str)
24 {
25 gSystem->ExpandPathName(str);
26
27 const std::string msg = ReadFitsImp(str.Data());
28 if (msg.empty())
29 return true;
30
31 *fLog << err << msg << std::endl;
32 return false;
33 }
34
35 void Plot();
36
37 ClassDef(MDrsCalibration, 1)
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.