LCOV - code coverage report
Current view: top level - STEER/AOD - AliAODTZERO.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 14 40 35.0 %
Date: 2016-06-14 17:26:59 Functions: 3 6 50.0 %

          Line data    Source code
       1             : /**************************************************************************
       2             :  * Copyright(c) 1998-2007, 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             : //     Container class for AOD TZERO data
      18             : //     Author: Filip Krizek 
      19             : //     filip.krizek@cern.ch 23/02/2012
      20             : //-------------------------------------------------------------------------
      21             : 
      22             : #include "AliAODTZERO.h"
      23             : #include "AliLog.h"
      24             : 
      25         170 : ClassImp(AliAODTZERO)
      26             : 
      27             : //__________________________________________________________________________
      28             : AliAODTZERO::AliAODTZERO()
      29           2 :   :TObject(),
      30           2 :    fPileup(0),
      31           2 :    fSattelite(0),
      32           2 :    fBackground(0),
      33           2 :    fT0VertexRaw(-9999),
      34           2 :    fT0zVertex(-9999),
      35           2 :    fPileupBits(0)
      36          10 : {   
      37             :   // Default constructor 
      38          16 :   for(Int_t j=0; j<3; j++){ 
      39           6 :     fT0TOF[j]     = -9999;
      40           6 :     fT0TOFbest[j] = -9999;
      41             :   }
      42         108 :   for (Int_t i=0; i<26; i++) fT0Amp[i]=-1;
      43           4 : }
      44             : 
      45             : //__________________________________________________________________________
      46             : AliAODTZERO::AliAODTZERO(const AliAODTZERO &source)
      47           0 :   :TObject(source),
      48           0 :    fPileup(source.fPileup),
      49           0 :    fSattelite(source.fSattelite),
      50           0 :    fBackground(source.fBackground),
      51           0 :    fT0VertexRaw(source.fT0VertexRaw),
      52           0 :    fT0zVertex(source.fT0zVertex),
      53           0 :   fPileupBits(source.fPileupBits)
      54           0 : {   
      55             :   // Default constructor 
      56           0 :   for(Int_t j=0; j<3; j++) {
      57           0 :     fT0TOF[j]     = source.fT0TOF[j];
      58           0 :     fT0TOFbest[j] = source.fT0TOFbest[j];
      59             :   }
      60           0 :   for (Int_t i=0; i<26; i++) fT0Amp[i]=source.fT0Amp[i];
      61           0 : }
      62             : 
      63             : //__________________________________________________________________________
      64             : AliAODTZERO& AliAODTZERO::operator=(const AliAODTZERO& source)
      65             : {
      66             :   // Assignment operator
      67             :   //
      68           0 :   if(this==&source) return *this;
      69             :   // Assignment operator
      70           0 :   fPileup      = source.fPileup;
      71           0 :   fSattelite   = source.fSattelite;
      72           0 :   fBackground  = source.fBackground;
      73           0 :   fT0VertexRaw = source.fT0VertexRaw;
      74           0 :   fT0zVertex = source.fT0zVertex;
      75           0 :    fPileupBits = source.fPileupBits;
      76             : 
      77           0 :   for(Int_t j=0; j<3; j++){
      78           0 :     fT0TOF[j]     = source.fT0TOF[j];
      79           0 :     fT0TOFbest[j] = source.fT0TOFbest[j];
      80             :   }
      81           0 :   for (Int_t i=0; i<26; i++) fT0Amp[i]=source.fT0Amp[i];
      82           0 :   return *this;
      83           0 : }
      84             : 

Generated by: LCOV version 1.11