1 #ifndef ALIRAWEVENTTAG_H
2 #define ALIRAWEVENTTAG_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //////////////////////////////////////////////////////////////////////////////
9 // The AliRawEventTag class handles the raw-data event-oriented tag //
10 // information. One object for each raw-data event is stored in a ROOT //
11 // tree inside the file controled by AliTagDB class. //
12 // For the moment the tag information includes the raw-data event header + //
13 // the raw-data file GUID and the event index. //
15 //////////////////////////////////////////////////////////////////////////////
20 class AliRawEventHeaderBase;
22 class AliRawEventTag: public TObject {
26 virtual ~AliRawEventTag() {};
28 void SetHeader(AliRawEventHeaderBase *header) { fHeader = header; }
29 void SetGUID(const char *guid) { fGUID = guid; }
30 void SetEventNumber(Int_t event) { fEvent = event; }
33 AliRawEventHeaderBase *GetHeader() const { return fHeader; }
34 const char * GetGUID() const { return fGUID.Data(); }
35 Int_t GetEventNumber() const { return fEvent; }
39 AliRawEventTag(const AliRawEventTag& tag);
40 AliRawEventTag& operator = (const AliRawEventTag& tag);
42 AliRawEventHeaderBase *fHeader; // raw data event header
43 TString fGUID; // GUID of the raw data file
44 Int_t fEvent; // raw data event number inside the file
46 ClassDef(AliRawEventTag,1) // Raw data event tag