31 fForceCollisionOperator( optr )
33 fForceCollisionState = ForceCollisionState::free;
38 if ( fForceCollisionState != ForceCollisionState::free )
41 ed <<
"Track deleted while under G4BOptrForceCollision biasing scheme of operator `";
42 if ( fForceCollisionOperator ==
nullptr ) ed <<
"(none)";
else ed << fForceCollisionOperator->
GetName();
43 ed <<
"'. Will result in inconsistencies.";
44 G4Exception(
" G4BOptrForceCollisionTrackData::~G4BOptrForceCollisionTrackData()",
53 G4cout <<
" G4BOptrForceCollisionTrackData object : " <<
this <<
G4endl;
55 G4cout <<
" Force collision state : ";
56 switch ( fForceCollisionState )
58 case ForceCollisionState::free :
59 G4cout <<
"free from biasing ";
61 case ForceCollisionState::toBeCloned :
64 case ForceCollisionState::toBeForced :
65 G4cout <<
"to be interaction forced ";
67 case ForceCollisionState::toBeFreeFlight :
68 G4cout <<
"to be free flight forced (under weight = 0) ";
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4GLOB_DLL std::ostream G4cout
~G4BOptrForceCollisionTrackData()
G4BOptrForceCollisionTrackData(const G4BOptrForceCollision *)
const G4String GetName() const