AliRoot Core  3dc7879 (3dc7879)
AliVTOFcluster.h
Go to the documentation of this file.
1 // -*- mode: C++ -*-
2 #ifndef ALIVTOFCLUSTER_H
3 #define ALIVTOFCLUSTER_H
4 
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6  * See cxx source for full Copyright notice */
7 
8 /* $Id: $ */
9 
10 //----------------------------------------------------------------------//
11 // //
12 // AliVTOFcluster Class //
13 // //
14 //----------------------------------------------------------------------//
15 
16 #include <TObject.h>
17 #include <TArrayI.h>
18 #include <TArrayF.h>
19 
20 class AliVEvent;
21 
22 class AliVTOFcluster : public TObject {
23 
24  public:
25  enum {kMaxHits=4, kMaxMatches=7};
26 
28  virtual ~AliVTOFcluster() { }
29  AliVTOFcluster(const AliVTOFcluster & source);
30  AliVTOFcluster & operator=(const AliVTOFcluster & source);
31 
32  virtual Int_t GetClusterIndex(Int_t) const {return 0;} // cluster index
33  virtual Int_t GetTOFchannel(Int_t) const {return 0;}; // TOF channel
34  virtual Float_t GetTime(Int_t) const {return 0;}; // TOF time
35  virtual Float_t GetTimeRaw(Int_t) const {return 0;}; // TOF raw time
36  virtual Float_t GetTOT(Int_t) const {return 0;}; // TOF ToT
37  virtual Int_t GetLabel(Int_t, Int_t) const {return 0;};
38  virtual Int_t GetDeltaBC(Int_t) const {return 0;};
39  virtual Int_t GetL0L1Latency(Int_t) const {return 0;};
40  virtual Bool_t GetStatus() const {return 0;};
41  virtual Float_t GetZ() const {return 0;};
42  virtual Float_t GetPhi() const {return 0;};
43  virtual Float_t GetR() const {return 0;};
44  virtual Int_t GetNMatchableTracks() const {return 0;};
45  virtual Int_t GetTrackIndex(Int_t ) const {return 0;};
46  virtual Float_t GetDistanceInStripPlane(Int_t ) const {return 0;};
47  virtual Float_t GetDx(Int_t ) const {return 0;};
48  virtual Float_t GetDy(Int_t ) const {return 0;};
49  virtual Float_t GetDz(Int_t ) const {return 0;};
50  virtual Float_t GetLength(Int_t ) const {return 0;};
51  virtual Double_t GetIntegratedTime(Int_t ,Int_t ) const {return 0;};
52  virtual Int_t GetNTOFhits() const {return 0;};
53 
54  virtual void SetEvent(const AliVEvent* ev) {fEvent = ev;}
55  virtual const AliVEvent* GetEvent() const {return fEvent;}
56 
57  const AliVEvent* fEvent;
58 
59  ClassDef(AliVTOFcluster, 2) // TOF matchable cluster
60 
61 };
62 
63 #endif
virtual Float_t GetDistanceInStripPlane(Int_t) const
virtual Float_t GetTime(Int_t) const
virtual Int_t GetClusterIndex(Int_t) const
virtual Float_t GetR() const
virtual Float_t GetZ() const
AliVTOFcluster & operator=(const AliVTOFcluster &source)
virtual Float_t GetPhi() const
virtual Int_t GetNMatchableTracks() const
virtual Float_t GetDz(Int_t) const
virtual Float_t GetLength(Int_t) const
virtual Float_t GetTimeRaw(Int_t) const
virtual Int_t GetDeltaBC(Int_t) const
virtual Bool_t GetStatus() const
virtual Int_t GetL0L1Latency(Int_t) const
virtual Int_t GetNTOFhits() const
virtual Float_t GetDx(Int_t) const
virtual void SetEvent(const AliVEvent *ev)
virtual Int_t GetTOFchannel(Int_t) const
virtual ~AliVTOFcluster()
virtual const AliVEvent * GetEvent() const
virtual Float_t GetTOT(Int_t) const
const AliVEvent * fEvent
virtual Double_t GetIntegratedTime(Int_t, Int_t) const
virtual Int_t GetLabel(Int_t, Int_t) const
virtual Float_t GetDy(Int_t) const
virtual Int_t GetTrackIndex(Int_t) const