]>
Commit | Line | Data |
---|---|---|
d5ebf00e | 1 | // -*- mode: C++ -*- |
2 | #ifndef ALIESDZDC_H | |
3 | #define ALIESDZDC_H | |
4 | ||
5 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
6 | * See cxx source for full Copyright notice */ | |
7 | ||
8 | //------------------------------------------------------------------------- | |
9 | // Implementation of Class AliESDZDC | |
10 | // This is a class that summarizes the ZDC data | |
11 | // for the ESD | |
12 | // Origin: Christian Klein-Boesing, CERN, Christian.Klein-Boesing@cern.ch | |
13 | //------------------------------------------------------------------------- | |
14 | ||
15 | #include <TObject.h> | |
16 | ||
17 | ||
18 | class AliESDZDC: public TObject { | |
19 | public: | |
20 | AliESDZDC(); | |
21 | AliESDZDC(const AliESDZDC& zdc); | |
22 | AliESDZDC& operator=(const AliESDZDC& zdc); | |
23 | ||
24 | Float_t GetZDCN1Energy() const {return fZDCN1Energy;} | |
25 | Float_t GetZDCP1Energy() const {return fZDCP1Energy;} | |
26 | Float_t GetZDCN2Energy() const {return fZDCN2Energy;} | |
27 | Float_t GetZDCP2Energy() const {return fZDCP2Energy;} | |
28 | Float_t GetZDCEMEnergy() const {return fZDCEMEnergy;} | |
29 | Int_t GetZDCParticipants() const {return fZDCParticipants;} | |
30 | void SetZDC(Float_t n1Energy, Float_t p1Energy, Float_t emEnergy, | |
31 | Float_t n2Energy, Float_t p2Energy, Int_t participants) | |
32 | {fZDCN1Energy=n1Energy; fZDCP1Energy=p1Energy; fZDCEMEnergy=emEnergy; | |
33 | fZDCN2Energy=n2Energy; fZDCP2Energy=p2Energy; fZDCParticipants=participants;} | |
34 | ||
35 | void Reset(); | |
36 | void Print(const Option_t *opt=0) const; | |
37 | ||
38 | private: | |
39 | ||
40 | Float_t fZDCN1Energy; // reconstructed energy in the neutron ZDC | |
41 | Float_t fZDCP1Energy; // reconstructed energy in the proton ZDC | |
42 | Float_t fZDCN2Energy; // reconstructed energy in the neutron ZDC | |
43 | Float_t fZDCP2Energy; // reconstructed energy in the proton ZDC | |
44 | Float_t fZDCEMEnergy; // reconstructed energy in the electromagnetic ZDC | |
45 | Int_t fZDCParticipants; // number of participants estimated by the ZDC | |
46 | ||
47 | ClassDef(AliESDZDC,1) | |
48 | }; | |
49 | ||
50 | #endif |