Files
geant4/examples/extended/electromagnetic/TestEm9/include/TrackingAction.hh
T
2016-06-09 10:41:53 +02:00

69 lines
2.4 KiB
C++
Executable File

//
// ********************************************************************
// * 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. *
// ********************************************************************
//
#ifndef TrackingAction_h
#define TrackingAction_h 1
//---------------------------------------------------------------------------
//
// ClassName: TrackingAction
//
// Description: Implementation file for control on MC truth
//
// Author: V.Ivanchenko 13/03/01
//
// Modified:
//
//----------------------------------------------------------------------------
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#include "G4UserTrackingAction.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class HistoManager;
class TrackingAction : public G4UserTrackingAction
{
public:
TrackingAction();
~TrackingAction();
void PreUserTrackingAction(const G4Track*);
void PostUserTrackingAction(const G4Track*) {};
private:
TrackingAction & operator=(const TrackingAction &right);
TrackingAction(const TrackingAction&);
HistoManager* theHisto;
};
#endif