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();
90 fFile->WriteObject(hcont, chevt);
void Write(std::vector< ExP01TrackerHit * > *)
Definition of the RootIO class.
Root IO implementation for the persistency example.
G4GLOB_DLL std::ostream G4cout
static RootIO * GetInstance()