Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCL::Book Class Reference

#include <G4INCLBook.hh>

Public Member Functions

 Book ()
 
 ~Book ()
 
void reset ()
 
void incrementAcceptedCollisions ()
 
void incrementBlockedCollisions ()
 
void incrementAcceptedDecays ()
 
void incrementBlockedDecays ()
 
void incrementAvatars (AvatarType type)
 
void incrementCascading ()
 
void decrementCascading ()
 
void incrementEmittedClusters ()
 
void incrementEnergyViolationInteraction ()
 
void setFirstCollisionTime (const G4double t)
 
G4double getFirstCollisionTime () const
 
void setFirstCollisionXSec (const G4double x)
 
G4double getFirstCollisionXSec () const
 
void setFirstCollisionSpectatorPosition (const G4double x)
 
G4double getFirstCollisionSpectatorPosition () const
 
void setFirstCollisionSpectatorMomentum (const G4double x)
 
G4double getFirstCollisionSpectatorMomentum () const
 
void setFirstCollisionIsElastic (const G4bool e)
 
G4bool getFirstCollisionIsElastic () const
 
void setCurrentTime (G4double t)
 
G4double getCurrentTime () const
 
G4int getAcceptedCollisions () const
 
G4int getBlockedCollisions () const
 
G4int getAcceptedDecays () const
 
G4int getBlockedDecays () const
 
G4int getAvatars (AvatarType type) const
 
G4int getCascading () const
 
G4int getEmittedClusters () const
 
G4int getEnergyViolationInteraction () const
 

Detailed Description

Definition at line 45 of file G4INCLBook.hh.

Constructor & Destructor Documentation

◆ Book()

G4INCL::Book::Book ( )
inline

Definition at line 47 of file G4INCLBook.hh.

47 {
48 reset();
49 }
void reset()
Definition: G4INCLBook.hh:52

◆ ~Book()

G4INCL::Book::~Book ( )
inline

Definition at line 50 of file G4INCLBook.hh.

50{};

Member Function Documentation

◆ decrementCascading()

void G4INCL::Book::decrementCascading ( )
inline

Definition at line 78 of file G4INCLBook.hh.

78{ nCascading--; }

Referenced by G4INCL::InteractionAvatar::postInteraction(), and G4INCL::SurfaceAvatar::postInteraction().

◆ getAcceptedCollisions()

◆ getAcceptedDecays()

G4int G4INCL::Book::getAcceptedDecays ( ) const
inline

Definition at line 102 of file G4INCLBook.hh.

102{ return nAcceptedDecays; };

Referenced by G4INCL::Nucleus::fillEventInfo(), and G4INCL::Nucleus::isEventTransparent().

◆ getAvatars()

G4int G4INCL::Book::getAvatars ( AvatarType  type) const
inline

Definition at line 104 of file G4INCLBook.hh.

104{ return nAvatars.find(type)->second; };

Referenced by G4INCL::Nucleus::fillEventInfo().

◆ getBlockedCollisions()

G4int G4INCL::Book::getBlockedCollisions ( ) const
inline

Definition at line 101 of file G4INCLBook.hh.

101{return nBlockedCollisions; };

Referenced by G4INCL::Nucleus::fillEventInfo().

◆ getBlockedDecays()

G4int G4INCL::Book::getBlockedDecays ( ) const
inline

Definition at line 103 of file G4INCLBook.hh.

103{return nBlockedDecays; };

Referenced by G4INCL::Nucleus::fillEventInfo().

◆ getCascading()

G4int G4INCL::Book::getCascading ( ) const
inline

Definition at line 105 of file G4INCLBook.hh.

105{ return nCascading; };

◆ getCurrentTime()

◆ getEmittedClusters()

G4int G4INCL::Book::getEmittedClusters ( ) const
inline

Definition at line 106 of file G4INCLBook.hh.

106{ return nEmittedClusters; };

Referenced by G4INCL::Nucleus::isEventTransparent().

◆ getEnergyViolationInteraction()

G4int G4INCL::Book::getEnergyViolationInteraction ( ) const
inline

Definition at line 107 of file G4INCLBook.hh.

107{ return nEnergyViolationInteraction; };

Referenced by G4INCL::Nucleus::fillEventInfo().

◆ getFirstCollisionIsElastic()

G4bool G4INCL::Book::getFirstCollisionIsElastic ( ) const
inline

Definition at line 95 of file G4INCLBook.hh.

95{ return firstCollisionIsElastic; };

Referenced by G4INCL::Nucleus::fillEventInfo().

◆ getFirstCollisionSpectatorMomentum()

G4double G4INCL::Book::getFirstCollisionSpectatorMomentum ( ) const
inline

Definition at line 92 of file G4INCLBook.hh.

92{ return firstCollisionSpectatorMomentum; };

Referenced by G4INCL::Nucleus::fillEventInfo().

◆ getFirstCollisionSpectatorPosition()

G4double G4INCL::Book::getFirstCollisionSpectatorPosition ( ) const
inline

Definition at line 89 of file G4INCLBook.hh.

89{ return firstCollisionSpectatorPosition; };

Referenced by G4INCL::Nucleus::fillEventInfo().

◆ getFirstCollisionTime()

G4double G4INCL::Book::getFirstCollisionTime ( ) const
inline

Definition at line 83 of file G4INCLBook.hh.

83{ return firstCollisionTime; };

