AliAODEvent::GetHeader now return AliVHeader
[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>
fa1c0df5 14#include <TBits.h>
4e0b0eb8 15class TList;
6bc03c45 16class AliVHeader : public TNamed {
17
18 public :
19 AliVHeader();
20 virtual ~AliVHeader() { };
21 AliVHeader(const AliVHeader& evt);
22 AliVHeader& operator=(const AliVHeader& evt);
23
24 virtual UShort_t GetBunchCrossNumber() const = 0;
25 virtual UInt_t GetOrbitNumber() const = 0;
26 virtual UInt_t GetPeriodNumber() const = 0;
27 virtual ULong64_t GetTriggerMask() const = 0;
28 virtual UChar_t GetTriggerCluster() const = 0;
29 virtual UInt_t GetEventType() const = 0;
4e0b0eb8 30 virtual TList* GetCocktailHeaders() {return 0;}
6bc03c45 31 /*
32 virtual void SetBunchCrossNumber(UShort_t nBx) = 0;
33 virtual void SetOrbitNumber(UInt_t nOr) = 0;
34 virtual void SetPeriodNumber(UInt_t nPer) = 0;
35 virtual void SetTriggerMask(ULong64_t trigMsk) = 0;
36 virtual void SetTriggerCluster(UChar_t trigClus) = 0;
37 virtual void SetEventType(UInt_t evttype) = 0;
38 */
fa1c0df5 39 virtual UInt_t GetL0TriggerInputs() const {return 0;}
40 virtual UInt_t GetL1TriggerInputs() const {return 0;}
41 virtual UShort_t GetL2TriggerInputs() const {return 0;}
42 virtual TBits GetIRInt2InteractionMap() const { static TBits dummy; return dummy; }
43 virtual TBits GetIRInt1InteractionMap() const { static TBits dummy; return dummy; }
44
6bc03c45 45
46 virtual void Print(Option_t* option = "") const = 0;
47
606fdf76 48 ClassDef(AliVHeader,1);
6bc03c45 49};
50
51#endif