PandaRoot
GeCluster.h
Go to the documentation of this file.
1 #ifndef GeCluster_h
2 #define GeCluster_h
3 
4 /* #include "geant4/globals.hh" */
5 /* #include "geant4/G4LogicalVolume.hh" */
6 #include "TList.h"
7 
8 class TGeoVolume;
9 class TGeoSphere;
10 class TGeoTube;
11 class TGeoPgon;
12 class TGeoCompositeShape;
13 class CbmHypGe;
14 
15 // Dummy declarations to get rid of warnings
16 
17 class GeCluster : public TObject {
18 
19  public:
20  GeCluster();
21  virtual ~GeCluster();
22 
23  Double_t X_Crystal[105];
24  Double_t Y_Crystal[105];
25  Double_t Z_Crystal[105];
26 
27  int Id_Crystal[105];
28 
29  int Id_Cluster[105];
31 
32  void SetPathGeo(TString path) { fpath = path; };
33 
34  TList *CreateCluster(TGeoPgon *logicCrystal_test, TGeoPgon *lay_sci, TGeoCompositeShape *lay_cap, TGeoVolume &sphere, double distance, double theta, double phi,
35  double depth_first_interaction, int id_start);
36 
37  /* TList *CreateCluster(TGeoCompositeShape* logicCrystal_test, */
38  /* TGeoVolume& sphere, */
39  /* double distance, */
40  /* double theta, */
41  /* double phi, */
42  /* double depth_first_interaction, */
43  /* int id_start); */
44 
45  /* void CreateCluster(TGeoCompositeShape* logicCrystal_test, */
46  /* TGeoVolume& sphere, */
47  /* double distance, */
48  /* double theta, */
49  /* double phi, */
50  /* double depth_first_interaction, */
51  /* int id_start); */
52 
53  ClassDef(GeCluster, 2);
54 
55  private:
56  int fnum_crystal;
57  int fnum_cluster;
58  TString fpath;
59 
60  // TGeoVolume* sphere; // pointer to the logical envelope
61 
62  // GeCrystal
63  // TGeoTube* Crystal_Tube; // pointer to the solid Target
64  // TGeoPgon* Crystal_Polyhedra; // pointer to the solid Target
65  // TGeoCompositeShape* logicCrystal_test; //
66 
67  TGeoVolume *crystal_centre[105]; // pointer to the physical Target
68  TGeoVolume *crystal[105]; // pointer to the physical Target
69  TGeoVolume *laySci[105]; // pointer to the physical Target
70  TGeoVolume *laySci_peri[105]; // periferical physical Target
71  TGeoVolume *Cap[105]; // pointer to the physical Target
72  TGeoVolume *Cap_peri[105]; // periferical physical Target
73  TList *SenVolList;
74 };
75 
76 #endif
virtual ~GeCluster()
int Id_Cluster[105]
Definition: GeCluster.h:29
Double_t Z_Crystal[105]
Definition: GeCluster.h:25
void SetPathGeo(TString path)
Definition: GeCluster.h:32
int Id_Crystal[105]
Definition: GeCluster.h:27
TList * CreateCluster(TGeoPgon *logicCrystal_test, TGeoPgon *lay_sci, TGeoCompositeShape *lay_cap, TGeoVolume &sphere, double distance, double theta, double phi, double depth_first_interaction, int id_start)
ClassDef(GeCluster, 2)
int Id_Crystal_In_Cluster[105]
Definition: GeCluster.h:30
Double_t Y_Crystal[105]
Definition: GeCluster.h:24
Double_t X_Crystal[105]
Definition: GeCluster.h:23