00001 //---------------------------------------------------------------------------// 00002 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// 00003 // // 00004 // MAJORANA Simulation // 00005 // // 00006 // This code implementation is the intellectual property of the // 00007 // MAJORANA Collaboration. It is based on Geant4, an intellectual // 00008 // property of the RD44 GEANT4 collaboration. // 00009 // // 00010 // ********************* // 00011 // // 00012 // Neither the authors of this software system, nor their employing // 00013 // institutes, nor the agencies providing financial support for this // 00014 // work make any representation or warranty, express or implied, // 00015 // regarding this software system or assume any liability for its use. // 00016 // By copying, distributing or modifying the Program (or any work based // 00017 // on on the Program) you indicate your acceptance of this statement, // 00018 // and all its terms. // 00019 // // 00020 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// 00021 //---------------------------------------------------------------------------// 00032 // Begin description of class here 00033 /* 00034 * this class has only one germanium crystal inside the shielding material 00035 * while class MaGeGeometryGerdaCrystal has 21 crystals inside the shielding 00036 * it inherit class MJGeometryDetector 00037 * 00038 */ 00039 // End class description 00040 // 00045 // 00046 // --------------------------------------------------------------------------// 00057 // --------------------------------------------------------------------------// 00058 00059 #ifndef _MAGEGEOMETRYGERDACRYSTAL_HH 00060 #define _MAGEGEOMETRYGERDACRYSTAL_HH 00061 00062 //---------------------------------------------------------------------------// 00063 // Geant4 headers 00064 #include "globals.hh" 00065 #include "G4LogicalVolume.hh" 00066 00067 // MJ headers 00068 #include "geometry/MJGeometryDetector.hh" 00069 #include "gerdageometry/MaGeGeometryGermaniumCrystal.hh" 00070 //#include "gerdageometry/MaGeGeometryGermaniumArray.hh" 00071 #include "gerdageometry/MaGeGeometryShielding.hh" 00072 00073 //---------------------------------------------------------------------------// 00074 00075 class MaGeGeometryGerdaCrystal : public MJGeometryDetector 00076 { 00077 //public members 00078 public: 00079 00080 00081 //default constructor 00082 MaGeGeometryGerdaCrystal(); 00083 00084 //copy constructor 00085 00086 //destructor 00087 ~MaGeGeometryGerdaCrystal(); 00088 00089 // construction inheritedfrom MJGeometryDetector 00090 void ConstructDetector(); 00091 00092 // setters 00093 00094 //protected members 00095 protected: 00096 00097 00098 //private members 00099 private: 00100 00101 //----------------------------------------- 00102 // Number of Ge crystals 00103 //----------------------------------------- 00104 static const G4int GeCrystalNum=1; 00105 00106 // MaGeGeometryGermaniumArray* theArray; 00107 MaGeGeometryGermaniumCrystal* theCrystal; 00108 MaGeGeometryShielding* theShielding; 00109 G4VPhysicalVolume* GeActiveCrystal_Physical; 00110 G4VPhysicalVolume* GeDeadlayerCrystal_Physical; 00111 00112 }; 00113 // 00114 #endif