3 #include "G4EventManager.hh" 10 const char * fnamechar = fileName.c_str();
27 (*theFile)<<
" Track "<< G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID() <<
" " <<
theData->getEta() <<
" " <<
theData->getPhi() << std::endl;
34 (*theFile) <<
"step "<<
theData->getTrkLen() <<
" " <<
theData->getPVname() <<
" " <<
theData->getPVcopyNo() <<
" " <<
theData->getTotalMB() <<
" " <<
theData->getRadLen() << std::endl;
42 (*theFile) << G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetEventID() <<
" " <<
"finalTrkMB " <<
theData->getTotalMB() << std::endl;
void fillEndTrack() override
void fillStartTrack() override
MaterialBudgetTxt(std::shared_ptr< MaterialBudgetData > data, const std::string &fileName)
~MaterialBudgetTxt() override
void fillPerStep() override
char data[epos_bytes_allocation]