]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliESDZDC.cxx
Modifications in AliESDMuonTrack:
[u/mrichter/AliRoot.git] / STEER / AliESDZDC.cxx
CommitLineData
d5ebf00e 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
16
17//-------------------------------------------------------------------------
18// Implementation of Class AliESDZDC
19// This is a class that summarizes the ZDC data
20// for the ESD
21// Origin: Christian Klein-Boesing, CERN, Christian.Klein-Boesing@cern.ch
22//-------------------------------------------------------------------------
23
24
25
26#include "AliESDZDC.h"
27
28ClassImp(AliESDZDC)
29
30//______________________________________________________________________________
31AliESDZDC::AliESDZDC() :
32 TObject(),
33 fZDCN1Energy(0),
34 fZDCP1Energy(0),
35 fZDCN2Energy(0),
36 fZDCP2Energy(0),
37 fZDCEMEnergy(0),
38 fZDCParticipants(0)
39{
40}
41
42AliESDZDC::AliESDZDC(const AliESDZDC& zdc) :
43 TObject(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)
50{
51 // copy constructor
52}
53
54AliESDZDC& AliESDZDC::operator=(const AliESDZDC&zdc)
55{
56 // assigment operator
57 if(this!=&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;
65 }
66 return *this;
67}
68
69
70//______________________________________________________________________________
71void AliESDZDC::Reset()
72{
73 // reset all data members
74 fZDCN1Energy=0;
75 fZDCP1Energy=0;
76 fZDCN2Energy=0;
77 fZDCP2Energy=0;
78 fZDCEMEnergy=0;
79 fZDCParticipants=0;
80}
81
82//______________________________________________________________________________
83void AliESDZDC::Print(const Option_t *) const
84{
85}
86