]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSLink.h
Addes script to compare Naiive, Poisson to Hits, Primaries
[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
2f04ed65 10// Links recpoints
11// into tracksegments
b2a60966 12//*-- Author: Dmitri Peressounko (SUBATECH)
d15a28e7 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
62423cb6 26 AliPHOSLink() ; // ctor
27 AliPHOSLink( Float_t r, Int_t emc, Int_t cpv, Int_t track) ; // ctor
88714635 28 virtual ~AliPHOSLink(){
29 // dtor
30 }
2a941f4e 31 Int_t Compare(const TObject * obj) const;
e957fea8 32 Int_t GetEmc(void) const { return fEmcN; }
62423cb6 33 Int_t GetCpv(void) const { return fCpvN ; }
e957fea8 34 Float_t GetR(void) const { return fR ; }
62423cb6 35 Int_t GetTrack(void) const { return fTrack ; }
88714635 36 Bool_t IsSortable() const{
37 // tells if this is a sortable object
38 return kTRUE ;
39 }
d15a28e7 40
41private:
42
43 Int_t fEmcN ; // Emc index
62423cb6 44 Int_t fCpvN ; // Cpv index
45 Float_t fR ; // Distance between EMC and CPV RecPoints in a track segment
46 Int_t fTrack; // Charged tracked within a minimum distance of the EMC
d15a28e7 47
62423cb6 48 ClassDef(AliPHOSLink,2) // Auxilliary algorithm class used by AliPHOSTrackSegmentMaker
d15a28e7 49
50};
51
52#endif // AliPHOSLINK_H