5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
9 // Implementation of Class AliESDZDC
10 // This is a class that summarizes the ZDC data
12 // Origin: Christian Klein-Boesing, CERN, Christian.Klein-Boesing@cern.ch
13 //-------------------------------------------------------------------------
18 class AliESDZDC: public TObject {
21 AliESDZDC(const AliESDZDC& zdc);
22 AliESDZDC& operator=(const AliESDZDC& zdc);
24 Double_t GetZDCN1Energy() const {return fZDCN1Energy;}
25 Double_t GetZDCP1Energy() const {return fZDCP1Energy;}
26 Double_t GetZDCN2Energy() const {return fZDCN2Energy;}
27 Double_t GetZDCP2Energy() const {return fZDCP2Energy;}
28 Double_t GetZDCEMEnergy() const {return fZDCEMEnergy;}
29 Int_t GetZDCParticipants() const {return fZDCParticipants;}
30 void SetZDC(Double_t n1Energy, Double_t p1Energy, Double_t emEnergy,
31 Double_t n2Energy, Double_t p2Energy, Int_t participants)
32 {fZDCN1Energy=n1Energy; fZDCP1Energy=p1Energy; fZDCEMEnergy=emEnergy;
33 fZDCN2Energy=n2Energy; fZDCP2Energy=p2Energy; fZDCParticipants=participants;}
36 void Print(const Option_t *opt=0) const;
40 Double32_t fZDCN1Energy; // reconstructed energy in the neutron ZDC
41 Double32_t fZDCP1Energy; // reconstructed energy in the proton ZDC
42 Double32_t fZDCN2Energy; // reconstructed energy in the neutron ZDC
43 Double32_t fZDCP2Energy; // reconstructed energy in the proton ZDC
44 Double32_t fZDCEMEnergy; // reconstructed energy in the electromagnetic ZDC
45 Int_t fZDCParticipants; // number of participants estimated by the ZDC