LCOV - code coverage report
Current view: top level - TPC/TPCbase - AliDigitsArray.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 6 20 30.0 %
Date: 2016-06-14 17:26:59 Functions: 3 11 27.3 %

          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             : /// \class AliDigitsArray
      17             : /// \author Marian Ivanov , GSI Darmstadt
      18             : 
      19             : #include "TObject.h"
      20             : #include "AliSegmentID.h"
      21             : #include "TObjArray.h"
      22             : 
      23             : #include "TError.h"
      24             : #include "AliDigits.h"
      25             : #include "AliDetectorParam.h"
      26             : #include "AliDigitsArray.h"
      27             : 
      28             : 
      29             : 
      30             : /// \cond CLASSIMP
      31          24 : ClassImp(AliDigitsArray)
      32             : /// \endcond
      33             : 
      34             : AliDigitsArray::AliDigitsArray()
      35           4 :                :AliSegmentArray(),
      36           4 :                 fParam(0)
      37          12 : {
      38             :   /// default constructor
      39           4 : }
      40             : AliDigitsArray::AliDigitsArray(const AliDigitsArray &param)
      41           0 :              :AliSegmentArray(),
      42           0 :               fParam(0)
      43           0 : {
      44             :   /// dummy
      45             : 
      46           0 :   fParam = param.fParam;
      47           0 : }
      48             : //
      49             : AliDigitsArray & AliDigitsArray::operator =(const AliDigitsArray & param)
      50             : {
      51             :   /// dummy
      52             : 
      53           0 :  if (this == &param) return (*this); 
      54           0 :  fParam = param.fParam;
      55           0 :  return (*this);
      56           0 : }
      57             : //
      58             : AliDigitsArray::~AliDigitsArray()
      59           0 : {
      60             :   /// if (fParam != 0) delete fParam;
      61             : 
      62           8 : }  
      63             : 
      64             : Bool_t AliDigitsArray::Setup(AliDetectorParam *param)
      65             : {
      66             :   /// setup array according parameters
      67             : 
      68           0 :   SetParam(param);
      69           0 :   return kTRUE;
      70             : }
      71             : 
      72             : 
      73             : Bool_t AliDigitsArray::SetParam(AliDetectorParam * param)
      74             : {
      75           0 :   fParam = param;
      76           0 :   return kTRUE;
      77             : }

Generated by: LCOV version 1.11