Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4BiasingOperationManager Class Reference

#include <G4BiasingOperationManager.hh>

Public Member Functions

const std::vector
< G4VBiasingOperation * > 
GetBiasingOperations ()
 
G4VBiasingOperationGetBiasingOperation (std::size_t optionID)
 
 ~G4BiasingOperationManager ()
 
std::size_t Register (G4VBiasingOperation *)
 

Static Public Member Functions

static G4BiasingOperationManagerGetInstance ()
 

Friends

class G4ThreadLocalSingleton< G4BiasingOperationManager >
 

Detailed Description

Definition at line 51 of file G4BiasingOperationManager.hh.

Constructor & Destructor Documentation

G4BiasingOperationManager::~G4BiasingOperationManager ( )

Definition at line 35 of file G4BiasingOperationManager.cc.

36 {}

Member Function Documentation

G4VBiasingOperation * G4BiasingOperationManager::GetBiasingOperation ( std::size_t  optionID)

Definition at line 57 of file G4BiasingOperationManager.cc.

58 {
59  if (optionID < fBiasingOperationVector.Size()) return fBiasingOperationVector[optionID];
60  else return 0;
61 }
size_type Size()
Definition: G4Cache.hh:159

Here is the call graph for this function:

const std::vector< G4VBiasingOperation* > G4BiasingOperationManager::GetBiasingOperations ( )
inline

Definition at line 55 of file G4BiasingOperationManager.hh.

55 {return fBiasingOperationVector.Get();}
value_type & Get() const
Definition: G4Cache.hh:282

Here is the call graph for this function:

G4BiasingOperationManager * G4BiasingOperationManager::GetInstance ( void  )
static

Definition at line 38 of file G4BiasingOperationManager.cc.

39 {
40  //Create an instance for each thread.
42  return instance.Instance();
43 // if (fInstance == 0) fInstance = new G4BiasingOperationManager();
44 // return fInstance;
45 }
static MCTruthManager * instance

Here is the call graph for this function:

Here is the caller graph for this function:

std::size_t G4BiasingOperationManager::Register ( G4VBiasingOperation option)

Definition at line 47 of file G4BiasingOperationManager.cc.

48 {
49  std::size_t optionUniqueID = fBiasingOperationVector.Size();
50 
51  fBiasingOperationVector.Push_back(option);
52  fBiasingOperationIDtoPointerMap[option] = optionUniqueID;
53 
54  return optionUniqueID;
55 }
size_type Size()
Definition: G4Cache.hh:159
void Push_back(const value_type &val)
Definition: G4Cache.hh:333

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

Definition at line 52 of file G4BiasingOperationManager.hh.


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