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