3 #include "G4EventManager.hh" 9 const char * fnamechar = fileName.c_str();
11 std::cout <<
"Dumping Material Budget to " << fileName << std::endl;
13 std::cerr <<
" Error opening file" << fileName << std::endl;
27 (*theFile)<<
" Track "<< G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID() <<
" " <<
theData->
getEta() <<
" " <<
theData->
getPhi() << std::endl;
43 (*theFile) << G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID() <<
" " <<
"finalTrkMB " <<
theData->
getTotalMB() << std::endl;
void fillEndTrack() override
void fillStartTrack() override
std::string getPVname() const
~MaterialBudgetTxt() override
void fillPerStep() override
char data[epos_bytes_allocation]
MaterialBudgetTxt(MaterialBudgetData *data, const std::string &fileName)