]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTriggerBoard.cxx
Fix for the dumps in the test script
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerBoard.cxx
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 ClassImp(AliMUONTriggerBoard)
33 /// \endcond
34
35 //___________________________________________
36 AliMUONTriggerBoard::AliMUONTriggerBoard()
37     : TNamed(),
38       fSlot(0),
39       fResponse(0)
40 {
41 /// Default Ctor
42
43 }
44
45 //___________________________________________
46 AliMUONTriggerBoard::AliMUONTriggerBoard(const char *Name, Int_t islot) 
47     : TNamed(Name,"Trigger board"),
48       fSlot(islot),
49       fResponse(0)
50 {
51 /// Standard Ctor
52
53 }
54
55
56 //___________________________________________
57 AliMUONTriggerBoard::AliMUONTriggerBoard(const AliMUONTriggerBoard &rhs) 
58     : TNamed(rhs),
59       fSlot(rhs.fSlot),
60       fResponse(rhs.fResponse)
61 {
62   //
63   /// Copy constructor
64   //
65 }
66
67
68 //___________________________________________
69 AliMUONTriggerBoard& AliMUONTriggerBoard::operator=(const AliMUONTriggerBoard &rhs)
70 {
71 /// Assigment operator;
72
73   if (this == &rhs)
74     return *this;
75
76   // base class assignement
77   TNamed::operator=(rhs);
78
79   fSlot = rhs.fSlot;
80   fResponse = rhs.fResponse;
81
82   return *this;
83 }
84
85
86 //___________________________________________
87 AliMUONTriggerBoard::~AliMUONTriggerBoard()
88 {
89 /// Destructor
90 }  
91
92
93
94