LHAPDF veraion 5.9.1
[u/mrichter/AliRoot.git] / ZDC / AliZDCRecoParam.cxx
CommitLineData
7bff3766 1/**************************************************************************
2 * Copyright(c) 2007-2009, 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
73bc3a3f 16/////////////////////////////////////////////////////////////////////
17// //
18// Class with ZDC reconstruction parameters //
19// Origin: Chiara.Oppedisano@to.infn.it //
20// //
21/////////////////////////////////////////////////////////////////////
7bff3766 22
23
1de9cc13 24#include "AliZDCRecoParamPbPb.h"
25#include "AliZDCRecoParampp.h"
7bff3766 26#include "AliZDCRecoParam.h"
27
28ClassImp(AliZDCRecoParam)
29
30//_____________________________________________________________________________
31AliZDCRecoParam::AliZDCRecoParam() :
2d9c70ab 32 AliDetectorRecoParam(),
48c7f545 33 fBeamEnergy(0),
34 fhNpartDist(0x0),
35 fhbDist(0x0),
36 fClkCenter(0)
7bff3766 37{
38 //
39 //Default constructor
40}
2d9c70ab 41
7bff3766 42//_____________________________________________________________________________
43AliZDCRecoParam::~AliZDCRecoParam()
44{
45 // destructor
48c7f545 46 if(fhNpartDist) delete fhNpartDist;
47 if(fhbDist) delete fhbDist;
7bff3766 48
49}
2d9c70ab 50
51//_____________________________________________________________________________
52void AliZDCRecoParam::SetGlauberMCDist(Float_t beamEnergy)
53{
54 // Implemented in AliZDCRecoParamPbPb
55 fBeamEnergy = beamEnergy;
84148634 56 printf("Setting beam energy = %1.0f GeV\n", fBeamEnergy);
2d9c70ab 57}