1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef PixelCalibBase_h
#define PixelCalibBase_h
/*! \file CalibFormats/SiPixelObjects/interface/PixelCalibBase.h
* \brief Base class for pixel calibration procedures
*
* A longer explanation will be placed here later
*/
#include "CalibFormats/SiPixelObjects/interface/PixelConfigKey.h"
#include <string>
#include <fstream>
namespace pos {
/*! \defgroup CalibrationObjects "Calibration Objects"
* \brief Base class for pixel calibration procedures
*
* @{
*
* \class PixelCalibBase PixelCalibBase.h "interface/PixelCalibBase.h"
*
* A longer explanation will be placed here later
*/
class PixelCalibBase {
public:
PixelCalibBase();
virtual ~PixelCalibBase();
virtual std::string mode() const { return mode_; }
virtual void writeXMLHeader(pos::PixelConfigKey key,
int version,
std::string path,
std::ofstream *out,
std::ofstream *out1 = nullptr,
std::ofstream *out2 = nullptr) const {
;
}
virtual void writeXML(std::ofstream *out, std::ofstream *out1 = nullptr, std::ofstream *out2 = nullptr) const { ; }
virtual void writeXMLTrailer(std::ofstream *out,
std::ofstream *out1 = nullptr,
std::ofstream *out2 = nullptr) const {
;
}
protected:
std::string mode_;
};
} // namespace pos
/* @} */
#endif
|