Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4BaseAnalysisManager Class Reference

#include <G4BaseAnalysisManager.hh>

Inheritance diagram for G4BaseAnalysisManager:
Collaboration diagram for G4BaseAnalysisManager:

Public Member Functions

 G4BaseAnalysisManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseAnalysisManager ()
 
G4bool SetFirstId (G4int firstId)
 
void SetLockFirstId (G4bool lockFirstId)
 
G4int GetFirstId () const
 

Protected Attributes

const G4AnalysisManagerStatefState
 
G4int fFirstId
 
G4bool fLockFirstId
 

Detailed Description

Definition at line 42 of file G4BaseAnalysisManager.hh.

Constructor & Destructor Documentation

G4BaseAnalysisManager::G4BaseAnalysisManager ( const G4AnalysisManagerState state)
explicit

Definition at line 36 of file G4BaseAnalysisManager.cc.

38  : fState(state),
39  fFirstId(0),
40  fLockFirstId(false)
41 {}
const G4AnalysisManagerState & fState
G4BaseAnalysisManager::~G4BaseAnalysisManager ( )
virtual

Definition at line 44 of file G4BaseAnalysisManager.cc.

45 {}

Member Function Documentation

G4int G4BaseAnalysisManager::GetFirstId ( ) const
inline

Definition at line 72 of file G4BaseAnalysisManager.hh.

72  {
73  return fFirstId;
74 }

Here is the caller graph for this function:

G4bool G4BaseAnalysisManager::SetFirstId ( G4int  firstId)

Definition at line 52 of file G4BaseAnalysisManager.cc.

53 {
54  if ( fLockFirstId ) {
55  G4ExceptionDescription description;
56  description
57  << "Cannot set FirstId as its value was already used.";
58  G4Exception("G4BaseAnalysisManager::SetFirstId()",
59  "Analysis_W013", JustWarning, description);
60  return false;
61  }
62 
63  fFirstId = firstId;
64  return true;
65 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41

Here is the call graph for this function:

Here is the caller graph for this function:

void G4BaseAnalysisManager::SetLockFirstId ( G4bool  lockFirstId)
inline

Definition at line 68 of file G4BaseAnalysisManager.hh.

68  {
69  fLockFirstId = lockFirstId;
70 }

Member Data Documentation

G4int G4BaseAnalysisManager::fFirstId
protected

Definition at line 62 of file G4BaseAnalysisManager.hh.

G4bool G4BaseAnalysisManager::fLockFirstId
protected

Definition at line 63 of file G4BaseAnalysisManager.hh.

const G4AnalysisManagerState& G4BaseAnalysisManager::fState
protected

Definition at line 61 of file G4BaseAnalysisManager.hh.


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