G4NeutronHPManager Class Reference

#include <G4NeutronHPManager.hh>


Public Member Functions

G4NeutronHPReactionWhiteBoard * GetReactionWhiteBoard ()
void OpenReactionWhiteBoard ()
void CloseReactionWhiteBoard ()

Static Public Member Functions

static G4NeutronHPManager * GetInstance ()


Detailed Description

Definition at line 39 of file G4NeutronHPManager.hh.


Member Function Documentation

void G4NeutronHPManager::CloseReactionWhiteBoard (  )  [inline]

Definition at line 56 of file G4NeutronHPManager.hh.

Referenced by G4NeutronHPInelastic::ApplyYourself(), G4NeutronHPFission::ApplyYourself(), G4NeutronHPElastic::ApplyYourself(), and G4NeutronHPCapture::ApplyYourself().

00056 {delete RWB; RWB=NULL;};

static G4NeutronHPManager* G4NeutronHPManager::GetInstance (  )  [inline, static]

Definition at line 42 of file G4NeutronHPManager.hh.

Referenced by G4NeutronHPInelastic::ApplyYourself(), G4NeutronHPFission::ApplyYourself(), G4NeutronHPElastic::ApplyYourself(), G4NeutronHPChannelList::ApplyYourself(), G4NeutronHPChannel::ApplyYourself(), and G4NeutronHPCapture::ApplyYourself().

00042                                                {
00043          if ( instance == NULL) instance = new G4NeutronHPManager();
00044          return instance;
00045       };

G4NeutronHPReactionWhiteBoard * G4NeutronHPManager::GetReactionWhiteBoard (  ) 

Definition at line 53 of file G4NeutronHPManager.cc.

References G4cout, and G4endl.

Referenced by G4NeutronHPChannelList::ApplyYourself(), and G4NeutronHPChannel::ApplyYourself().

00054 {
00055    if ( RWB == NULL ) {
00056       G4cout << "Warning: try to access G4NeutronHPReactionWhiteBoard before opening" << G4endl;
00057       RWB = new G4NeutronHPReactionWhiteBoard();
00058    }
00059    return RWB; 
00060 }

void G4NeutronHPManager::OpenReactionWhiteBoard (  ) 

Definition at line 44 of file G4NeutronHPManager.cc.

References G4cout, and G4endl.

Referenced by G4NeutronHPInelastic::ApplyYourself(), G4NeutronHPFission::ApplyYourself(), G4NeutronHPElastic::ApplyYourself(), and G4NeutronHPCapture::ApplyYourself().

00045 {
00046    if ( RWB != NULL ) {
00047       G4cout << "Warning: G4NeutronHPReactionWhiteBoard is tried doubly opening" << G4endl;
00048       RWB = new G4NeutronHPReactionWhiteBoard();
00049    }
00050    
00051    RWB = new G4NeutronHPReactionWhiteBoard();
00052 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:39 2013 for Geant4 by  doxygen 1.4.7