]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRawReader.h
compilation warning corrected
[u/mrichter/AliRoot.git] / RAW / AliRawReader.h
index 9eca4c9291855fd1ff7fa455c5c232e009495fcd..6ed347e401569dc30ad68952d99461b3070810cb 100644 (file)
@@ -20,6 +20,7 @@
 
 class TChain;
 class AliRawEventHeaderBase;
+class AliRawVEvent;
 
 class AliRawReader: public TObject {
   public :
@@ -43,6 +44,7 @@ class AliRawReader: public TObject {
       {fRequireHeader = required;};
 
     virtual const AliRawEventHeaderBase* GetEventHeader() const {return NULL;};
+    virtual const AliRawVEvent* GetEvent() const {return NULL;}
 
     virtual UInt_t   GetType() const = 0;
     virtual UInt_t   GetRunNumber() const = 0;
@@ -160,8 +162,10 @@ class AliRawReader: public TObject {
 
     Bool_t           IsRawReaderValid() const { return fIsValid; }
 
+    void             LoadTriggerClass(const char* name, Int_t index);
+
   protected :
-    virtual void     SelectEvents(Int_t type, ULong64_t triggerMask = 0);
+    virtual void     SelectEvents(Int_t type, ULong64_t triggerMask = 0, const char *triggerExpr = NULL);
     Bool_t           IsSelected() const;
     Bool_t           IsEventSelected() const;
 
@@ -179,6 +183,7 @@ class AliRawReader: public TObject {
     Bool_t           fSkipInvalid;          // skip invalid data
     Int_t            fSelectEventType;      // type of selected events (<0 = no selection)
     ULong64_t        fSelectTriggerMask;    // trigger mask for selecting events (0 = no selection)
+    TString          fSelectTriggerExpr;    // trigger expression for selecting events (empty = no selection)
 
     Int_t            fErrorCode;            // code of last error