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;
virtual void fillPerStep()
std::string getPVname() const
virtual void fillEndTrack()
virtual ~MaterialBudgetTxt()
char data[epos_bytes_allocation]
virtual void fillStartTrack()
MaterialBudgetTxt(MaterialBudgetData *data, const std::string &fileName)