Geant4  10.01
CexmcException.hh File Reference
#include <stdexcept>
#include <G4Types.hh>
+ Include dependency graph for CexmcException.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CexmcException
 

Enumerations

enum  CexmcExceptionType {
  CexmcUnknownException, CexmcSystemException, CexmcEventActionIsNotInitialized, CexmcCmdLineParseException,
  CexmcPreinitException, CexmcFileCompressException, CexmcReadProjectIncomplete, CexmcProjectExists,
  CexmcCmdIsNotAllowed, CexmcBadAngularRange, CexmcBadThreshold, CexmcBadCalorimeterTriggerAlgorithm,
  CexmcBadOCVetoAlgorithm, CexmcBadOCVetoFraction, CexmcCalorimeterRegionNotInitialized, CexmcCalorimeterGeometryDataNotInitialized,
  CexmcMultipleDetectorRoles, CexmcKinematicsException, CexmcPoorEventData, CexmcIncompatibleGeometry,
  CexmcIncompleteProductionModel, CexmcIncompatibleProductionModel, CexmcBeamAndIncidentParticlesMismatch, CexmcInvalidAngularRange,
  CexmcWeirdException
}
 

Functions

void ThrowExceptionIfProjectIsRead (CexmcExceptionType type, G4bool extraCond=true)
 

Enumeration Type Documentation

Enumerator
CexmcUnknownException 
CexmcSystemException 
CexmcEventActionIsNotInitialized 
CexmcCmdLineParseException 
CexmcPreinitException 
CexmcFileCompressException 
CexmcReadProjectIncomplete 
CexmcProjectExists 
CexmcCmdIsNotAllowed 
CexmcBadAngularRange 
CexmcBadThreshold 
CexmcBadCalorimeterTriggerAlgorithm 
CexmcBadOCVetoAlgorithm 
CexmcBadOCVetoFraction 
CexmcCalorimeterRegionNotInitialized 
CexmcCalorimeterGeometryDataNotInitialized 
CexmcMultipleDetectorRoles 
CexmcKinematicsException 
CexmcPoorEventData 
CexmcIncompatibleGeometry 
CexmcIncompleteProductionModel 
CexmcIncompatibleProductionModel 
CexmcBeamAndIncidentParticlesMismatch 
CexmcInvalidAngularRange 
CexmcWeirdException 

Definition at line 51 of file CexmcException.hh.

Function Documentation

void ThrowExceptionIfProjectIsRead ( CexmcExceptionType  type,
G4bool  extraCond = true 
)

Definition at line 179 of file CexmcException.cc.

References G4RunManager::GetRunManager(), and CexmcRunManager::ProjectIsRead().

Referenced by CexmcEnergyDepositDigitizer::AddCrystalResolutionRange(), CexmcProductionModel::ApplyFermiMotion(), CexmcEnergyDepositDigitizer::ApplyFiniteCrystalResolution(), CexmcEnergyDepositDigitizer::ClearCrystalResolutionData(), CexmcParticleGun::SetBeamParticle(), CexmcEnergyDepositDigitizer::SetCalorimeterLeftThreshold(), CexmcEnergyDepositDigitizer::SetCalorimeterRightThreshold(), CexmcEnergyDepositDigitizer::SetCalorimetersThreshold(), CexmcEnergyDepositDigitizer::SetCalorimeterTriggerAlgorithm(), CexmcPrimaryGeneratorAction::SetFwhmDirX(), CexmcPrimaryGeneratorAction::SetFwhmDirY(), CexmcPrimaryGeneratorAction::SetFwhmMomentumAmp(), CexmcPrimaryGeneratorAction::SetFwhmPosX(), CexmcPrimaryGeneratorAction::SetFwhmPosY(), CexmcEnergyDepositDigitizer::SetMonitorThreshold(), CexmcParticleGun::SetOrigDirection(), CexmcParticleGun::SetOrigMomentumAmp(), CexmcParticleGun::SetOrigPosition(), CexmcEnergyDepositDigitizer::SetOuterCrystalsVetoAlgorithm(), CexmcEnergyDepositDigitizer::SetOuterCrystalsVetoFraction(), CexmcEnergyDepositDigitizer::SetVetoCounterLeftThreshold(), CexmcEnergyDepositDigitizer::SetVetoCounterRightThreshold(), and CexmcEnergyDepositDigitizer::SetVetoCountersThreshold().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: