1 #include "AliESDHeader.h"
4 #include "AliTRDeventInfo.h"
6 ClassImp(AliTRDeventInfo)
8 AliTRDeventInfo::AliTRDeventInfo():
14 // Default Constructor
19 AliTRDeventInfo::AliTRDeventInfo(AliESDHeader *header, AliESDRun *run):
25 // Constructor with Arguments
30 AliTRDeventInfo::AliTRDeventInfo(const AliTRDeventInfo &info):
32 ,fHeader(info.fHeader)
42 AliTRDeventInfo& AliTRDeventInfo::operator=(const AliTRDeventInfo& info){
47 this->fHeader = info.fHeader;
48 this->fRun = info.fRun;
53 AliTRDeventInfo::~AliTRDeventInfo(){
56 // Delete the entries if it is the Owner
61 void AliTRDeventInfo::Delete(const Option_t *){
64 // Delete the entries if it is the Owner
67 if(fHeader) delete fHeader;
74 void AliTRDeventInfo::SetOwner(){
77 fHeader = new AliESDHeader(*fHeader);
78 fRun = new AliESDRun(*fRun);