]>
Commit | Line | Data |
---|---|---|
1450a7cd | 1 | #ifndef ALIZDCRECO_H |
2 | #define ALIZDCRECO_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | //////////////////////////////////////////////// | |
7 | // Classe for ZDC RecPoints // | |
8 | //////////////////////////////////////////////// | |
9 | ||
10 | #include "TObject.h" | |
11 | ||
12 | class AliZDCReco : public TObject { | |
13 | ||
14 | public: | |
cc2abffd | 15 | AliZDCReco(); |
c35ed519 | 16 | AliZDCReco(Float_t* ezn1, Float_t* ezp1, Float_t* ezn2, Float_t* ezp2, |
17 | Float_t* ezn1tow, Float_t* ezp1tow, Float_t* ezn2tow, Float_t* ezp2tow, | |
18 | Float_t* ezem1, Float_t* ezem2, Float_t* ref1, Float_t* ref2, | |
646f1679 | 19 | // |
20 | Int_t detspnLeft, Int_t detsppLeft, Int_t detspnRight, Int_t detsppRight, | |
21 | Int_t trspnLeft, Int_t trsppLeft, Int_t trspLeft, | |
22 | Int_t trspnRight, Int_t trsppRight, Int_t trspRight, | |
c35ed519 | 23 | Int_t partLeft, Int_t partRight, Float_t b); |
646f1679 | 24 | |
cc2abffd | 25 | AliZDCReco(const AliZDCReco &oldreco); |
1450a7cd | 26 | virtual ~AliZDCReco() {} |
27 | ||
28 | // Getters | |
c35ed519 | 29 | virtual Float_t GetZN1HREnergy() const {return fZN1Energy[0];} |
30 | virtual Float_t GetZP1HREnergy() const {return fZP1Energy[0];} | |
31 | virtual Float_t GetZN2HREnergy() const {return fZN2Energy[0];} | |
32 | virtual Float_t GetZP2HREnergy() const {return fZP2Energy[0];} | |
646f1679 | 33 | // |
c35ed519 | 34 | virtual Float_t GetZN1LREnergy() const {return fZN1Energy[1];} |
35 | virtual Float_t GetZP1LREnergy() const {return fZP1Energy[1];} | |
36 | virtual Float_t GetZN2LREnergy() const {return fZN2Energy[1];} | |
37 | virtual Float_t GetZP2LREnergy() const {return fZP2Energy[1];} | |
646f1679 | 38 | // |
c35ed519 | 39 | virtual Float_t GetZN1HREnTow(Int_t tow) const {return fZN1EnTow[tow];} |
40 | virtual Float_t GetZP1HREnTow(Int_t tow) const {return fZP1EnTow[tow];} | |
41 | virtual Float_t GetZN2HREnTow(Int_t tow) const {return fZN2EnTow[tow];} | |
42 | virtual Float_t GetZP2HREnTow(Int_t tow) const {return fZP2EnTow[tow];} | |
84d6255e | 43 | // |
c35ed519 | 44 | virtual Float_t GetZN1LREnTow(Int_t tow) const {return fZN1EnTow[tow+5];} |
45 | virtual Float_t GetZP1LREnTow(Int_t tow) const {return fZP1EnTow[tow+5];} | |
46 | virtual Float_t GetZN2LREnTow(Int_t tow) const {return fZN2EnTow[tow+5];} | |
47 | virtual Float_t GetZP2LREnTow(Int_t tow) const {return fZP2EnTow[tow+5];} | |
48 | // | |
49 | virtual Float_t GetZEM1HRsignal() const {return fZEM1signal[0];} | |
50 | virtual Float_t GetZEM1LRsignal() const {return fZEM1signal[1];} | |
51 | virtual Float_t GetZEM2HRsignal() const {return fZEM2signal[0];} | |
52 | virtual Float_t GetZEM2LRsignal() const {return fZEM2signal[1];} | |
53 | // | |
54 | virtual Float_t GetPMRef1HRsignal() const {return fZEM1signal[0];} | |
55 | virtual Float_t GetPMRef1LRsignal() const {return fZEM1signal[1];} | |
56 | virtual Float_t GetPMRef2HRsignal() const {return fZEM2signal[0];} | |
57 | virtual Float_t GetPMRef2LRsignal() const {return fZEM2signal[1];} | |
646f1679 | 58 | // |
59 | virtual Int_t GetNDetSpecNLeft() const {return fNDetSpecNLeft;} | |
60 | virtual Int_t GetNDetSpecPLeft() const {return fNDetSpecPLeft;} | |
61 | virtual Int_t GetNDetSpecNRight() const {return fNDetSpecNRight;} | |
62 | virtual Int_t GetNDetSpecPRight() const {return fNDetSpecPRight;} | |
63 | virtual Int_t GetNTrueSpecNLeft() const {return fNTrueSpecNLeft;} | |
64 | virtual Int_t GetNTrueSpecPLeft() const {return fNTrueSpecPLeft;} | |
65 | virtual Int_t GetNTrueSpecLeft() const {return fNTrueSpecLeft;} | |
66 | virtual Int_t GetNTrueSpecNRight() const {return fNTrueSpecNRight;} | |
67 | virtual Int_t GetNTrueSpecPRight() const {return fNTrueSpecPRight;} | |
68 | virtual Int_t GetNTrueSpecRight() const {return fNTrueSpecRight;} | |
69 | virtual Int_t GetNPartLeft() const {return fNPartLeft;} | |
70 | virtual Int_t GetNPartRight() const {return fNPartRight;} | |
71 | virtual Float_t GetImpPar() const {return fImpPar;} | |
1450a7cd | 72 | |
93f80a6f | 73 | // Print method |
74 | virtual void Print(Option_t *) const; | |
75 | ||
76 | private: | |
1450a7cd | 77 | // Data members |
c35ed519 | 78 | Float_t fZN1Energy[2]; // Energy detected in ZN1 (sum of 5 tower signals) |
79 | Float_t fZP1Energy[2]; // Energy detected in ZP1 (sum of 5 tower signals) | |
80 | Float_t fZN2Energy[2]; // Energy detected in ZN2 (sum of 5 tower signals) | |
81 | Float_t fZP2Energy[2]; // Energy detected in ZP2 (sum of 5 tower signals) | |
646f1679 | 82 | // |
c35ed519 | 83 | Float_t fZN1EnTow[10]; // Energy in ZN1 towers |
84 | Float_t fZP1EnTow[10]; // Energy in ZP1 towers | |
85 | Float_t fZN2EnTow[10]; // Energy in ZN2 towers | |
86 | Float_t fZP2EnTow[10]; // Energy in ZP2 towers | |
646f1679 | 87 | // |
c35ed519 | 88 | Float_t fZEM1signal[2];// Signal in EM1 ZDC |
89 | Float_t fZEM2signal[2];// Signal in EM2 ZDC | |
84d6255e | 90 | // |
c35ed519 | 91 | Float_t fPMRef1[2]; // Reference PM side C |
92 | Float_t fPMRef2[2]; // Reference PM side A | |
646f1679 | 93 | // |
980685f2 | 94 | Int_t fNDetSpecNLeft; // Number of spectator neutrons detected |
95 | Int_t fNDetSpecPLeft; // Number of spectator protons detected | |
96 | Int_t fNDetSpecNRight; // Number of spectator neutrons detected | |
97 | Int_t fNDetSpecPRight; // Number of spectator protons detected | |
646f1679 | 98 | Int_t fNTrueSpecNLeft; // Estimate of the number of spectator neutrons generated |
99 | Int_t fNTrueSpecPLeft; // Estimate of the number of spectator protons generated | |
100 | Int_t fNTrueSpecLeft; // Estimate of the total number of spectators | |
101 | Int_t fNTrueSpecNRight;// Estimate of the number of spectator neutrons generated | |
102 | Int_t fNTrueSpecPRight;// Estimate of the number of spectator protons generated | |
103 | Int_t fNTrueSpecRight; // Estimate of the total number of spectators | |
104 | Int_t fNPartLeft; // Estimate of the number of participants for 1 nucleus | |
105 | Int_t fNPartRight; // Estimate of the number of participants for 1 nucleus | |
1450a7cd | 106 | Float_t fImpPar; // Estimate of the impact parameter |
107 | ||
1450a7cd | 108 | |
c35ed519 | 109 | ClassDef(AliZDCReco,5) // RecPoints for the Zero Degree Calorimeters |
1450a7cd | 110 | }; |
111 | ||
112 | #endif |