Last change
on this file since 18568 was 18155, checked in by tbretz, 10 years ago |
We now precalculate the DRS offsets. This is faster and allows to read and write them directly to a fits file.
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifndef MARS_MHDrsCalibrationTime
|
---|
2 | #define MARS_MHDrsCalibrationTime
|
---|
3 |
|
---|
4 | #ifndef MARS_DrsCalib
|
---|
5 | #include "DrsCalib.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MARS_MH
|
---|
9 | #include "MH.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class MRawEvtData;
|
---|
13 | class MDrsCalibrationTime;
|
---|
14 | class MPedestalSubtractedEvt;
|
---|
15 |
|
---|
16 | class MHDrsCalibrationTime : public MH
|
---|
17 | {
|
---|
18 | private:
|
---|
19 | TH2F fHist;
|
---|
20 |
|
---|
21 | MRawEvtData *fRaw; //!
|
---|
22 | MPedestalSubtractedEvt *fEvt; //!
|
---|
23 | MDrsCalibrationTime *fCal; //!
|
---|
24 |
|
---|
25 | DrsCalibrateTime fData; //
|
---|
26 |
|
---|
27 | void InitHistogram();
|
---|
28 |
|
---|
29 | template<typename T>
|
---|
30 | Bool_t CopyData(std::vector<T> &dest) const;
|
---|
31 |
|
---|
32 | public:
|
---|
33 | MHDrsCalibrationTime(const char *name=NULL, const char *title=NULL);
|
---|
34 |
|
---|
35 | Bool_t SetupFill(const MParList *pList);
|
---|
36 | Bool_t ReInit(MParList *);
|
---|
37 | Int_t Fill(const MParContainer *par, const Stat_t w=1);
|
---|
38 | Bool_t Finalize();
|
---|
39 |
|
---|
40 | void Draw(Option_t *o="");
|
---|
41 | void Paint(Option_t *o="");
|
---|
42 |
|
---|
43 | void PlotAll();
|
---|
44 |
|
---|
45 | //const MDrsCalibration &GetCalib() const { return fData; }
|
---|
46 |
|
---|
47 | ClassDef(MHDrsCalibrationTime, 1) // A list of histograms storing the Fadc spektrum of one pixel
|
---|
48 | };
|
---|
49 |
|
---|
50 | #endif
|
---|
51 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.