LCOV - code coverage report
Current view: top level - ZDC/ZDCrec - AliZDCRecoParam.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 12 15 80.0 %
Date: 2016-06-14 17:26:59 Functions: 3 7 42.9 %

          Line data    Source code
       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          12 : ClassImp(AliZDCRecoParam)
      29             : 
      30             : //_____________________________________________________________________________
      31             : AliZDCRecoParam::AliZDCRecoParam() :
      32           4 :   AliDetectorRecoParam(),
      33           4 :   fBeamEnergy(0),
      34           4 :   fhNpartDist(0x0),
      35           4 :   fhbDist(0x0),
      36           4 :   fClkCenter(0)
      37          12 : {
      38             :   //
      39             :   //Default constructor
      40           4 : }
      41             : 
      42             : //_____________________________________________________________________________
      43             : AliZDCRecoParam::~AliZDCRecoParam()
      44           8 : {
      45             :   // destructor
      46           4 :   if(fhNpartDist) delete fhNpartDist;
      47           4 :   if(fhbDist)     delete fhbDist;
      48             : 
      49           4 : }
      50             : 
      51             : //_____________________________________________________________________________
      52             : void AliZDCRecoParam::SetGlauberMCDist(Float_t beamEnergy)
      53             : {
      54             :   // Implemented in AliZDCRecoParamPbPb
      55           0 :   fBeamEnergy = beamEnergy;
      56           0 :   printf("Setting beam energy = %1.0f GeV\n", fBeamEnergy);
      57           0 : }

Generated by: LCOV version 1.11