LCOV - code coverage report
Current view: top level - TRD/TRDbase - AliTRDSensor.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 10 24 41.7 %
Date: 2016-06-14 17:26:59 Functions: 6 12 50.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             : // This class represent a TRD sensor, it is used by AliTRDSensorArray     //
      21             : // 
      22             : //                                                                        //
      23             : // Author:                                                                //
      24             : //   W. Monange   (w.monange@gsi.de)                                      //
      25             : //                                                                        //
      26             : ////////////////////////////////////////////////////////////////////////////
      27             : 
      28             : #include "AliTRDSensor.h"
      29             : 
      30          48 : ClassImp(AliTRDSensor)
      31             : 
      32             : //_____________________________________________________________________________
      33             : AliTRDSensor::AliTRDSensor ():
      34        6516 :                 AliDCSSensor ()
      35       32580 : {
      36             :         //default constructor
      37        6516 :         SetIdDCS  (0);
      38        6516 :         SetX       (0);
      39        6516 :         SetY       (0);
      40        6516 :         SetZ       (0);
      41             :         //SetStartTime (startTime);
      42       13032 : }
      43             : 
      44             : 
      45             : //_____________________________________________________________________________
      46             : AliTRDSensor::AliTRDSensor (const AliTRDSensor & source) :
      47           0 :                 AliDCSSensor (source)
      48           0 : { 
      49             :         //copy constructor
      50             : 
      51           0 : }
      52             : 
      53             : //_____________________________________________________________________________
      54             : AliTRDSensor::AliTRDSensor (Int_t dcsId,
      55             :                                                         Double_t x, Double_t y, Double_t z):
      56           0 :                 AliDCSSensor ()
      57           0 : {
      58             :         // constructor
      59           0 :         SetIdDCS  (dcsId);
      60           0 :         SetX       (x);
      61           0 :         SetY       (y);
      62           0 :         SetZ       (z);
      63             :         //SetStartTime (startTime);
      64           0 : }
      65             : 
      66             : //_____________________________________________________________________________
      67             : AliTRDSensor::~AliTRDSensor()
      68           8 : {
      69             :   //
      70             :   // Destructor
      71             :   //
      72             : 
      73           8 : }
      74             : 
      75             : //_____________________________________________________________________________
      76             : AliTRDSensor & AliTRDSensor::operator=(const AliTRDSensor &c)
      77             : {
      78             :   //
      79             :   // Assignment operator
      80             :   //
      81             : 
      82           0 :         if (this != &c) ((AliTRDSensor &) c).Copy(*this);
      83           0 :         return *this;
      84             : }
      85             : 
      86             : //_____________________________________________________________________________
      87             : void AliTRDSensor::Copy(TObject &c) const
      88             : {
      89             :   //
      90             :   // Copy function
      91             :   //
      92           0 :         TObject::Copy(c);
      93           0 : }

Generated by: LCOV version 1.11