ATLAS Offline Software
StoppedParticleFastSim.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRACKWRITEFASTSIM_StoppedParticleFastSim_h
6 #define TRACKWRITEFASTSIM_StoppedParticleFastSim_h
7 
8 //Base class header
9 #include "G4VFastSimulationModel.hh"
10 
11 //STL headers
12 #include <string>
13 
14 class TrackFastSimSD;
15 
16 class StoppedParticleFastSim: public G4VFastSimulationModel
17 {
18 public:
19 
20  StoppedParticleFastSim(const std::string& name, const std::string& fsSDname);
22 
23  // Fast Sim Methods
24  G4bool IsApplicable(const G4ParticleDefinition&) override final;
25  virtual G4bool ModelTrigger(const G4FastTrack &) override final;
26  void DoIt(const G4FastTrack&, G4FastStep&) override final;
27 
28 protected:
29 
30  bool isSUSYParticle(const int) const;
32  bool m_init;
33  std::string m_fsSDname;
34 };
35 
36 #endif // TRACKWRITEFASTSIM_StoppedParticleFastSim_h
StoppedParticleFastSim::m_fsSD
TrackFastSimSD * m_fsSD
Definition: StoppedParticleFastSim.h:31
TrackFastSimSD
Definition: TrackFastSimSD.h:24
StoppedParticleFastSim::m_fsSDname
std::string m_fsSDname
Definition: StoppedParticleFastSim.h:33
StoppedParticleFastSim::StoppedParticleFastSim
StoppedParticleFastSim(const std::string &name, const std::string &fsSDname)
Definition: StoppedParticleFastSim.cxx:21
StoppedParticleFastSim::~StoppedParticleFastSim
~StoppedParticleFastSim()
Definition: StoppedParticleFastSim.h:21
StoppedParticleFastSim::m_init
bool m_init
Definition: StoppedParticleFastSim.h:32
StoppedParticleFastSim::isSUSYParticle
bool isSUSYParticle(const int) const
Definition: StoppedParticleFastSim.cxx:77
StoppedParticleFastSim::IsApplicable
G4bool IsApplicable(const G4ParticleDefinition &) override final
Definition: StoppedParticleFastSim.cxx:29
StoppedParticleFastSim
Definition: StoppedParticleFastSim.h:17
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
StoppedParticleFastSim::ModelTrigger
virtual G4bool ModelTrigger(const G4FastTrack &) override final
Definition: StoppedParticleFastSim.cxx:34
StoppedParticleFastSim::DoIt
void DoIt(const G4FastTrack &, G4FastStep &) override final
Definition: StoppedParticleFastSim.cxx:54