]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSTrackSegment.h
Mods for Mac OS X
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegment.h
CommitLineData
6c370def 1#ifndef ALIPHOSTRACKSEGMENT_H
2#define ALIPHOSTRACKSEGMENT_H
d15a28e7 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// Track segment in PHOS
10// Can be : 1 EmcRecPoint
fbf5cb06 11// 1 EmcRecPoint + 1 CPV
b2a60966 12//
13//*-- Author: Dmitri Peressounko (RRC KI & SUBATECH)
d15a28e7 14
15// --- ROOT system ---
16
17#include "TObject.h"
e957fea8 18class TClonesArray ;
d15a28e7 19
20// --- Standard library ---
21
22// --- AliRoot header files ---
e957fea8 23class AliPHOSRecPoint ;
24class AliPHOSEmcRecPoint ;
25class AliPHOSCpvRecPoint ;
fbf5cb06 26class AliESDtrack ;
d15a28e7 27
d15a28e7 28class AliPHOSTrackSegment : public TObject {
29
30public:
31
2731cd1e 32 AliPHOSTrackSegment() {}
88714635 33 AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint ,
fbf5cb06 34 AliPHOSRecPoint * Cpv) ;
35 AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint ,
36 AliPHOSRecPoint * Cpv, Int_t track) ;
6ad0bfa0 37 AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ; // ctor
2731cd1e 38 virtual ~AliPHOSTrackSegment() { }
d15a28e7 39
6ad0bfa0 40 void Copy(TObject & obj) ;
2731cd1e 41
baef0810 42 Int_t GetIndexInList() const { return fIndexInList ; }
43 Int_t GetEmcIndex() const { return fEmcRecPoint ; }
fbf5cb06 44 Int_t GetCpvIndex() const { return fCpvRecPoint; }
45 Int_t GetTrackIndex() const { return fTrack; }
2731cd1e 46
e957fea8 47 virtual void Print() const;
2731cd1e 48 void SetIndexInList(Int_t val){ fIndexInList = val ; }
fbf5cb06 49 void SetCpvRecPoint(AliPHOSRecPoint * CpvRecPoint ); //sets CPV Rec Point
c0d5b57d 50
51 typedef TClonesArray TrackSegmentsList ;
83974468 52
88714635 53 private:
d15a28e7 54
83974468 55 Int_t fEmcRecPoint ; // The EMC reconstructed point index in array stored in TreeR/PHOSEmcRP
56 Int_t fIndexInList ; // the index of this TrackSegment in the list stored in TreeR (to be set by analysis)
fbf5cb06 57 Int_t fCpvRecPoint ; // The CPV reconstructed point in array stored in TreeR/PHOSCpvRP
58 Int_t fTrack ; // The charged track index (from global tracking) in ESD file
59
b2a60966 60 ClassDef(AliPHOSTrackSegment,1) // Track segment in PHOS
d15a28e7 61
62};
63
6c370def 64#endif // ALIPHOSTRACKSEGMENT_H