* provided "as is" without express or implied warranty. *
**************************************************************************/
-///////////////////////////////////////////////////////////////////////////////
-// //
-// Class with ZDC reconstruction parameters //
-// Origin: Chiara.Oppedisano@to.infn.it //
-// //
-///////////////////////////////////////////////////////////////////////////////
+/////////////////////////////////////////////////////////////////////
+// //
+// Class with ZDC reconstruction parameters //
+// Origin: Chiara.Oppedisano@to.infn.it //
+// //
+/////////////////////////////////////////////////////////////////////
-//#include <TF1.h>
+#include "AliZDCRecoParamPbPb.h"
+#include "AliZDCRecoParampp.h"
#include "AliZDCRecoParam.h"
ClassImp(AliZDCRecoParam)
//_____________________________________________________________________________
AliZDCRecoParam::AliZDCRecoParam() :
- AliDetectorRecoParam()
+ AliDetectorRecoParam(),
+ fBeamEnergy(0),
+ fhNpartDist(0x0),
+ fhbDist(0x0),
+ fClkCenter(0)
{
//
//Default constructor
}
+
//_____________________________________________________________________________
AliZDCRecoParam::~AliZDCRecoParam()
{
// destructor
+ if(fhNpartDist) delete fhNpartDist;
+ if(fhbDist) delete fhbDist;
+
+}
+//_____________________________________________________________________________
+void AliZDCRecoParam::SetGlauberMCDist(Float_t beamEnergy)
+{
+ // Implemented in AliZDCRecoParamPbPb
+ fBeamEnergy = beamEnergy;
+ printf("Setting beam energy = %1.0f GeV\n", fBeamEnergy);
}