source: branches/Corsika7500Compatibility/mdrs/MHDrsCalibrationTime.h@ 20114

Last change on this file since 20114 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
12class MRawEvtData;
13class MDrsCalibrationTime;
14class MPedestalSubtractedEvt;
15
16class MHDrsCalibrationTime : public MH
17{
18private:
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
32public:
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.