1 /**************************************************************************
2 * Copyright(c) 2007-2009, 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 **************************************************************************/
16 /////////////////////////////////////////////////////////////////////
18 // Class with ZDC reconstruction parameters //
19 // Origin: Chiara.Oppedisano@to.infn.it //
21 /////////////////////////////////////////////////////////////////////
24 #include "AliZDCRecoParamPbPb.h"
25 #include "AliZDCRecoParampp.h"
26 #include "AliZDCRecoParam.h"
28 ClassImp(AliZDCRecoParam)
30 //_____________________________________________________________________________
31 AliZDCRecoParam::AliZDCRecoParam() :
32 AliDetectorRecoParam(),
42 //_____________________________________________________________________________
43 AliZDCRecoParam::~AliZDCRecoParam()
46 if(fhNpartDist) delete fhNpartDist;
47 if(fhbDist) delete fhbDist;
51 //_____________________________________________________________________________
52 void AliZDCRecoParam::SetGlauberMCDist(Float_t beamEnergy)
54 // Implemented in AliZDCRecoParamPbPb
55 fBeamEnergy = beamEnergy;
56 printf("Setting beam energy = %1.0f GeV\n", fBeamEnergy);