]>
Commit | Line | Data |
---|---|---|
cbd576a6 | 1 | #ifndef AliPHOSRecCpvManager_H |
2 | #define AliPHOSRecCpvManager_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | //_________________________________________________________________________ | |
7 | // Class for the management of the CPV reconstruction. | |
8 | // Author : Boris Polichtchouk (IHEP, Protvino) | |
9 | // 6 March 2001 | |
10 | ||
11 | #include "AliPHOSRecManager.h" | |
12 | #include "AliPHOSGeometry.h" | |
13 | ||
14 | class AliPHOSRecCpvManager : public AliPHOSRecManager { | |
15 | ||
16 | public: | |
17 | ||
18 | AliPHOSRecCpvManager(); | |
19 | ~AliPHOSRecCpvManager(void); | |
20 | ||
21 | ||
22 | void AG(Float_t E, Float_t dx, Float_t dy, Float_t& A, Float_t& grad_x, Float_t& grad_y ); | |
23 | Float_t Dispersion(Float_t Etot, Float_t Ai, Float_t Ei); | |
24 | ||
25 | Float_t OneGamChi2(Float_t Ai, Float_t Ei, Float_t Etot, Float_t& Gi); | |
26 | Float_t TwoGamChi2(Float_t Ai, Float_t Ei, Float_t Etot, Float_t& Gi); | |
27 | ||
28 | Float_t OneGamChisqCut() { return fOneGamChisqCut; } | |
29 | Float_t OneGamInitialStep() { return fOneGamInitialStep; } | |
30 | Float_t OneGamChisqMin() { return fOneGamChisqMin; } | |
31 | Float_t OneGamStepMin() { return fOneGamStepMin; } | |
32 | Int_t OneGamNumOfIterations() { return fOneGamNumOfIterations; } | |
33 | ||
34 | Float_t TwoGamInitialStep() { return fTwoGamInitialStep; } | |
35 | Float_t TwoGamChisqMin() { return fTwoGamChisqMin; } | |
36 | Float_t TwoGamEmin() { return fTwoGamEmin; } | |
37 | Float_t TwoGamStepMin() { return fTwoGamStepMin; } | |
38 | Int_t TwoGamNumOfIterations() { return fTwoGamNumOfIterations; } | |
39 | ||
40 | Float_t KillGamMinEnergy() { return fThr0; } | |
41 | Float_t MergeGammasMinDistanceCut() { return fSqdCut; } | |
42 | ||
43 | void SetTwoPointsMinDistance(Float_t dist) { fSqdCut=dist; } | |
44 | void SetPointMinEnergy(Float_t emin) { fThr0=emin; } | |
45 | ||
46 | private: | |
47 | ||
48 | Float_t Fcml(Float_t x, Float_t y); | |
49 | Float_t GradX(Float_t x, Float_t y); | |
50 | Float_t GradY(Float_t x, Float_t y); | |
51 | ||
52 | private: | |
53 | ||
54 | Float_t fOneGamChisqCut; | |
55 | ||
56 | Float_t fOneGamInitialStep; | |
57 | Float_t fOneGamChisqMin; | |
58 | Float_t fOneGamStepMin; | |
59 | Int_t fOneGamNumOfIterations; | |
60 | ||
61 | Float_t fTwoGamInitialStep; | |
62 | Float_t fTwoGamChisqMin; | |
63 | Float_t fTwoGamEmin; | |
64 | Float_t fTwoGamStepMin; | |
65 | Int_t fTwoGamNumOfIterations; | |
66 | ||
67 | Float_t fThr0; | |
68 | Float_t fSqdCut; | |
69 | ||
70 | public: | |
71 | ||
72 | ClassDef(AliPHOSRecCpvManager,1) // CPV reconstruction management class | |
73 | ||
74 | } ; | |
75 | ||
76 | #endif // AliPHOSRecCpvManager_H | |
77 | ||
78 | ||
79 |