Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliVHeader.h
CommitLineData
6bc03c45 1#ifndef AliVHeader_H
2#define AliVHeader_H
3/* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8//-------------------------------------------------------------------------
9// Event header base class
10// Author: Markus Oldenburg, CERN
11//-------------------------------------------------------------------------
12
13#include <TNamed.h>
4e0b0eb8 14class TList;
6bc03c45 15class AliVHeader : public TNamed {
16
17 public :
18 AliVHeader();
19 virtual ~AliVHeader() { };
20 AliVHeader(const AliVHeader& evt);
21 AliVHeader& operator=(const AliVHeader& evt);
22
23 virtual UShort_t GetBunchCrossNumber() const = 0;
24 virtual UInt_t GetOrbitNumber() const = 0;
25 virtual UInt_t GetPeriodNumber() const = 0;
26 virtual ULong64_t GetTriggerMask() const = 0;
27 virtual UChar_t GetTriggerCluster() const = 0;
28 virtual UInt_t GetEventType() const = 0;
4e0b0eb8 29 virtual TList* GetCocktailHeaders() {return 0;}
6bc03c45 30 /*
31 virtual void SetBunchCrossNumber(UShort_t nBx) = 0;
32 virtual void SetOrbitNumber(UInt_t nOr) = 0;
33 virtual void SetPeriodNumber(UInt_t nPer) = 0;
34 virtual void SetTriggerMask(ULong64_t trigMsk) = 0;
35 virtual void SetTriggerCluster(UChar_t trigClus) = 0;
36 virtual void SetEventType(UInt_t evttype) = 0;
37 */
38
39 virtual void Print(Option_t* option = "") const = 0;
40
606fdf76 41 ClassDef(AliVHeader,1);
6bc03c45 42};
43
44#endif