Task now uses VV classes (ready for the case of flat)
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliVVevent.h
CommitLineData
50ff8c36 1#ifndef ALIVVEVENT_H
2#define ALIVVEVENT_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice *
6 * Primary Authors : Sergey Gorbunov, Jochen Thaeder, Chiara Zampolli */
7
8/*
9 * See implementation file for documentation
10 */
11#include "Rtypes.h"
12#include "TString.h"
a453390d 13
14class TList;
50ff8c36 15class AliVVvertex;
16class AliVVtrack;
17class AliMultiplicity;
18class AliVVkink;
08f45a9c 19class AliVVfriendEvent;
a453390d 20class TTree;
50ff8c36 21
22class AliVVevent {
23 public:
24 // --------------------------------------------------------------------------------
25 // -- Constructor / Destructors
26 AliVVevent() {}
6a15ab77 27 virtual ~AliVVevent() {}
50ff8c36 28
29 // --------------------------------------------------------------------------------
6a15ab77 30 virtual void Reset() = 0;
50ff8c36 31
32 // --------------------------------------------------------------------------------
33 // Access methods
34
35 virtual const AliVVvertex* GetPrimaryVertex() const {return NULL;}
36 virtual const AliVVvertex* GetPrimaryVertexSPD() const {return NULL;}
37 virtual const AliVVvertex* GetPrimaryVertexTracks() const {return NULL;}
38 virtual const AliVVvertex* GetPrimaryVertexTPC() const {return NULL;}
39 virtual AliVVtrack* GetTrack(Int_t /*i*/) const {return NULL;}
40 virtual AliVVkink* GetKink(Int_t /*i*/) const {return NULL;}
a453390d 41 virtual AliVVtrack* GetV0(Int_t /*i*/) const {return NULL;}
50ff8c36 42 virtual Int_t GetNumberOfTracks() const {return 0;}
43 virtual Int_t GetNumberOfV0s() const {return 0;}
44 virtual Int_t GetNumberOfKinks() const {return 0;}
45 virtual Int_t GetEventNumberInFile() const {return -1;}
46 virtual const AliMultiplicity* GetMultiplicity() const {return NULL;} //by default SPDmult
47 virtual Int_t GetRunNumber() const {return -1;}
48 virtual TString GetFiredTriggerClasses() const {TString string; return string;}
49 virtual TObject* FindListObject(const char* /*name*/) const {return NULL;}
50 virtual ULong64_t GetTriggerMask() const {return 0;}
51 virtual Double_t GetMagneticField() const {return 0;}
52 virtual UInt_t GetTimeStamp() const { return 0;}
53 virtual UInt_t GetEventSpecie() const { return 0;}
a453390d 54 virtual ULong64_t GetSize() {return 0;}
08f45a9c 55 virtual AliVVfriendEvent* FindFriend() const { return NULL; }
a453390d 56 virtual void ConnectTracks() {}
57 virtual void ReadFromTree(TTree* /*tree*/, Option_t* /*opt*/) = 0;
58 virtual TList* GetList() const {return 0;}
6a15ab77 59
a453390d 60 ClassDef(AliVVevent,0) // base class for event data
6a15ab77 61
50ff8c36 62};
63#endif