39 #include "G4HCofThisEvent.hh"
54 gSystem->Load(
"libExP01ClassesDict");
58 fFile =
new TFile(
"hits.root",
"RECREATE");
83 std::ostringstream os;
85 std::string stevt =
"Event_" + os.str();
86 const char* chevt = stevt.c_str();
91 fFile->WriteObject(hcont, chevt);
static RootIO * GetInstance()
G4GLOB_DLL std::ostream G4cout
void Write(std::vector< ExP01TrackerHit * > *)
Definition of the RootIO class.
Root IO implementation for the persistency example.