source: trunk/MagicSoft/Mars/mhist/MHMcEnergies.h@ 879

Last change on this file since 879 was 861, checked in by jlopez, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 777 bytes
Line 
1#ifndef MHMCENERGIES_H
2#define MHMCENERGIES_H
3
4#ifndef MAGIC_H
5#include "MAGIC.h"
6#endif
7#ifndef ROOT_TClonesArray
8#include <TClonesArray.h>
9#endif
10#ifndef MPARCONTAINER_H
11#include "MParContainer.h"
12#endif
13#ifndef MHMCENERGY_H
14#include "MHMcEnergy.h"
15#endif
16
17class MParList;
18
19class MHMcEnergies : public MParContainer
20{
21private:
22 UInt_t fNum; // Num of histograms
23 TClonesArray *fHists; // Array with the energy histograms
24
25public:
26
27 MHMcEnergies(const UInt_t count=0, const char *name=NULL, const char *title=NULL);
28 ~MHMcEnergies();
29
30 void AddEntriesToList(MParList *plist);
31
32 MHMcEnergy &operator[](UInt_t idx) { return *(MHMcEnergy*)(*fHists)[idx]; }
33
34 ClassDef(MHMcEnergies, 1) // container to hold several MHMcEnergy histograms
35};
36
37#endif
38
Note: See TracBrowser for help on using the repository browser.