#include "ISIMG4Header.hxx" #include "HEPUnits.hxx" ClassImp(COMET::ISIMG4Header); COMET::ISIMG4Header::ISIMG4Header() : COMET::IDataVector("mcHeader", "Monte Carlo Header"), fIntensity(0.0) {} COMET::ISIMG4Header::ISIMG4Header(const char* name, const char* title) : COMET::IDataVector(name,title), fIntensity(0.0) {} COMET::ISIMG4Header::~ISIMG4Header() { } void COMET::ISIMG4Header::ls(Option_t* opt) const { COMET::IDataVector::ls(opt); TROOT::IncreaseDirLevel(); TROOT::IndentLevel(); std::cout << "Geometry Hash: " << GetGeometryHash() << std::endl; TROOT::IndentLevel(); std::cout << "Intensity: " << GetIntensity() << std::endl; TROOT::DecreaseDirLevel(); }