]>
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: | |
15 | AliZDCReco() {} | |
980685f2 | 16 | AliZDCReco(Float_t ezn1, Float_t ezp1, Float_t ezdc1, Float_t ezem, |
17 | Float_t ezn2, Float_t ezp2, Float_t ezdc2, Int_t detspnLeft, | |
18 | Int_t detsppLeft, Int_t detspnRight, Int_t detsppRight, | |
19 | Int_t trspn, Int_t trspp, Int_t trsp, Int_t part, Float_t b); | |
1450a7cd | 20 | AliZDCReco(AliZDCReco* oldreco) {*this=*oldreco;} |
21 | virtual ~AliZDCReco() {} | |
22 | ||
23 | // Getters | |
980685f2 | 24 | virtual Float_t GetZN1energy() const {return fZN1energy;} |
25 | virtual Float_t GetZP1energy() const {return fZP1energy;} | |
26 | virtual Float_t GetZDC1energy() const {return fZDC1energy;} | |
27 | virtual Float_t GetZN2energy() const {return fZN2energy;} | |
28 | virtual Float_t GetZP2energy() const {return fZP2energy;} | |
29 | virtual Float_t GetZDC2energy() const {return fZDC2energy;} | |
93f80a6f | 30 | virtual Float_t GetZEMenergy() const {return fZEMenergy;} |
980685f2 | 31 | virtual Int_t GetNDetSpecNLeft() const {return fNDetSpecNLeft;} |
32 | virtual Int_t GetNDetSpecPLeft() const {return fNDetSpecPLeft;} | |
33 | virtual Int_t GetNDetSpecNRight() const {return fNDetSpecNRight;} | |
34 | virtual Int_t GetNDetSpecPRight() const {return fNDetSpecPRight;} | |
93f80a6f | 35 | virtual Int_t GetNTrueSpecN() const {return fNTrueSpecN;} |
36 | virtual Int_t GetNTrueSpecP() const {return fNTrueSpecP;} | |
37 | virtual Int_t GetNTrueSpec() const {return fNTrueSpec;} | |
38 | virtual Int_t GetNPart() const {return fNPart;} | |
39 | virtual Float_t GetImpPar() const {return fImpPar;} | |
1450a7cd | 40 | |
93f80a6f | 41 | // Print method |
42 | virtual void Print(Option_t *) const; | |
43 | ||
44 | private: | |
1450a7cd | 45 | // Data members |
980685f2 | 46 | Float_t fZN1energy; // Energy detected in neutron ZDC |
47 | Float_t fZP1energy; // Energy detected in proton ZDC | |
48 | Float_t fZDC1energy; // Total hadronic energy detcted in ZDCs | |
49 | Float_t fZN2energy; // Energy detected in neutron ZDC | |
50 | Float_t fZP2energy; // Energy detected in proton ZDC | |
51 | Float_t fZDC2energy; // Total hadronic energy detcted in ZDCs | |
1450a7cd | 52 | Float_t fZEMenergy; // Energy detected in EM ZDC |
980685f2 | 53 | Int_t fNDetSpecNLeft; // Number of spectator neutrons detected |
54 | Int_t fNDetSpecPLeft; // Number of spectator protons detected | |
55 | Int_t fNDetSpecNRight; // Number of spectator neutrons detected | |
56 | Int_t fNDetSpecPRight; // Number of spectator protons detected | |
1450a7cd | 57 | Int_t fNTrueSpecN; // Estimate of the number of spectator neutrons generated |
58 | Int_t fNTrueSpecP; // Estimate of the number of spectator protons generated | |
59 | Int_t fNTrueSpec ; // Estimate of the total number of spectators | |
60 | Int_t fNPart; // Estimate of the number of participants for 1 nucleus | |
61 | Float_t fImpPar; // Estimate of the impact parameter | |
62 | ||
1450a7cd | 63 | |
64 | ClassDef(AliZDCReco,1) // RecPoints for the Zero Degree Calorimeters | |
65 | }; | |
66 | ||
67 | #endif |