PandaRoot
GeCluster.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef GeCluster_h
14 #define GeCluster_h
15 
16 /* #include "geant4/globals.hh" */
17 /* #include "geant4/G4LogicalVolume.hh" */
18 #include "TList.h"
19 
20 class TGeoVolume;
21 class TGeoSphere;
22 class TGeoTube;
23 class TGeoPgon;
24 class TGeoCompositeShape;
25 class CbmHypGe;
26 
27 // Dummy declarations to get rid of warnings
28 
29 class GeCluster : public TObject {
30 
31  public:
32  GeCluster();
33  virtual ~GeCluster();
34 
35  Double_t X_Crystal[105];
36  Double_t Y_Crystal[105];
37  Double_t Z_Crystal[105];
38 
39  int Id_Crystal[105];
40 
41  int Id_Cluster[105];
43 
44  void SetPathGeo(TString path) { fpath = path; };
45 
46  TList *CreateCluster(TGeoPgon *logicCrystal_test, TGeoPgon *lay_sci, TGeoCompositeShape *lay_cap, TGeoVolume &sphere, double distance, double theta, double phi,
47  double depth_first_interaction, int id_start);
48 
49  /* TList *CreateCluster(TGeoCompositeShape* logicCrystal_test, */
50  /* TGeoVolume& sphere, */
51  /* double distance, */
52  /* double theta, */
53  /* double phi, */
54  /* double depth_first_interaction, */
55  /* int id_start); */
56 
57  /* void CreateCluster(TGeoCompositeShape* logicCrystal_test, */
58  /* TGeoVolume& sphere, */
59  /* double distance, */
60  /* double theta, */
61  /* double phi, */
62  /* double depth_first_interaction, */
63  /* int id_start); */
64 
65  ClassDef(GeCluster, 2);
66 
67  private:
68  int fnum_crystal;
69  int fnum_cluster;
70  TString fpath;
71 
72  // TGeoVolume* sphere; // pointer to the logical envelope
73 
74  // GeCrystal
75  // TGeoTube* Crystal_Tube; // pointer to the solid Target
76  // TGeoPgon* Crystal_Polyhedra; // pointer to the solid Target
77  // TGeoCompositeShape* logicCrystal_test; //
78 
79  TGeoVolume *crystal_centre[105]; // pointer to the physical Target
80  TGeoVolume *crystal[105]; // pointer to the physical Target
81  TGeoVolume *laySci[105]; // pointer to the physical Target
82  TGeoVolume *laySci_peri[105]; // periferical physical Target
83  TGeoVolume *Cap[105]; // pointer to the physical Target
84  TGeoVolume *Cap_peri[105]; // periferical physical Target
85  TList *SenVolList;
86 };
87 
88 #endif
virtual ~GeCluster()
int Id_Cluster[105]
Definition: GeCluster.h:41
Double_t Z_Crystal[105]
Definition: GeCluster.h:37
void SetPathGeo(TString path)
Definition: GeCluster.h:44
int Id_Crystal[105]
Definition: GeCluster.h:39
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:42
Double_t Y_Crystal[105]
Definition: GeCluster.h:36
Double_t X_Crystal[105]
Definition: GeCluster.h:35