Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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: MyCalorimeterSD.hh,v 2.1 1998/07/12 02:37:13 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
|
||||
#ifndef MyCalorimeterSD_h
|
||||
#define MyCalorimeterSD_h 1
|
||||
|
||||
#include "G4VSensitiveDetector.hh"
|
||||
#include "MyCalorimeterHitsCollection.hh"
|
||||
#include "MyCalorimeterHit.hh"
|
||||
#include "G4Step.hh"
|
||||
|
||||
class MyCalorimeterSD : public G4VSensitiveDetector
|
||||
{
|
||||
|
||||
public:
|
||||
MyCalorimeterSD(G4String name);
|
||||
~MyCalorimeterSD();
|
||||
|
||||
void Initialize();
|
||||
G4bool ProcessHits(G4Step*aStep);
|
||||
void EndOfEvent(G4HCofThisEvent*HCE);
|
||||
void clear();
|
||||
void DrawAll();
|
||||
void PrintAll();
|
||||
|
||||
private:
|
||||
MyCalorimeterHitsCollection *CalCollection;
|
||||
|
||||
int* CellID;
|
||||
int numberOfCells;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user