LCOV - code coverage report
Current view: top level - TOF/TOFbase - AliTOFTDCError.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 8 19 42.1 %
Date: 2016-06-14 17:26:59 Functions: 5 9 55.6 %

          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             :   author: Roberto Preghenella (R+), preghenella@bo.infn.it
      18             : */
      19             : 
      20             : 
      21             : //////////////////////////////////////////////////////////////////////
      22             : //                                                                  //
      23             : //                                                                  //
      24             : //        This class provides a definition for TDC errors.          //
      25             : //                                                                  //
      26             : //                                                                  //
      27             : //////////////////////////////////////////////////////////////////////
      28             : 
      29             : #include "AliTOFTDCError.h"
      30             : 
      31          26 : ClassImp(AliTOFTDCError)
      32             : 
      33             : AliTOFTDCError::AliTOFTDCError() :
      34         576 :   TObject(),
      35         576 :   fErrorFlags(0),
      36         576 :   fTDCID(0)
      37        2880 : {
      38             :   /* default constructor */
      39        1152 : }
      40             : 
      41             : //_________________________________________________________________
      42             : 
      43             : AliTOFTDCError::AliTOFTDCError(const AliTOFTDCError &source) :
      44           0 :   TObject(),
      45           0 :   fErrorFlags(source.fErrorFlags),
      46           0 :   fTDCID(source.fTDCID)
      47           0 : {
      48             :   /* copy contructor */
      49           0 : }
      50             : 
      51             : //_________________________________________________________________
      52             : 
      53             : AliTOFTDCError &
      54             : AliTOFTDCError::operator = (const AliTOFTDCError &source)
      55             : {
      56             :   /* operator = */
      57           0 :   if (this == &source) return *this;
      58           0 :   TObject::operator=(source);
      59           0 :   fErrorFlags = source.fErrorFlags;
      60           0 :   fTDCID = source.fTDCID;
      61           0 :   return *this;
      62           0 : }
      63             : 
      64             : //_________________________________________________________________
      65             : 
      66             : AliTOFTDCError::~AliTOFTDCError()
      67        1152 : {
      68             :   /* default destructor */
      69        1728 : }

Generated by: LCOV version 1.11