]>
Commit | Line | Data |
---|---|---|
a9e2aefa | 1 | #ifndef ALIMUONSEGMENT_H |
2 | #define ALIMUONSEGMENT_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /*$Id$*/ | |
7 | ||
8 | #include <TROOT.h> | |
9 | ||
10 | class AliMUONHitForRec; | |
11 | class AliMUONTrackParam; | |
12 | ||
13 | class AliMUONSegment : public TObject { | |
14 | public: | |
15 | AliMUONSegment(){ | |
16 | // Constructor | |
17 | ;} // Constructor | |
18 | virtual ~AliMUONSegment(){ | |
19 | // Destructor | |
20 | ;} // Destructor | |
21 | AliMUONSegment (const AliMUONSegment& AliMUONSegment); // copy constructor | |
22 | AliMUONSegment& operator=(const AliMUONSegment& AliMUONSegment); // assignment operator | |
23 | AliMUONSegment(AliMUONHitForRec* Hit1, AliMUONHitForRec* Hit2); // Constructor from two HitForRec's | |
24 | ||
25 | AliMUONHitForRec* GetHitForRec1(void); | |
26 | AliMUONHitForRec* GetHitForRec2(void); | |
27 | Double_t GetBendingCoorReso2(void); | |
28 | void SetBendingCoorReso2(Double_t BendingCoorReso2); | |
29 | Double_t GetNonBendingCoorReso2(void); | |
30 | void SetNonBendingCoorReso2(Double_t NonBendingCoorReso2); | |
31 | Double_t GetBendingImpact(void); | |
32 | Bool_t GetInTrack(void); | |
33 | void SetInTrack(Bool_t InTrack); | |
34 | ||
35 | AliMUONSegment* CreateSegmentFromLinearExtrapToStation (Int_t Station, Double_t MCSfactor); | |
36 | Double_t NormalizedChi2WithSegment(AliMUONSegment* Segment, Double_t Sigma2Cut); | |
37 | AliMUONHitForRec* CreateHitForRecFromLinearExtrapToChamber (Int_t Chamber, Double_t MCSfactor); | |
38 | void UpdateFromStationTrackParam(AliMUONTrackParam *TrackParam, Double_t MCSfactor, Double_t Dz1, Double_t Dz2); | |
39 | ||
40 | // What is necessary for sorting TClonesArray's; sufficient too ???? | |
41 | Bool_t IsSortable() const { return kTRUE; } | |
42 | Int_t Compare(TObject* Segment); // "Compare" function for sorting | |
43 | protected: | |
44 | private: | |
45 | AliMUONHitForRec* fHitForRecPtr1; // pointer to HitForRec in first chamber | |
46 | AliMUONHitForRec* fHitForRecPtr2; // pointer to HitForRec in second chamber | |
47 | // Bending plane: | |
48 | Double_t fBendingCoor; // Coordinate in bending plane | |
49 | Double_t fBendingSlope; // Slope in bending plane | |
50 | // Covariance in bending plane: | |
51 | Double_t fBendingCoorReso2; // Covariance(coordinate C1 in first chamber) | |
52 | Double_t fBendingSlopeReso2; // Covariance(slope) | |
53 | Double_t fBendingCoorSlopeReso2; // Covariance(C1,slope) | |
54 | Double_t fBendingImpact; // Impact parameter in bending plane | |
55 | // Non Bending plane: | |
56 | Double_t fNonBendingCoor; // Coordinate in non bending plane | |
57 | Double_t fNonBendingSlope; // Slope in non bending plane | |
58 | // Covariance in non bending plane: | |
59 | Double_t fNonBendingCoorReso2; // Covariance(coordinate C1 in first chamber) | |
60 | Double_t fNonBendingSlopeReso2; // Covariance(slope) | |
61 | Double_t fNonBendingCoorSlopeReso2; // Covariance(C1,slope) | |
62 | Double_t fNonBendingImpact; // Impact parameter in non bending plane | |
63 | Bool_t fInTrack; // TRUE if segment belongs to one track | |
64 | ||
65 | ClassDef(AliMUONSegment, 1) // Class definition in ROOT context | |
66 | }; | |
67 | ||
68 | #endif |