Referenced by G4INCL::Nucleus::fillEventInfo().

◆ getFirstCollisionXSec()

G4double G4INCL::Book::getFirstCollisionXSec ( ) const
inline

Definition at line 86 of file G4INCLBook.hh.

86{ return firstCollisionXSec; };

Referenced by G4INCL::Nucleus::fillEventInfo().

◆ incrementAcceptedCollisions()

void G4INCL::Book::incrementAcceptedCollisions ( )
inline

Definition at line 72 of file G4INCLBook.hh.

72{ nAcceptedCollisions++; };

Referenced by G4INCL::BinaryCollisionAvatar::postInteraction().

◆ incrementAcceptedDecays()

void G4INCL::Book::incrementAcceptedDecays ( )
inline

Definition at line 74 of file G4INCLBook.hh.

74{ nAcceptedDecays++; };

Referenced by G4INCL::DecayAvatar::postInteraction().

◆ incrementAvatars()

void G4INCL::Book::incrementAvatars ( AvatarType  type)
inline

Definition at line 76 of file G4INCLBook.hh.

76{ nAvatars[type]++; };

◆ incrementBlockedCollisions()

void G4INCL::Book::incrementBlockedCollisions ( )
inline

Definition at line 73 of file G4INCLBook.hh.

73{ nBlockedCollisions++; };

Referenced by G4INCL::BinaryCollisionAvatar::postInteraction().

◆ incrementBlockedDecays()

void G4INCL::Book::incrementBlockedDecays ( )
inline

Definition at line 75 of file G4INCLBook.hh.

75{ nBlockedDecays++; };

Referenced by G4INCL::DecayAvatar::postInteraction().

◆ incrementCascading()

void G4INCL::Book::incrementCascading ( )
inline

◆ incrementEmittedClusters()

void G4INCL::Book::incrementEmittedClusters ( )
inline

Definition at line 79 of file G4INCLBook.hh.

79{ nEmittedClusters++; }

Referenced by G4INCL::SurfaceAvatar::getChannel().

◆ incrementEnergyViolationInteraction()

void G4INCL::Book::incrementEnergyViolationInteraction ( )
inline

Definition at line 80 of file G4INCLBook.hh.

80{ nEnergyViolationInteraction++; }

Referenced by G4INCL::InteractionAvatar::enforceEnergyConservation().

◆ reset()

void G4INCL::Book::reset ( )
inline

Definition at line 52 of file G4INCLBook.hh.

52 {
53 nAcceptedCollisions = 0;
54 nBlockedCollisions = 0;
55 nAcceptedDecays = 0;
56 nBlockedDecays = 0;
57 currentTime = 0.0;
58 firstCollisionTime = 0.0;
59 firstCollisionXSec = 0.0;
60 firstCollisionSpectatorPosition = 0.0;
61 firstCollisionSpectatorMomentum = 0.0;
62 firstCollisionIsElastic = false;
63 nAvatars[SurfaceAvatarType] = 0;
64 nAvatars[CollisionAvatarType] = 0;
65 nAvatars[DecayAvatarType] = 0;
66 nAvatars[ParticleEntryAvatarType] = 0;
67 nCascading = 0;
68 nEmittedClusters = 0;
69 nEnergyViolationInteraction = 0;
70 };
@ SurfaceAvatarType
@ CollisionAvatarType
@ DecayAvatarType
@ ParticleEntryAvatarType

Referenced by Book(), G4INCL::INCL::initializeTarget(), and G4INCL::Store::~Store().

◆ setCurrentTime()

void G4INCL::Book::setCurrentTime ( G4double  t)
inline

Definition at line 97 of file G4INCLBook.hh.

97{ currentTime = t; };

Referenced by G4INCL::StandardPropagationModel::propagate().

◆ setFirstCollisionIsElastic()

void G4INCL::Book::setFirstCollisionIsElastic ( const G4bool  e)
inline

Definition at line 94 of file G4INCLBook.hh.

94{ firstCollisionIsElastic = e; };

Referenced by G4INCL::BinaryCollisionAvatar::postInteraction().

◆ setFirstCollisionSpectatorMomentum()

void G4INCL::Book::setFirstCollisionSpectatorMomentum ( const G4double  x)
inline

Definition at line 91 of file G4INCLBook.hh.

91{ firstCollisionSpectatorMomentum = x; };

Referenced by G4INCL::BinaryCollisionAvatar::postInteraction().

◆ setFirstCollisionSpectatorPosition()

void G4INCL::Book::setFirstCollisionSpectatorPosition ( const G4double  x)
inline

Definition at line 88 of file G4INCLBook.hh.

88{ firstCollisionSpectatorPosition = x; };

Referenced by G4INCL::BinaryCollisionAvatar::postInteraction().

◆ setFirstCollisionTime()

void G4INCL::Book::setFirstCollisionTime ( const G4double  t)
inline

Definition at line 82 of file G4INCLBook.hh.

82{ firstCollisionTime = t; };

Referenced by G4INCL::BinaryCollisionAvatar::postInteraction().

◆ setFirstCollisionXSec()

void G4INCL::Book::setFirstCollisionXSec ( const G4double  x)
inline

Definition at line 85 of file G4INCLBook.hh.

85{ firstCollisionXSec = x; };

Referenced by G4INCL::BinaryCollisionAvatar::postInteraction().


The documentation for this class was generated from the following file: