#include <G4RootPNtupleManager.hh>
Definition at line 79 of file G4RootPNtupleManager.hh.
Definition at line 45 of file G4RootPNtupleManager.cc.
49 fMainNtupleManager(main),
G4VNtupleManager(const G4AnalysisManagerState &state)
G4RootPNtupleManager::~G4RootPNtupleManager |
( |
| ) |
|
Definition at line 54 of file G4RootPNtupleManager.cc.
56 for (
auto ntupleDescription : fNtupleDescriptionVector ) {
57 delete ntupleDescription;
template<>
G4bool G4RootPNtupleManager::FillNtupleTColumn |
( |
G4int |
ntupleId, |
|
|
G4int |
columnId, |
|
|
const std::string & |
value |
|
) |
| |
|
inline |
Definition at line 231 of file G4RootPNtupleManager.hh.
235 G4cout <<
"Skipping FillNtupleIColumn for " << ntupleId <<
G4endl;
242 description <<
" ntupleId " << ntupleId
243 <<
" columnId " << columnId <<
" value " <<
value;
248 auto ntuple = GetNtupleInFunction(ntupleId,
"FillNtupleTColumn");
249 if ( ! ntuple )
return false;
252 if ( index < 0 || index >=
G4int(ntuple->columns().size()) ) {
254 description <<
" " <<
"ntupleId " << ntupleId
255 <<
" columnId " << columnId <<
" does not exist.";
256 G4Exception(
"G4RootNtupleManager::FillNtupleTColumn()",
261 auto icolumn = ntuple->columns()[index];
262 auto column =
dynamic_cast<tools::wroot::pntuple::column_string*
>(icolumn);
265 description <<
" Column type does not match: "
266 <<
" ntupleId " << ntupleId
267 <<
" columnId " << columnId <<
" value " <<
value;
268 G4Exception(
"G4RootNtupleManager:FillNtupleColumn",
278 description <<
" ntupleId " << ntupleId
279 <<
" columnId " << columnId <<
" value " <<
value;
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const
std::ostringstream G4ExceptionDescription
G4GLOB_DLL std::ostream G4cout
const XML_Char int const XML_Char * value
const G4AnalysisVerbose * GetVerboseL4() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4int fFirstNtupleColumnId
G4bool GetIsActivation() const
const G4AnalysisManagerState & fState
The documentation for this class was generated from the following files: