Files
geant4/examples/extended/runAndEvent/RE01/include/RE01StackingAction.hh
T
2016-06-09 11:11:55 +02:00

58 lines
2.1 KiB
C++

//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: RE01StackingAction.hh,v 1.1 2004/11/26 07:37:40 asaim Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
#ifndef RE01StackingAction_H
#define RE01StackingAction_H 1
#include "globals.hh"
#include "G4UserStackingAction.hh"
class G4Track;
class G4VHitsCollection;
class RE01StackingAction : public G4UserStackingAction
{
public:
RE01StackingAction();
virtual ~RE01StackingAction();
public:
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track* aTrack);
virtual void NewStage();
virtual void PrepareNewEvent();
private:
G4VHitsCollection* GetCalCollection();
G4int stage;
G4int trackerHitsColID;
G4int calorimeterHitsColID;
};
#endif