Files
geant4/examples/novice/N03/include/ExN03CalorimeterSD.hh
T
2016-06-08 15:28:20 +02:00

52 lines
1.3 KiB
C++

// 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: ExN03CalorimeterSD.hh,v 1.1.10.1 1999/12/07 20:47:28 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifndef ExN03CalorimeterSD_h
#define ExN03CalorimeterSD_h 1
#include "G4VSensitiveDetector.hh"
#include "globals.hh"
class ExN03DetectorConstruction;
class G4HCofThisEvent;
class G4Step;
#include "ExN03CalorHit.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class ExN03CalorimeterSD : public G4VSensitiveDetector
{
public:
ExN03CalorimeterSD(G4String, ExN03DetectorConstruction* );
~ExN03CalorimeterSD();
void Initialize(G4HCofThisEvent*);
G4bool ProcessHits(G4Step*,G4TouchableHistory*);
void EndOfEvent(G4HCofThisEvent*);
void clear();
void DrawAll();
void PrintAll();
private:
ExN03CalorHitsCollection* CalCollection;
ExN03DetectorConstruction* Detector;
G4int* HitID;
};
#endif