00001 #include "PerSimEvent/PerSimHeader.h" 00002 #include "PerSimEvent/PerSimHitHeader.h" 00003 #include "PerSimEvent/PerSimParticleHistory.h" 00004 #include "PerSimEvent/PerSimUnobservableStatistics.h" 00005 00006 00007 PerSimHeader::PerSimHeader() 00008 : PerHeaderObject() 00009 , hits(0) 00010 , history(0) 00011 , stats(0) 00012 { 00013 } 00014 PerSimHeader::~PerSimHeader() 00015 { 00016 if (hits) { 00017 delete hits; hits = 0; 00018 } 00019 if (history) { 00020 delete history; history = 0; 00021 } 00022 if (stats) { 00023 delete stats; stats = 0; 00024 } 00025 }