Files
geant4/environments/XVT/MyCalorimeterSD.hh
T
2016-06-01 15:25:35 +02:00

46 lines
973 B
C++

// 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