// This code implementation is the intellectual property of // the GEANT4 collaboration. // // By copying, distributing or modifying the Program (or any work // based on the Program) you indicate your acceptance of this statement, // and all its terms. // // $Id: GammaRayTelPayloadSD.hh,v 1.3 2000/11/24 16:56:59 flongo Exp $ // GEANT4 tag $Name: geant4-03-00 $ // ------------------------------------------------------------ // GEANT 4 class header file // CERN Geneva Switzerland // // For information related to this code contact: // CERN, IT Division, ASD group // // ------------ GammaRayTelPayloadSD ------ // by R.Giannitrapani, F.Longo & G.Santin (13 nov 2000) // // ************************************************************ #ifndef GammaRayTelPayloadSD_h #define GammaRayTelPayloadSD_h 1 #include "G4VSensitiveDetector.hh" #include "globals.hh" class GammaRayTelDetectorConstruction; class G4HCofThisEvent; class G4Step; #include "GammaRayTelPayloadHit.hh" //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... class GammaRayTelPayloadSD : public G4VSensitiveDetector { public: GammaRayTelPayloadSD(G4String, GammaRayTelDetectorConstruction* ); ~GammaRayTelPayloadSD(); void Initialize(G4HCofThisEvent*); G4bool ProcessHits(G4Step* astep,G4TouchableHistory* ROHist); void EndOfEvent(G4HCofThisEvent*); void clear(); void DrawAll(); void PrintAll(); private: GammaRayTelPayloadHitsCollection* PayloadCollection; GammaRayTelDetectorConstruction* Detector; G4int (*HitXID)[30]; G4int (*HitYID)[30]; G4int NbOfTKRLayers; G4int NbOfTKRStrips; }; #endif