LCOV - code coverage report
Current view: top level - ITS/ITSbase - AliITSNoiseSSDv2.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 7 16 43.8 %
Date: 2016-06-14 17:26:59 Functions: 6 9 66.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             : #include "AliITSNoiseSSDv2.h"
      18             : #include <cstring>
      19             : 
      20             : //////////////////////////////////////////////////////
      21             : // Author: Enrico Fragiacomo
      22             : // Date: 23/08/2007
      23             : // Modified: 08/07/2008
      24             : //                                                  //
      25             : //////////////////////////////////////////////////////
      26             : 
      27             : //const Int_t AliITSNoiseSSD::fgkDefaultNModulesSSD = 1698;
      28             : //const Int_t AliITSNoiseSSD::fgkDefaultNStripsSSD = 768;
      29             : 
      30         118 : ClassImp(AliITSNoiseSSDv2)
      31             :   
      32             : //______________________________________________________________________
      33          12 :   AliITSNoiseSSDv2::AliITSNoiseSSDv2() {
      34             :   // Default Constructor
      35    15648774 :   for(Int_t i=0; i<2*fgkDefaultNModulesSSD*fgkDefaultNStripsSSD; i++) 
      36     7824384 :     fNois[i]=0;    
      37           6 : }
      38             : 
      39             : //______________________________________________________________________
      40             : AliITSNoiseSSDv2::AliITSNoiseSSDv2(const AliITSNoiseSSDv2 &source): 
      41           0 :   TObject(source)  
      42           0 : {
      43             :     // copy Constructor
      44           0 :   memcpy(fNois,source.fNois,
      45             :          2*fgkDefaultNModulesSSD*fgkDefaultNStripsSSD*sizeof(Float_t));
      46           0 : }
      47             : 
      48             : //______________________________________________________________________
      49          12 : AliITSNoiseSSDv2::~AliITSNoiseSSDv2(){
      50             :     // destructor
      51             : 
      52          12 : }
      53             : 
      54             : //______________________________________________________________________
      55             : AliITSNoiseSSDv2& AliITSNoiseSSDv2::operator=(const AliITSNoiseSSDv2 &source) {
      56             :  // ass. op.
      57           0 :     if (this == &source)
      58           0 :       return *this;
      59             : 
      60           0 :     memcpy(fNois,source.fNois,
      61             :          2*fgkDefaultNModulesSSD*fgkDefaultNStripsSSD*sizeof(Float_t));
      62             :     
      63           0 :     return *this;
      64           0 : }

Generated by: LCOV version 1.11