3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ////////////////////////////////////////////////
7 // Classe for ZDC RecPoints //
8 ////////////////////////////////////////////////
12 class AliZDCReco : public TObject {
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);
20 AliZDCReco(AliZDCReco* oldreco) {*this=*oldreco;}
21 virtual ~AliZDCReco() {}
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;}
30 virtual Float_t GetZEMenergy() const {return fZEMenergy;}
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;}
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;}
42 virtual void Print(Option_t *) const;
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
52 Float_t fZEMenergy; // Energy detected in EM ZDC
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
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
64 ClassDef(AliZDCReco,1) // RecPoints for the Zero Degree Calorimeters