ATLAS Offline Software
Loading...
Searching...
No Matches
PunchThroughSimWrapper.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef G4FASTSIMULATION_PUNCHTHROUGHSIMWRAPPER_H
6#define G4FASTSIMULATION_PUNCHTHROUGHSIMWRAPPER_H
7
8// Base classes
11
12// Geant4 Punchthrough G4 Tool
15
16//Geant4
17#include "G4ParticleTable.hh"
18#include "G4FastStep.hh"
19#include "G4FastTrack.hh"
20
30
31class PunchThroughSimWrapper : public extends<AthAlgTool, IPunchThroughSimWrapper>
32{
33 public:
35 PunchThroughSimWrapper(const std::string&,const std::string&,const IInterface*);
36
38 virtual ~PunchThroughSimWrapper() = default;
39
41 virtual StatusCode initialize();
43 virtual StatusCode finalize();
44
45 // public function exposed to interface
46 virtual void DoPunchThroughSim(G4ParticleTable &ptable, CLHEP::HepRandomEngine* rng, const double simE, std::vector<double> simEfrac, const G4FastTrack& fastTrack, G4FastStep& fastStep);
47
48 private:
49 /*---------------------------------------------------------------------
50 * Private member functions
51 *---------------------------------------------------------------------*/
52 PublicToolHandle<IPunchThroughG4Tool> m_PunchThroughG4Tool{this, "PunchThroughG4Tool", "PunchThroughG4Tool", ""};
53 PublicToolHandle<IPunchThroughG4Classifier> m_PunchThroughG4Classifier{this, "PunchThroughG4Classifier", "PunchThroughG4Classifier", ""};
54};
55
56#endif
PunchThroughSimWrapper(const std::string &, const std::string &, const IInterface *)
Constructor.
PublicToolHandle< IPunchThroughG4Tool > m_PunchThroughG4Tool
virtual StatusCode initialize()
AlgTool initialize method.
PublicToolHandle< IPunchThroughG4Classifier > m_PunchThroughG4Classifier
virtual StatusCode finalize()
AlgTool finalize method.
virtual void DoPunchThroughSim(G4ParticleTable &ptable, CLHEP::HepRandomEngine *rng, const double simE, std::vector< double > simEfrac, const G4FastTrack &fastTrack, G4FastStep &fastStep)
virtual ~PunchThroughSimWrapper()=default
Destructor.