source: tags/Mars-V0.10.2/mgeom/MGeomPMT.h

Last change on this file was 1600, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 716 bytes
Line 
1#ifndef MARS_MGeomPMT
2#define MARS_MGeomPMT
3
4#ifndef ROOT_TArrayF
5#include <TArrayF.h>
6#endif
7#ifndef MARS_MParContainer
8#include "MParContainer.h"
9#endif
10
11class MGeomPMT : public MParContainer
12{
13private:
14 Int_t fPMTId; // the PMT Id
15
16 TArrayF fWavelength; // List of wavelength
17 TArrayF fQE; // QE values
18
19public:
20
21 MGeomPMT(Int_t pmt=-1,const char *name=NULL, const char *title=NULL);
22
23 Int_t GetPMTId() const { return fPMTId; }
24
25 void SetArraySize(Int_t dim) { fWavelength.Set(dim); fQE.Set(dim); }
26
27 void SetPMTContent(Int_t pmt, const TArrayF &wav, const TArrayF &qe);
28
29 ClassDef(MGeomPMT, 1) // class containing information about PMTs
30};
31
32#endif
33
34
Note: See TracBrowser for help on using the repository browser.