From b744fdd914b9e37fd1a2d75ed2cffd521a0a670b Mon Sep 17 00:00:00 2001 From: cvetan Date: Tue, 28 Oct 2008 16:58:42 +0000 Subject: [PATCH] New method fos accessing raw-event object directly. Needed by EMCAL for some special debugging purposes. --- RAW/AliRawReader.h | 2 ++ RAW/AliRawReaderRoot.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/RAW/AliRawReader.h b/RAW/AliRawReader.h index 9eca4c92918..0229aef3d15 100644 --- a/RAW/AliRawReader.h +++ b/RAW/AliRawReader.h @@ -20,6 +20,7 @@ class TChain; class AliRawEventHeaderBase; +class AliRawEvent; class AliRawReader: public TObject { public : @@ -43,6 +44,7 @@ class AliRawReader: public TObject { {fRequireHeader = required;}; virtual const AliRawEventHeaderBase* GetEventHeader() const {return NULL;}; + virtual const AliRawEvent* GetEvent() const {return NULL;} virtual UInt_t GetType() const = 0; virtual UInt_t GetRunNumber() const = 0; diff --git a/RAW/AliRawReaderRoot.h b/RAW/AliRawReaderRoot.h index 3de0f2dc20d..ae890e5e542 100644 --- a/RAW/AliRawReaderRoot.h +++ b/RAW/AliRawReaderRoot.h @@ -63,6 +63,8 @@ class AliRawReaderRoot: public AliRawReader { virtual Int_t CheckData() const; + virtual const AliRawEvent* GetEvent() const {return fEvent;} + protected : TFile* fFile; // raw data root file TBranch* fBranch; // branch of raw events -- 2.43.0