43 lines
1.1 KiB
C++
43 lines
1.1 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: ExN02TrackerSD.hh,v 1.3 2000/12/04 16:24:06 maire Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
|
|
|
#ifndef ExN02TrackerSD_h
|
|
#define ExN02TrackerSD_h 1
|
|
|
|
#include "G4VSensitiveDetector.hh"
|
|
#include "ExN02TrackerHit.hh"
|
|
|
|
class G4Step;
|
|
class G4HCofThisEvent;
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
|
|
|
class ExN02TrackerSD : public G4VSensitiveDetector
|
|
{
|
|
|
|
public:
|
|
ExN02TrackerSD(G4String);
|
|
~ExN02TrackerSD();
|
|
|
|
void Initialize(G4HCofThisEvent*);
|
|
G4bool ProcessHits(G4Step*, G4TouchableHistory*);
|
|
void EndOfEvent(G4HCofThisEvent*);
|
|
|
|
private:
|
|
ExN02TrackerHitsCollection* trackerCollection;
|
|
|
|
};
|
|
|
|
#endif
|
|
|