38 #include "Cintex/Cintex.h"
40 #include "G4HCofThisEvent.hh"
55 gSystem->Load(
"libExP01ClassesDict");
57 ROOT::Cintex::Cintex::SetDebug(0);
58 ROOT::Cintex::Cintex::Enable();
61 fFile =
new TFile(
"hits.root",
"RECREATE");
86 std::ostringstream os;
88 std::string stevt =
"Event_" + os.str();
89 const char* chevt = stevt.c_str();
94 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.