#include <G4SDManager.hh>
Definition at line 50 of file G4SDManager.hh.
G4SDManager::G4SDManager |
( |
| ) |
|
|
protected |
G4SDManager::~G4SDManager |
( |
| ) |
|
Definition at line 121 of file G4SDManager.cc.
124 if( pathName(0) !=
'/' ) pathName.
prepend(
"/");
125 treeTop->
Activate(pathName,activeFlag);
void Activate(G4String aName, G4bool sensitiveFlag)
G4String & prepend(const char *)
Definition at line 92 of file G4SDManager.cc.
98 if(verboseLevel>1)
G4cout <<
"G4SDManager::AddNewCollection : the collection <"
99 << SDname <<
"/" << DCname <<
"> has already been reginstered." <<
G4endl;
103 G4cout <<
"G4SDManager::AddNewCollection : the collection <"
104 << SDname <<
"/" << DCname <<
"> is registered at " << i <<
G4endl;
G4int Registor(G4String SDname, G4String HCname)
G4GLOB_DLL std::ostream G4cout
Definition at line 71 of file G4SDManager.cc.
75 if( pathName(0) !=
'/' ) pathName.
prepend(
"/");
76 if( pathName(pathName.length()-1) !=
'/' ) pathName +=
"/";
78 if(numberOfCollections<1)
return;
79 for(
G4int i=0;i<numberOfCollections;i++)
85 if( verboseLevel > 0 )
88 <<
"> is registered at " << pathName <<
G4endl;
void AddNewDetector(G4VSensitiveDetector *aSD, G4String treeStructure)
void AddNewCollection(G4String SDname, G4String DCname)
G4String & prepend(const char *)
G4GLOB_DLL std::ostream G4cout
G4int GetNumberOfCollections() const
G4String GetCollectionName(G4int id) const
G4String GetPathName() const
Definition at line 128 of file G4SDManager.cc.
131 if( pathName(0) !=
'/' ) pathName.
prepend(
"/");
G4String & prepend(const char *)
G4VSensitiveDetector * FindSensitiveDetector(G4String aName, G4bool warning=true)
G4int G4SDManager::GetCollectionCapacity |
( |
| ) |
const |
|
inline |
Definition at line 135 of file G4SDManager.cc.
139 {
G4cout <<
"<" << colName <<
"> is not found." <<
G4endl; }
141 {
G4cout <<
"<" << colName <<
"> is ambiguous." <<
G4endl; }
G4int GetCollectionID(G4String HCname) const
G4GLOB_DLL std::ostream G4cout
Definition at line 145 of file G4SDManager.cc.
G4int GetCollectionID(G4String colName)
void G4SDManager::ListTree |
( |
| ) |
const |
|
inline |
void G4SDManager::SetVerboseLevel |
( |
G4int |
vl | ) |
|
|
inline |
The documentation for this class was generated from the following files: