source: branches/MarsMoreSimulationTruth/mraw/MRawCrateArray.h@ 19311

Last change on this file since 19311 was 2645, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MRawCrateArray
2#define MARS_MRawCrateArray
3///////////////////////////////////////////////////////////////////////
4// //
5// MRunHeader //
6// //
7///////////////////////////////////////////////////////////////////////
8
9#ifndef MARS_MParContainer
10#include "MParContainer.h"
11#endif
12
13class TClonesArray;
14class MRawCrateData;
15
16class MRawCrateArray : public MParContainer
17{
18private:
19 TClonesArray *fArray;
20
21public:
22 MRawCrateArray(const char *name=NULL, const char *title=NULL);
23 ~MRawCrateArray();
24
25 void Clear(Option_t *opt=NULL);
26 void Print(Option_t *t=NULL) const;
27
28 void SetSize(Int_t i);
29 Int_t GetSize() const;
30 MRawCrateData *GetEntry(Int_t i);
31
32 MRawCrateData* &operator[](Int_t i);
33
34 TClonesArray **GetArray();
35
36 ClassDef(MRawCrateArray, 1) // Mapping container for the MRawCrateData TClonesArray
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.