LCOV - code coverage report
Current view: top level - TPC/TPCrec - AliTPCvtpr.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 57 1.8 %
Date: 2016-06-14 17:26:59 Functions: 1 11 9.1 %

          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             : /* $Id: AliTPCcluster.cxx,v 1.7 2008/01/22 17:24:53 matyja Exp $ */
      17             : 
      18             : //-----------------------------------------------------------------
      19             : //           TPC cordinate Class
      20             : //
      21             : //  Origin: Adam Matyja, INP PAN, adam.matyja@ifj.edu.pl
      22             : //-----------------------------------------------------------------
      23             : 
      24             : #include "AliTPCvtpr.h"
      25             : 
      26          16 : ClassImp(AliTPCvtpr)
      27             : 
      28             : AliTPCvtpr::AliTPCvtpr():
      29           0 :   TObject(),
      30           0 :   fAdc(0),
      31           0 :   fTime(0),
      32           0 :   fPad(0),
      33           0 :   fRow(0),
      34           0 :   fX(0),
      35           0 :   fY(0),
      36           0 :   fT(0)
      37           0 : {
      38             : //
      39             : // constructor
      40             : //
      41           0 : }
      42             : 
      43             : AliTPCvtpr::AliTPCvtpr(Short_t max,Short_t nt,Short_t np,Short_t nr,Double_t x,Double_t y,Double_t t):
      44           0 :   TObject(),
      45           0 :   fAdc(0),
      46           0 :   fTime(0),
      47           0 :   fPad(0),
      48           0 :   fRow(0),
      49           0 :   fX(0),
      50           0 :   fY(0),
      51           0 :   fT(0)
      52           0 : {
      53             : //
      54             : // another constructor
      55             : //
      56           0 :   fAdc=max;
      57           0 :   fTime=nt;
      58           0 :   fPad=np;
      59           0 :   fRow=nr;
      60           0 :   fX=x;
      61           0 :   fY=y;
      62           0 :   fT=t;
      63           0 : }
      64             : 
      65             : AliTPCvtpr::AliTPCvtpr(const AliTPCvtpr & param):
      66           0 :   TObject(param),
      67           0 :   fAdc(0),
      68           0 :   fTime(0),
      69           0 :   fPad(0),
      70           0 :   fRow(0),
      71           0 :   fX(0),
      72           0 :   fY(0),
      73           0 :   fT(0)
      74           0 : {
      75             : //
      76             : // copy constructor
      77             : //
      78           0 :   fAdc  = param.fAdc;
      79           0 :   fTime = param.fTime;
      80           0 :   fPad  = param.fPad;
      81           0 :   fRow  = param.fRow;
      82           0 :   fX = param.fX;
      83           0 :   fY = param.fY;
      84           0 :   fT = param.fT;
      85           0 : }
      86             : 
      87             : AliTPCvtpr::~AliTPCvtpr()
      88           0 : {
      89             :   //
      90             :   // destructor
      91             :   //
      92           0 : }
      93             : 
      94             : AliTPCvtpr & AliTPCvtpr::operator = (const AliTPCvtpr & param)
      95             : {
      96           0 :   if (this == &param) return (*this);
      97             : 
      98           0 :   fAdc  = param.fAdc;
      99           0 :   fTime = param.fTime;
     100           0 :   fPad  = param.fPad;
     101           0 :   fRow  = param.fRow;
     102           0 :   fX = param.fX;
     103           0 :   fY = param.fY;
     104           0 :   fT = param.fT;
     105             : 
     106           0 :   return (*this);
     107           0 : }

Generated by: LCOV version 1.11