]>
Commit | Line | Data |
---|---|---|
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 | class TList; |
bcbc513f | 14 | //class AliVVvertex; |
50ff8c36 | 15 | class AliVVtrack; |
16 | class AliMultiplicity; | |
08f45a9c | 17 | class AliVVfriendEvent; |
8b15ecc3 | 18 | class AliESDkink; |
a453390d | 19 | class TTree; |
50ff8c36 | 20 | |
c312b088 | 21 | class AliVVevent{ |
22 | public: | |
23 | // -------------------------------------------------------------------------------- | |
24 | // -- Constructor / Destructor | |
50ff8c36 | 25 | // -------------------------------------------------------------------------------- |
c312b088 | 26 | |
50ff8c36 | 27 | AliVVevent() {} |
50ff8c36 | 28 | |
c312b088 | 29 | protected: |
30 | ||
888585e5 | 31 | virtual ~AliVVevent() {} |
50ff8c36 | 32 | |
c312b088 | 33 | public: |
34 | // -------------------------------------------------------------------------------- | |
35 | // -- Methods, common for AliVEvent and AliVVevent interface | |
50ff8c36 | 36 | // -------------------------------------------------------------------------------- |
6a33e0e9 | 37 | |
c312b088 | 38 | // Access methods |
39 | ||
40 | virtual Double_t GetMagneticField() const = 0; | |
6a33e0e9 | 41 | virtual UInt_t GetPeriodNumber() const = 0; |
42 | virtual Int_t GetRunNumber() const = 0; | |
43 | virtual UInt_t GetOrbitNumber() const = 0; | |
44 | virtual UShort_t GetBunchCrossNumber() const = 0; | |
6a33e0e9 | 45 | virtual ULong64_t GetTriggerMask() const = 0; |
c312b088 | 46 | virtual TString GetFiredTriggerClasses() const = 0; |
5d539efa | 47 | |
6a33e0e9 | 48 | virtual Int_t GetNumberOfTracks() const = 0; |
49 | virtual Int_t GetNumberOfV0s() const = 0; | |
c312b088 | 50 | |
51 | // Other methods | |
52 | ||
53 | virtual void Reset() = 0; | |
54 | virtual void ConnectTracks() = 0; | |
888585e5 | 55 | |
c312b088 | 56 | // -------------------------------------------------------------------------------- |
57 | // -- Methods, specific for AliVVevent (are disabled in AliVEvent interface) | |
58 | // -------------------------------------------------------------------------------- | |
888585e5 | 59 | |
c312b088 | 60 | virtual UInt_t GetTimeStamp() const = 0; |
61 | virtual UInt_t GetEventSpecie() const = 0; | |
888585e5 | 62 | virtual ULong64_t GetTriggerMaskNext50() const = 0; |
63 | ||
6a33e0e9 | 64 | virtual Int_t GetNumberOfKinks() const = 0; |
5d539efa | 65 | |
bcbc513f | 66 | /* |
50ff8c36 | 67 | virtual const AliVVvertex* GetPrimaryVertex() const {return NULL;} |
68 | virtual const AliVVvertex* GetPrimaryVertexSPD() const {return NULL;} | |
69 | virtual const AliVVvertex* GetPrimaryVertexTracks() const {return NULL;} | |
bcbc513f | 70 | virtual const AliVVvertex* GetPrimaryVertexTPC() const {return NULL;} |
71 | */ | |
c312b088 | 72 | |
888585e5 | 73 | virtual const AliVVtrack* GetVVTrack(Int_t /*i*/) const = 0; |
8b15ecc3 | 74 | virtual AliESDkink* GetKink(Int_t /*i*/) const = 0; |
75 | //virtual AliVVtrack* GetV0(Int_t /*i*/) const = 0; | |
6a33e0e9 | 76 | |
c312b088 | 77 | |
78 | // some ESD interfaces, not yet implemented in flat esd (may be not needed, may be need some changes) | |
6a33e0e9 | 79 | |
80 | //virtual Int_t GetEventNumberInFile() const = 0; | |
c312b088 | 81 | //virtual const AliMultiplicity* GetMultiplicity() const = 0; //by default SPDmult |
82e235e5 | 82 | //virtual AliVVfriendEvent* FindFriend() const = 0; |
6a15ab77 | 83 | |
c312b088 | 84 | ClassDef(AliVVevent, 1) |
6a15ab77 | 85 | |
50ff8c36 | 86 | }; |
87 | #endif |