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 44 of file G4INCLBook.hh.


Constructor & Destructor Documentation

G4INCL::Book::Book (  )  [inline]

Definition at line 46 of file G4INCLBook.hh.

References reset().

00046            {
00047       reset();
00048     }

G4INCL::Book::~Book (  )  [inline]

Definition at line 49 of file G4INCLBook.hh.

00049 {};


Member Function Documentation

void G4INCL::Book::decrementCascading (  )  [inline]

Definition at line 72 of file G4INCLBook.hh.

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

00072 { nCascading--; }

G4int G4INCL::Book::getAcceptedCollisions (  )  const [inline]

Definition at line 83 of file G4INCLBook.hh.

Referenced by G4INCL::Nucleus::fillEventInfo(), G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::PauliStrictStandard::isBlocked(), G4INCL::BinaryCollisionAvatar::postInteraction(), and G4INCL::InteractionAvatar::shouldUseLocalEnergy().

00083 { return nAcceptedCollisions; };

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

Definition at line 85 of file G4INCLBook.hh.

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

00085 { return nAcceptedDecays; };

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

Definition at line 87 of file G4INCLBook.hh.

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

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

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

Definition at line 84 of file G4INCLBook.hh.

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

00084 {return nBlockedCollisions; };

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

Definition at line 86 of file G4INCLBook.hh.

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

00086 {return nBlockedDecays; };

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

Definition at line 88 of file G4INCLBook.hh.

00088 { return nCascading; };

G4double G4INCL::Book::getCurrentTime (  )  [inline]

Definition at line 81 of file G4INCLBook.hh.

Referenced by G4INCL::Nucleus::applyFinalState(), G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::Nucleus::emitInsidePions(), and G4INCL::BinaryCollisionAvatar::postInteraction().

00081 { return currentTime; };

G4double G4INCL::Book::getFirstCollisionTime (  )  [inline]

Definition at line 75 of file G4INCLBook.hh.

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

00075 { return firstCollisionTime; };

G4double G4INCL::Book::getFirstCollisionXSec (  )  [inline]

Definition at line 78 of file G4INCLBook.hh.

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

00078 { return firstCollisionXSec; };

void G4INCL::Book::incrementAcceptedCollisions (  )  [inline]

Definition at line 66 of file G4INCLBook.hh.

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

00066 { nAcceptedCollisions++; };

void G4INCL::Book::incrementAcceptedDecays (  )  [inline]

Definition at line 68 of file G4INCLBook.hh.

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

00068 { nAcceptedDecays++; };

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

Definition at line 70 of file G4INCLBook.hh.

00070 { nAvatars[type]++; };

void G4INCL::Book::incrementBlockedCollisions (  )  [inline]

Definition at line 67 of file G4INCLBook.hh.

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

00067 { nBlockedCollisions++; };

void G4INCL::Book::incrementBlockedDecays (  )  [inline]

Definition at line 69 of file G4INCLBook.hh.

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

00069 { nBlockedDecays++; };

void G4INCL::Book::incrementCascading (  )  [inline]

Definition at line 71 of file G4INCLBook.hh.

Referenced by G4INCL::Nucleus::insertParticle(), G4INCL::Store::loadParticles(), and G4INCL::InteractionAvatar::postInteraction().

00071 { nCascading++; }

void G4INCL::Book::reset (  )  [inline]

Definition at line 51 of file G4INCLBook.hh.

References G4INCL::CollisionAvatarType, G4INCL::DecayAvatarType, G4INCL::ParticleEntryAvatarType, and G4INCL::SurfaceAvatarType.

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

00051                  {
00052       nAcceptedCollisions = 0;
00053       nBlockedCollisions = 0;
00054       nAcceptedDecays = 0;
00055       nBlockedDecays = 0;
00056       currentTime = 0.0;
00057       firstCollisionTime = 0.0;
00058       firstCollisionXSec = 0.0;
00059       nAvatars[SurfaceAvatarType] = 0;
00060       nAvatars[CollisionAvatarType] = 0;
00061       nAvatars[DecayAvatarType] = 0;
00062       nAvatars[ParticleEntryAvatarType] = 0;
00063       nCascading = 0;
00064     };

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

Definition at line 80 of file G4INCLBook.hh.

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

00080 { currentTime = t; };

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

Definition at line 74 of file G4INCLBook.hh.

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

00074 { firstCollisionTime = t; };

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

Definition at line 77 of file G4INCLBook.hh.

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

00077 { firstCollisionXSec = x; };


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:54:08 2013 for Geant4 by  doxygen 1.4.7