ATLAS Offline Software
Loading...
Searching...
No Matches
QuirkWatcher.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 QUIRKWATCHER_H
6#define QUIRKWATCHER_H
7
8#include "G4VProcess.hh"
9#include "G4VParticleChange.hh"
10
11class QuirkWatcher : public G4VProcess {
12public:
14 virtual ~QuirkWatcher();
15
17 const G4Track& track,
18 G4double previousStepSize,
19 G4ForceCondition* condition
20 );
21 virtual G4VParticleChange* PostStepDoIt(
22 const G4Track& track,
23 const G4Step& //stepData
24 );
25
27 const G4Track&, //track
28 G4double, //previousStepSize
29 G4double, //currentMinimumStep
30 G4double&, //proposedSafety
31 G4GPILSelection* //selection
32 ) {return -1.0;}
34 const G4Track&, //track
35 G4ForceCondition* //condition
36 ) {return -1.0;}
37 virtual G4VParticleChange* AlongStepDoIt(
38 const G4Track&, //track
39 const G4Step& //stepData
40 ) {return 0;}
41 virtual G4VParticleChange* AtRestDoIt(
42 const G4Track&, //track
43 const G4Step& //stepData
44 ) {return 0;}
45
46private:
47 G4VParticleChange m_particleChange;
48};
49
50#endif
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
virtual G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
G4VParticleChange m_particleChange
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
virtual ~QuirkWatcher()
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &)