New class which will contain the raw-data event tag information
[u/mrichter/AliRoot.git] / RAW / AliRawEventTag.h
CommitLineData
5f499ba3 1#ifndef ALIRAWEVENTTAG_H
2#define ALIRAWEVENTTAG_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//////////////////////////////////////////////////////////////////////////////
8// //
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. //
14// //
15//////////////////////////////////////////////////////////////////////////////
16
17#include <TObject.h>
18#include <TString.h>
19
20class AliRawEventHeaderBase;
21
22class AliRawEventTag: public TObject {
23 public:
24
25 AliRawEventTag();
26 virtual ~AliRawEventTag() {};
27
28 void SetHeader(AliRawEventHeaderBase *header) { fHeader = header; }
29 void SetGUID(const char *guid) { fGUID = guid; }
30 void SetEventNumber(Int_t event) { fEvent = event; }
31
32
33 AliRawEventHeaderBase *GetHeader() const { return fHeader; }
34 const char * GetGUID() const { return fGUID.Data(); }
35 Int_t GetEventNumber() const { return fEvent; }
36
37 private:
38
39 AliRawEventTag(const AliRawEventTag& tag);
40 AliRawEventTag& operator = (const AliRawEventTag& tag);
41
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
45
46 ClassDef(AliRawEventTag,1) // Raw data event tag
47};
48
49#endif