LCOV - code coverage report
Current view: top level - TRD/TRDbase - AliTRDCalMonitoring.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 21 41 51.2 %
Date: 2016-06-14 17:26:59 Functions: 3 5 60.0 %

          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$ */
      17             : 
      18             : ///////////////////////////////////////////////////////////////////////////////
      19             : //                                                                           //
      20             : //  TRD calibration class for monitoring data                                //
      21             : //                                                                           //
      22             : ///////////////////////////////////////////////////////////////////////////////
      23             : 
      24             : #include "AliTRDCalMonitoring.h"
      25             : 
      26          48 : ClassImp(AliTRDCalMonitoring)
      27             : 
      28             : //_____________________________________________________________________________
      29             : AliTRDCalMonitoring::AliTRDCalMonitoring()
      30           2 :   :TNamed()
      31           2 :   ,fDriftVelocity(0)
      32           2 :   ,fGasComposition(0)
      33           2 :   ,fEnvironmentTemperature(0)
      34          10 : {
      35             :   //
      36             :   // AliTRDCalMonitoring default constructor
      37             :   //
      38             :   
      39        2164 :   for (Int_t i=0; i<540; ++i) {
      40        1080 :     fAnodeCurrentsMin[i] = 0;
      41        1080 :     fAnodeCurrentsMax[i] = 0;
      42        1080 :     fDriftCurrentsMin[i] = 0;
      43        1080 :     fDriftCurrentsMax[i] = 0;
      44        1080 :     fAnodeVoltagesMin[i] = 0;
      45        1080 :     fAnodeVoltagesMax[i] = 0;
      46        1080 :     fDriftVoltagesMin[i] = 0;
      47        1080 :     fDriftVoltagesMax[i] = 0;
      48             :   }
      49        1444 :   for (Int_t i=0; i<360; ++i) {
      50         720 :     fLVVoltage[i] = 0;
      51         720 :     fLVCurrent[i] = 0;
      52             :   }
      53       26804 :   for (Int_t i=0; i<6700; ++i) {
      54       13400 :     fADCTresholds[i] = 0;
      55             :   }
      56             : 
      57           4 : }
      58             : 
      59             : //_____________________________________________________________________________
      60             : AliTRDCalMonitoring::AliTRDCalMonitoring(const Text_t *name, const Text_t *title)
      61           0 :   :TNamed(name,title)
      62           0 :   ,fDriftVelocity(0)
      63           0 :   ,fGasComposition(0)
      64           0 :   ,fEnvironmentTemperature(0)
      65           0 : {
      66             :   //
      67             :   // AliTRDCalMonitoring constructor
      68             :   //
      69             : 
      70           0 :   for (Int_t i=0; i<540; ++i) {
      71           0 :     fAnodeCurrentsMin[i] = 0;
      72           0 :     fAnodeCurrentsMax[i] = 0;
      73           0 :     fDriftCurrentsMin[i] = 0;
      74           0 :     fDriftCurrentsMax[i] = 0;
      75           0 :     fAnodeVoltagesMin[i] = 0;
      76           0 :     fAnodeVoltagesMax[i] = 0;
      77           0 :     fDriftVoltagesMin[i] = 0;
      78           0 :     fDriftVoltagesMax[i] = 0;
      79             :   }
      80           0 :   for (Int_t i=0; i<360; ++i) {
      81           0 :     fLVVoltage[i] = 0;
      82           0 :     fLVCurrent[i] = 0;
      83             :   }
      84           0 :   for (Int_t i=0; i<6700; ++i) {
      85           0 :     fADCTresholds[i] = 0;
      86             :   }
      87             : 
      88           0 : }
      89             : 

Generated by: LCOV version 1.11