minor coverity defect: added protection for self-assignment
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerBoard.h
CommitLineData
a5418161 1#ifndef ALIMUONTRIGGERBOARD_H
2#define ALIMUONTRIGGERBOARD_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
c1975ba7 8/// \ingroup trigger
edd00c2d 9/// \class AliMUONTriggerBoard
69d7ac2e 10/// \brief Trigger board base class
edd00c2d 11///
71a2d3aa 12// Author Rachid Guernane (LPCCFd)
a5418161 13
14#include <TNamed.h>
15
16class AliMUONTriggerBoard : public TNamed
17{
18 public:
19 AliMUONTriggerBoard();
a5418161 20 AliMUONTriggerBoard(const char *name, Int_t islot);
71a2d3aa 21 virtual ~AliMUONTriggerBoard();
a5418161 22
03af98cb 23 /// virtual method for derivated classes
a5418161 24 virtual void Response() = 0;
25
03af98cb 26 /// virtual method for derivated classes
a5418161 27 virtual void Reset() = 0;
28
03af98cb 29 /// virtual method for derivated classes
edd00c2d 30 virtual void Scan(Option_t *option) const = 0;
a5418161 31
03af98cb 32 /// virtual method for derivated classes
edd00c2d 33 virtual void Resp(Option_t *option) const = 0;
a5418161 34
71a2d3aa 35 /// Return response
edd00c2d 36 virtual UShort_t GetResponse() const {return fResponse;}
a5418161 37
00d46f24 38 AliMUONTriggerBoard(const AliMUONTriggerBoard &rhs);
39 AliMUONTriggerBoard& operator=(const AliMUONTriggerBoard &rhs);
40
a5418161 41 protected:
e94ca7e2 42 Int_t fSlot; ///< SLOT NUMBER IN CRATE
43
44 UShort_t fResponse; ///< RESPONSE
45
69d7ac2e 46 ClassDef(AliMUONTriggerBoard,1) //Trigger board base class
a5418161 47};
48#endif
49