Geant4  10.02.p03
CexmcException.cc File Reference
#include "CexmcException.hh"
#include "CexmcRunManager.hh"
#include "CexmcCommon.hh"
Include dependency graph for CexmcException.cc:

Go to the source code of this file.

Functions

void ThrowExceptionIfProjectIsRead (CexmcExceptionType type, G4bool extraCond)
 

Function Documentation

◆ ThrowExceptionIfProjectIsRead()

void ThrowExceptionIfProjectIsRead ( CexmcExceptionType  type,
G4bool  extraCond 
)

Definition at line 179 of file CexmcException.cc.

181 {
182  CexmcRunManager * runManager( static_cast< CexmcRunManager * >(
184  if ( runManager->ProjectIsRead() && extraCond )
185  throw CexmcException( type );
186 }
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:
Here is the caller graph for this function: