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 00038 // End class description 00039 // 00044 // 00045 // --------------------------------------------------------------------------// 00055 // --------------------------------------------------------------------------// 00056 00057 #ifndef _MAGEGEOMETRYSD_HH 00058 #define _MAGEGEOMETRYSD_HH 00059 00060 //---------------------------------------------------------------------------// 00061 #include "G4VSensitiveDetector.hh" 00062 #include "MaGeGeometrySDHit.hh" 00063 class G4Step; 00064 class G4HCofThisEvent; 00065 class G4TouchableHistory; 00066 //---------------------------------------------------------------------------// 00067 00068 class MaGeGeometrySD : public G4VSensitiveDetector 00069 { 00070 public: 00071 //default constructor 00072 MaGeGeometrySD(G4String name); 00073 00074 //copy constructor 00075 00076 // destructor 00077 ~MaGeGeometrySD(); 00078 00079 void Initialize(G4HCofThisEvent*HCE); 00080 G4bool ProcessHits(G4Step*aStep,G4TouchableHistory*ROhist); 00081 void EndOfEvent(G4HCofThisEvent*HCE); 00082 00083 00084 protected: 00085 00086 00087 private: 00088 00089 MaGeGeometrySDHitsCollection *HitsCollection; 00090 }; 00091 // 00092 #endif