source: trunk/MagicSoft/Mars/manalysis/MExtractedSignalCam.h@ 2641

Last change on this file since 2641 was 2640, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MExtractedSignalCam
2#define MARS_MExtractedSignalCam
3
4#ifndef MARS_MCamEvent
5#include "MCamEvent.h"
6#endif
7
8class TClonesArray;
9
10class MGeomCam;
11class MExtractedSignalPix;
12
13class MExtractedSignalCam : public MCamEvent
14{
15private:
16 TClonesArray *fArray; // FIXME: Change TClonesArray away from a pointer?
17
18 Byte_t fNumUsedHiGainFADCSlices;
19 Byte_t fNumUsedLoGainFADCSlices;
20
21public:
22
23 MExtractedSignalCam(const char *name=NULL, const char *title=NULL);
24 ~MExtractedSignalCam();
25
26 void Clear(Option_t *o="");
27
28 void InitSize(const UInt_t i);
29 Int_t GetSize() const;
30
31 Byte_t GetNumUsedFADCSlices() { return fNumUsedHiGainFADCSlices; }
32 Byte_t GetNumUsedHiGainFADCSlices() { return fNumUsedHiGainFADCSlices; }
33 Byte_t GetNumUsedLoGainFADCSlices() { return fNumUsedLoGainFADCSlices; }
34 SetNumUsedHiGainFADCSlices(Byte_t numh, Byte_t numl)
35 {
36 fNumUsedHiGainFADCSlices = numh;
37 fNumUsedLoGainFADCSlices = numl;
38 }
39
40 MExtractedSignalPix &operator[](Int_t i);
41 MExtractedSignalPix &operator[](Int_t i) const;
42
43 void Print(Option_t *o="") 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 num) const;
47
48 ClassDef(MExtractedSignalCam, 0) // Storage Container for extracted signals in the camera
49};
50
51#endif
52
Note: See TracBrowser for help on using the repository browser.