source: trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimeCam.h@ 3416

Last change on this file since 3416 was 3177, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MHCalibrationRelTimeCam
2#define MARS_MHCalibrationRelTimeCam
3
4#ifndef ROOT_TObjArray
5#include <TObjArray.h>
6#endif
7
8#ifndef MARS_MH
9#include "MH.h"
10#endif
11#ifndef MARS_MCamEvent
12#include "MCamEvent.h"
13#endif
14
15class MHCalibrationRelTimePix;
16class MHCalibrationRelTimeCam : public MH, public MCamEvent
17{
18
19private:
20
21 static const Float_t fgTimeSliceWidth; // Default FADC slice time width for MAGIC
22 Float_t fTimeSliceWidth; // FADC slice time width
23
24 TObjArray *fArray; //-> List of MHCalibrationRelTimePix's
25
26public:
27
28 MHCalibrationRelTimeCam(const char *name=NULL, const char *title=NULL);
29 ~MHCalibrationRelTimeCam();
30
31 void Clear(Option_t *o="");
32
33 MHCalibrationRelTimePix &operator[](UInt_t i);
34 const MHCalibrationRelTimePix &operator[](UInt_t i) const;
35
36 Bool_t SetupFill(const MParList *pList);
37 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
38 Bool_t Finalize();
39
40 // Setters
41 void SetTimeSliceWidth(const Float_t width=fgTimeSliceWidth) { fTimeSliceWidth = width; }
42
43 TObject *Clone(const char *) const;
44
45 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
46 void DrawPixelContent(Int_t idx) const;
47
48 ClassDef(MHCalibrationRelTimeCam, 1) // Storage Container for all pedestal information of the camera
49};
50
51#endif
52
Note: See TracBrowser for help on using the repository browser.