46 std::vector<G4HnInformation*>::iterator it;
47 for (it = fHnVector.begin(); it != fHnVector.end(); it++ ) {
65 unit, unit, fcn, fcn, binScheme, binScheme));
81 xunit, yunit, xfcn, yfcn, xBinScheme, yBinScheme));
90 if ( index < 0 || index >=
G4int(fHnVector.size()) ) {
92 G4String inFunction =
"G4HnManager::";
93 if ( functionName.size() )
94 inFunction += functionName;
96 inFunction +=
"GetHnInformation";
98 description <<
" " << fHnType <<
" histogram " <<
id
99 <<
" does not exist.";
104 return fHnVector[
index];
110 return ( fNofActiveObjects > 0 );
116 return ( fNofAsciiObjects > 0 );
126 if ( ! info )
return;
144 std::vector<G4HnInformation*>::iterator it;
145 for ( it = fHnVector.begin(); it != fHnVector.end(); it++ ) {
165 if ( ! info )
return;
168 if ( info->
fAscii == ascii )
return;
183 if ( ! info )
return "";
193 if ( ! info )
return 1.0;
203 if ( ! info )
return 1.0;
213 if ( ! info )
return true;
223 if ( ! info )
return false;
G4bool GetAscii(G4int id) const
std::ostringstream G4ExceptionDescription
void AddH1Information(const G4String &name, const G4String &unitName, const G4String &fcnName, G4double unit, G4Fcn fx, G4BinScheme binScheme)
G4double(* G4Fcn)(G4double)
G4HnManager(const G4String &hnType, const G4AnalysisManagerState &state)
G4HnInformation * GetHnInformation(G4int id, G4String functionName="", G4bool warn=true) const
G4bool GetActivation(G4int id) const
G4double GetXUnit(G4int id) const
void SetAscii(G4int id, G4bool ascii)
G4String GetName(G4int id) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
const XML_Char XML_Encoding * info
void AddH2Information(const G4String &name, const G4String &xunitName, const G4String &yunitName, const G4String &xfcnName, const G4String &yfcnName, G4double xunit, G4double yunit, G4Fcn fx, G4Fcn fy, G4BinScheme xBinScheme, G4BinScheme yBinScheme)
void SetActivation(G4bool activation)
G4double GetYUnit(G4int id) const