LCOV - code coverage report
Current view: top level - MUON/MUONtrigger - AliMUONTriggerBoard.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 17 25 68.0 %
Date: 2016-06-14 17:26:59 Functions: 5 8 62.5 %

          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             : ///  \class AliMUONTriggerBoard
      20             : ///
      21             : ///  Trigger board super class implementation.
      22             : ///  Can be a local, regional, or global board
      23             : ///  Regional board is per convention always in the slot 0
      24             : ///
      25             : ///  \author Rachid Guernane (LPCCFd)
      26             : //-----------------------------------------------------------------------------
      27             : 
      28             : #include "AliMUONTriggerBoard.h"
      29             : #include "AliLog.h"
      30             : 
      31             : /// \cond CLASSIMP
      32          18 : ClassImp(AliMUONTriggerBoard)
      33             : /// \endcond
      34             : 
      35             : //___________________________________________
      36             : AliMUONTriggerBoard::AliMUONTriggerBoard()
      37         102 :     : TNamed(),
      38         102 :       fSlot(0),
      39         102 :       fResponse(0)
      40         306 : {
      41             : /// Default Ctor
      42             : 
      43         102 : }
      44             : 
      45             : //___________________________________________
      46             : AliMUONTriggerBoard::AliMUONTriggerBoard(const char *Name, Int_t islot) 
      47        1452 :     : TNamed(Name,"Trigger board"),
      48        1452 :       fSlot(islot),
      49        1452 :       fResponse(0)
      50        4356 : {
      51             : /// Standard Ctor
      52             : 
      53        1452 : }
      54             : 
      55             : 
      56             : //___________________________________________
      57             : AliMUONTriggerBoard::AliMUONTriggerBoard(const AliMUONTriggerBoard &rhs) 
      58          22 :     : TNamed(rhs),
      59          22 :       fSlot(rhs.fSlot),
      60          22 :       fResponse(rhs.fResponse)
      61          66 : {
      62             :   //
      63             :   /// Copy constructor
      64             :   //
      65          22 : }
      66             : 
      67             : 
      68             : //___________________________________________
      69             : AliMUONTriggerBoard& AliMUONTriggerBoard::operator=(const AliMUONTriggerBoard &rhs)
      70             : {
      71             : /// Assigment operator;
      72             : 
      73           0 :   if (this == &rhs)
      74           0 :     return *this;
      75             : 
      76             :   // base class assignement
      77           0 :   TNamed::operator=(rhs);
      78             : 
      79           0 :   fSlot = rhs.fSlot;
      80           0 :   fResponse = rhs.fResponse;
      81             : 
      82           0 :   return *this;
      83           0 : }
      84             : 
      85             : 
      86             : //___________________________________________
      87             : AliMUONTriggerBoard::~AliMUONTriggerBoard()
      88           0 : {
      89             : /// Destructor
      90        3152 : }  
      91             : 
      92             : 
      93             : 
      94             : 

Generated by: LCOV version 1.11