]>
Commit | Line | Data |
---|---|---|
d15a28e7 | 1 | #ifndef ALIPHOSSUBTRACK_H |
2 | #define ALIPHOSSUBTRACK_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 | ||
d15a28e7 | 8 | ///////////////////////////////////////////////// |
9 | // Short description // | |
10 | // Version SUBATECH // | |
11 | // Author Dmitri Peressounko RRC KI // | |
12 | // comment: contains pairs (triplets) of // | |
13 | // EMC+PPSD(+PPSD) clusters, and // | |
14 | // evaluates particle type, // | |
15 | // energy, etc // | |
16 | ///////////////////////////////////////////////// | |
17 | ||
18 | // --- ROOT system --- | |
19 | ||
20 | #include "TObject.h" | |
21 | #include "TVector3.h" | |
22 | ||
23 | // --- Standard library --- | |
24 | ||
25 | // --- AliRoot header files --- | |
26 | ||
27 | #include "AliPHOSEmcRecPoint.h" | |
28 | #include "AliPHOSPpsdRecPoint.h" | |
29 | ||
d15a28e7 | 30 | class AliPHOSTrackSegment : public TObject { |
31 | ||
32 | public: | |
33 | ||
6ad0bfa0 | 34 | AliPHOSTrackSegment() {} ; // ctor |
d15a28e7 | 35 | AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , AliPHOSPpsdRecPoint * PpsdUp, |
6ad0bfa0 | 36 | AliPHOSPpsdRecPoint * PpsdLow ) ; // ctor |
37 | AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ; // ctor | |
d15a28e7 | 38 | virtual ~AliPHOSTrackSegment() ; // dtor |
39 | ||
6ad0bfa0 | 40 | void Copy(TObject & obj) ; |
9f616d61 | 41 | virtual Int_t DistancetoPrimitive(Int_t px, Int_t py); |
42 | virtual void Draw(Option_t * option="") ; | |
43 | virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); | |
6ad0bfa0 | 44 | Float_t GetEnergy(){ return fEmcRecPoint->GetTotalEnergy() ;} // Returns energy in EMC |
9f616d61 | 45 | |
6ad0bfa0 | 46 | Float_t GetDistanceInPHOSPlane(void) ; // Computes in PHOS plane the relative position between EMC and PPSD clusters |
9f616d61 | 47 | virtual Int_t GetPHOSMod(void) {return fEmcRecPoint->GetPHOSMod(); } |
6ad0bfa0 | 48 | TVector3 GetMomentumDirection() ; // Returns the momentum direction |
49 | void GetPosition( TVector3 & pos ) ; // Returns positions of hit | |
09fc14a0 | 50 | AliPHOSEmcRecPoint * GetEmcRecPoint() const { return fEmcRecPoint ; } |
51 | AliPHOSPpsdRecPoint * GetPpsdLow() const { return fPpsdLow ; } | |
52 | AliPHOSPpsdRecPoint * GetPpsdUp() const { return fPpsdUp ; } | |
9f616d61 | 53 | virtual void Paint(Option_t * option=""); |
d15a28e7 | 54 | void Print() ; |
d15a28e7 | 55 | |
56 | ||
57 | private: | |
58 | ||
59 | AliPHOSEmcRecPoint * fEmcRecPoint ; | |
60 | AliPHOSPpsdRecPoint * fPpsdLow ; | |
61 | AliPHOSPpsdRecPoint * fPpsdUp ; | |
62 | ||
d15a28e7 | 63 | |
64 | ClassDef(AliPHOSTrackSegment,1) // description , version 1 | |
65 | ||
66 | }; | |
67 | ||
68 | #endif // AliPHOSSUBTRACK_H |