]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSLink.h
Reconstruction part now handle all geometry options
[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
6ad0bfa0 6/* $Id$ */
7
b2a60966 8//_________________________________________________________________________
9// Algorithm class used only by AliPHOSTrackSegmentMaker
10//
11//*-- Author: Dmitri Peressounko (SUBATECH)
d15a28e7 12
13// --- ROOT system ---
14
15#include "TObject.h"
16
17// --- Standard library ---
18
19// --- AliRoot header files ---
20
21class AliPHOSLink : public TObject{
22
23public:
24
25 AliPHOSLink( Float_t r, Int_t EMC, Int_t PPSD) ; // ctor
88714635 26 virtual ~AliPHOSLink(){
27 // dtor
28 }
d15a28e7 29 Int_t Compare(TObject * obj) ;
88714635 30 Int_t GetEmc(void) {
31 // returns the index of EMC
32 return fEmcN;
33 }
34 Int_t GetPpsd(void) {
35 // returns the index of PPSD
36 return fPpsdN ;
37 }
38 Float_t GetR(void) {
39 // returns the distance between EMC and PPSD
40 return fR ;
41 }
42 Bool_t IsSortable() const{
43 // tells if this is a sortable object
44 return kTRUE ;
45 }
d15a28e7 46
47private:
48
49 Int_t fEmcN ; // Emc index
50 Int_t fPpsdN ; // Ppsd index
b2a60966 51 Float_t fR ; // Distance between EMC and PPSD RecPoints in a track segment
d15a28e7 52
b2a60966 53 ClassDef(AliPHOSLink,1) // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker
d15a28e7 54
55};
56
57#endif // AliPHOSLINK_H