LCOV - code coverage report
Current view: top level - PMD/PMDrec - AliPMDRecoParam.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 11 39 28.2 %
Date: 2016-06-14 17:26:59 Functions: 7 15 46.7 %

          Line data    Source code
       1             : /**************************************************************************
       2             :  * Copyright(c) 1998-1999, 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             : //                                                                           //
      19             : // Class with PMD reconstruction parameters                                  //
      20             : //                                                                           //
      21             : //                                                                           //
      22             : ///////////////////////////////////////////////////////////////////////////////
      23             : 
      24             : 
      25             : #include "AliLog.h"
      26             : 
      27             : #include "AliPMDRecoParam.h"
      28             : 
      29          12 : ClassImp(AliPMDRecoParam)
      30             : 
      31             : //_____________________________________________________________________________
      32             : AliPMDRecoParam::AliPMDRecoParam():
      33         102 :   AliDetectorRecoParam(),
      34         102 :   fPmdClusteringParam(0)
      35         510 : {
      36             :   //
      37             :   // constructor
      38             :   //
      39         102 :   SetNameTitle("PMD","PMD");
      40         204 : }
      41             : //_____________________________________________________________________________
      42             : AliPMDRecoParam::AliPMDRecoParam(const AliPMDRecoParam &source):
      43           0 :   AliDetectorRecoParam(source),
      44           0 :   fPmdClusteringParam(source.fPmdClusteringParam)
      45           0 : { 
      46             :   //copy Ctor
      47             : 
      48           0 : }
      49             : //_____________________________________________________________________________
      50             : AliPMDRecoParam& AliPMDRecoParam::operator=(const AliPMDRecoParam &source)
      51             : {
      52             :   //
      53             :   // assign. operator
      54             :   //
      55             : 
      56           0 :   if (this != &source)
      57             :     {
      58           0 :       fPmdClusteringParam = source.fPmdClusteringParam;
      59           0 :     }
      60             : 
      61           0 :   return *this;
      62             : }
      63             : //_____________________________________________________________________________
      64             : AliPMDRecoParam::~AliPMDRecoParam() 
      65         408 : {
      66             :   //
      67             :   // destructor
      68             :   //  
      69         408 : }
      70             : 
      71             : //_____________________________________________________________________________
      72             : AliPMDRecoParam *AliPMDRecoParam::GetPbPbParam(){
      73             :   //
      74             :   // set default reconstruction parameters for PbPb.
      75             :   //
      76           0 :   AliPMDRecoParam *param = new AliPMDRecoParam();
      77             : 
      78           0 :   param->fPmdClusteringParam = 2;
      79             : 
      80           0 :   return param;
      81           0 : }
      82             : 
      83             : //_____________________________________________________________________________
      84             : AliPMDRecoParam *AliPMDRecoParam::GetPPParam(){
      85             :   //
      86             :   // set default reconstruction parameters for PP.
      87             :   //
      88         196 :   AliPMDRecoParam *param = new AliPMDRecoParam();
      89             : 
      90          98 :   param->fPmdClusteringParam = 1;
      91             : 
      92          98 :   return param;
      93           0 : }
      94             : 
      95             : //_____________________________________________________________________________
      96             : AliPMDRecoParam *AliPMDRecoParam::GetCosmicParam(){
      97             :   //
      98             :   // set default reconstruction parameters for cosmic muon run
      99             :   //
     100           0 :   AliPMDRecoParam *param = new AliPMDRecoParam();
     101             : 
     102           0 :   param->fPmdClusteringParam = 1;
     103             : 
     104           0 :   return param;
     105           0 : }
     106             : 
     107             : //_____________________________________________________________________________
     108             : void AliPMDRecoParam::PrintParameters() const
     109             : {
     110             :   //
     111             :   // Printing of the used PMD reconstruction parameters
     112             :   //
     113             : 
     114           0 :   AliInfo(" Crude Clustering = 1 and Refined Clustering = 2");
     115           0 :   AliInfo(Form(" Clustering parameter : %d", fPmdClusteringParam));
     116             : 
     117           0 : }
     118             : 
     119             : //_____________________________________________________________________________
     120             : AliPMDRecoParam *AliPMDRecoParam::GetHighFluxParam(){
     121             :   //
     122             :   // set default reconstruction parameters for PbPb.
     123             :   //
     124           0 :   AliPMDRecoParam *param = new AliPMDRecoParam();
     125             : 
     126           0 :   param->fPmdClusteringParam = 2;
     127             : 
     128           0 :   return param;
     129           0 : }
     130             : 
     131             : //_____________________________________________________________________________
     132             : AliPMDRecoParam *AliPMDRecoParam::GetLowFluxParam(){
     133             :   //
     134             :   // set default reconstruction parameters for PP.
     135             :   //
     136           0 :   AliPMDRecoParam *param = new AliPMDRecoParam();
     137             : 
     138           0 :   param->fPmdClusteringParam = 1;
     139             : 
     140           0 :   return param;
     141           0 : }

Generated by: LCOV version 1.11