source: trunk/MagicSoft/Mars/manalysis/MPedestalCam.h@ 1014

Last change on this file since 1014 was 1014, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 757 bytes
Line 
1#ifndef MARS_MPedestalCam
2#define MARS_MPedestalCam
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8#ifndef MARS_MPedestalPix
9#include "MPedestalPix.h"
10#endif
11
12#ifndef ROOT_TClonesArray
13#include <TClonesArray.h>
14#endif
15
16class MPedestalCam : public MParContainer
17{
18private:
19 TClonesArray *fArray;
20
21public:
22 MPedestalCam(const char *name=NULL, const char *title=NULL);
23 ~MPedestalCam();
24
25 void InitSize(const UInt_t i) { fArray->ExpandCreateFast(i); }
26
27 MPedestalPix &operator[](Int_t i) { return *(MPedestalPix*)fArray->At(i); }
28 MPedestalPix &operator[](Int_t i) const { return *(MPedestalPix*)fArray->At(i); }
29
30 ClassDef(MPedestalCam, 1) // Storage Container for all pedestal information of the camera
31};
32
33#endif
34
Note: See TracBrowser for help on using the repository browser.