FairRoot/PandaRoot
PndHypGeReader.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmHypGeReader header file -----
3 // ----- // roginal Author: S.Spataro
4 //------ modified 15/05/07 by A.Sanchez -----
5 // -------------------------------------------------------------------------
6 
7 #ifndef PNDHYPGEREADER_HH
8 #define PNDHYPGEREADER_HH 1
9 
10 #include <vector>
11 #include "TString.h"
12 #include "TVector3.h"
13 using namespace std;
14 
15 class DataG4
16 {
17 
18 public:
19  DataG4(){}
20  ~DataG4(){}
21 
22  int crystal;
23  double theta, phi, tau;
24  double posX, posY, posZ;
25 
26 };
27 
29 {
30 
31 public:
32 
34  ~PndHypGeReader();
35 
36  vector<DataG4> g4data;
37 
39  void fill_vector();
40  //int GetMaxModules();
41  //int GetMaxRows(int module);
42  //int GetMaxCrystals(int module, int row);
43  DataG4 GetData(int crystal);
44 
45 };
46 
47 #endif //PNDHYPGEREADER_HH
vector< DataG4 > g4data
TString name