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

Last change on this file since 701 was 698, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 653 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
29 ClassDef(MPedestalCam, 1) // Storage Container for all pedestal information of the camera
30};
31
32#endif
33
Note: See TracBrowser for help on using the repository browser.