Update master to aliroot
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliVTOFcluster.h
CommitLineData
115179c6 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
49436743 20class AliVEvent;
21
115179c6 22class AliVTOFcluster : public TObject {
23
24 public:
49436743 25 enum {kMaxHits=4, kMaxMatches=7};
115179c6 26
49436743 27 AliVTOFcluster(): fEvent(0) { }
115179c6 28 virtual ~AliVTOFcluster() { }
29 AliVTOFcluster(const AliVTOFcluster & source);
30 AliVTOFcluster & operator=(const AliVTOFcluster & source);
31
49436743 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;};
115179c6 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;};
49436743 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; //! pointer to the event
115179c6 58
49436743 59 ClassDef(AliVTOFcluster, 2) // TOF matchable cluster
115179c6 60
61};
62
63#endif