Geant4 9.6.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 setFirstCollisionTime (G4double t)
 
G4double getFirstCollisionTime ()
 
void setFirstCollisionXSec (G4double x)
 
G4double getFirstCollisionXSec ()
 
void setCurrentTime (G4double t)
 
G4double getCurrentTime ()
 
G4int getAcceptedCollisions () const
 
G4int getBlockedCollisions () const
 
G4int getAcceptedDecays () const
 
G4int getBlockedDecays () const
 
G4int getAvatars (AvatarType type) const
 
G4int getCascading () const
 

Detailed Description

Definition at line 46 of file G4INCLBook.hh.

Constructor & Destructor Documentation

◆ Book()

G4INCL::Book::Book ( )
inline

Definition at line 48 of file G4INCLBook.hh.

48 {
49 reset();
50 }
void reset()
Definition: G4INCLBook.hh:53

◆ ~Book()

G4INCL::Book::~Book ( )
inline

Definition at line 51 of file G4INCLBook.hh.

51{};

Member Function Documentation

◆ decrementCascading()

void G4INCL::Book::decrementCascading ( )
inline

Definition at line 74 of file G4INCLBook.hh.

74{ nCascading--; }

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

◆ getAcceptedCollisions()

◆ getAcceptedDecays()

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

Definition at line 87 of file G4INCLBook.hh.

87{ return nAcceptedDecays; };

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

◆ getAvatars()

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

Definition at line 89 of file G4INCLBook.hh.

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

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

◆ getBlockedCollisions()

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

Definition at line 86 of file G4INCLBook.hh.

86{return nBlockedCollisions; };

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

◆ getBlockedDecays()

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

Definition at line 88 of file G4INCLBook.hh.

88{return nBlockedDecays; };

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

◆ getCascading()

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

Definition at line 90 of file G4INCLBook.hh.

90{ return nCascading; };

◆ getCurrentTime()

G4double G4INCL::Book::getCurrentTime ( )
inline

◆ getFirstCollisionTime()

G4double G4INCL::Book::getFirstCollisionTime ( )
inline

Definition at line 77 of file G4INCLBook.hh.

77{ return firstCollisionTime; };

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

◆ getFirstCollisionXSec()

G4double G4INCL::Book::getFirstCollisionXSec ( )
inline

Definition at line 80 of file G4INCLBook.hh.

80{ return firstCollisionXSec; };

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

◆ incrementAcceptedCollisions()

void G4INCL::Book::incrementAcceptedCollisions ( )
inline

Definition at line 68 of file G4INCLBook.hh.

68{ nAcceptedCollisions++; };

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

◆ incrementAcceptedDecays()

void G4INCL::Book::incrementAcceptedDecays ( )
inline

Definition at line 70 of file G4INCLBook.hh.

70{ nAcceptedDecays++; };

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

◆ incrementAvatars()

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

Definition at line 72 of file G4INCLBook.hh.

72{ nAvatars[type]++; };

◆ incrementBlockedCollisions()

void G4INCL::Book::incrementBlockedCollisions ( )
inline

Definition at line 69 of file G4INCLBook.hh.

69{ nBlockedCollisions++; };

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

◆ incrementBlockedDecays()

void G4INCL::Book::incrementBlockedDecays ( )
inline

Definition at line 71 of file G4INCLBook.hh.

71{ nBlockedDecays++; };

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

◆ incrementCascading()

void G4INCL::Book::incrementCascading ( )
inline

◆ reset()

void G4INCL::Book::reset ( )
inline

Definition at line 53 of file G4INCLBook.hh.

53 {
54 nAcceptedCollisions = 0;
55 nBlockedCollisions = 0;
56 nAcceptedDecays = 0;
57 nBlockedDecays = 0;
58 currentTime = 0.0;
59 firstCollisionTime = 0.0;
60 firstCollisionXSec = 0.0;
61 nAvatars[SurfaceAvatarType] = 0;
62 nAvatars[CollisionAvatarType] = 0;
63 nAvatars[DecayAvatarType] = 0;
64 nAvatars[ParticleEntryAvatarType] = 0;
65 nCascading = 0;
66 };
@ 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 82 of file G4INCLBook.hh.

82{ currentTime = t; };

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

◆ setFirstCollisionTime()

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

Definition at line 76 of file G4INCLBook.hh.

76{ firstCollisionTime = t; };

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

◆ setFirstCollisionXSec()

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

Definition at line 79 of file G4INCLBook.hh.

79{ firstCollisionXSec = x; };

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


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