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

Last change on this file since 1010 was 857, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 745 bytes
Line 
1#ifndef MPEDESTALCAM_H
2#define MPEDESTALCAM_H
3
4#ifndef MPARCONTAINER_H
5#include "MParContainer.h"
6#endif
7
8#ifndef MPEDESTALPIX_H
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.