1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
17 //-------------------------------------------------------------------------
18 // Implementation of Class AliESDZDC
19 // This is a class that summarizes the ZDC data
21 // Origin: Christian Klein-Boesing, CERN, Christian.Klein-Boesing@cern.ch
22 //-------------------------------------------------------------------------
26 #include "AliESDZDC.h"
30 //______________________________________________________________________________
31 AliESDZDC::AliESDZDC() :
42 AliESDZDC::AliESDZDC(const AliESDZDC& zdc) :
44 fZDCN1Energy(zdc.fZDCN1Energy),
45 fZDCP1Energy(zdc.fZDCP1Energy),
46 fZDCN2Energy(zdc.fZDCN2Energy),
47 fZDCP2Energy(zdc.fZDCP2Energy),
48 fZDCEMEnergy(zdc.fZDCEMEnergy),
49 fZDCParticipants(zdc.fZDCParticipants)
54 AliESDZDC& AliESDZDC::operator=(const AliESDZDC&zdc)
58 TObject::operator=(zdc);
59 fZDCN1Energy = zdc.fZDCN1Energy;
60 fZDCP1Energy = zdc.fZDCP1Energy;
61 fZDCN2Energy = zdc.fZDCN2Energy;
62 fZDCP2Energy = zdc.fZDCP2Energy;
63 fZDCEMEnergy = zdc.fZDCEMEnergy;
64 fZDCParticipants = zdc.fZDCParticipants;
70 //______________________________________________________________________________
71 void AliESDZDC::Reset()
73 // reset all data members
82 //______________________________________________________________________________
83 void AliESDZDC::Print(const Option_t *) const