----------------------------------------------------------------------
[u/mrichter/AliRoot.git] / PHOS / AliPHOSLink.h
CommitLineData
d15a28e7 1#ifndef ALIPHOSLINK_H
2#define ALIPHOSLINK_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6////////////////////////////////////////////////
7// Short description //
8// Version SUBATECH //
9// Author Dmitri Peressounko SUBATECH //
10// comment: auxiliary class used ONLY //
11// by AliPHOSTrackSegmentMaker //
12////////////////////////////////////////////////
13
14// --- ROOT system ---
15
16#include "TObject.h"
17
18// --- Standard library ---
19
20// --- AliRoot header files ---
21
22class AliPHOSLink : public TObject{
23
24public:
25
26 AliPHOSLink( Float_t r, Int_t EMC, Int_t PPSD) ; // ctor
27 virtual ~AliPHOSLink(){} // dtor
28
29 Int_t Compare(TObject * obj) ;
30 Int_t GetEmc(void) { return fEmcN; }
31 Int_t GetPpsd(void) { return fPpsdN ; }
32 Float_t GetR(void) { return fR ; }
33 Bool_t IsSortable() const{ return kTRUE ; }
34
35private:
36
37 Int_t fEmcN ; // Emc index
38 Int_t fPpsdN ; // Ppsd index
39 Float_t fR ; // Distance
40
41public:
42
43 ClassDef(AliPHOSLink,1) // description , version 1
44
45};
46
47#endif // AliPHOSLINK_H