AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTriggerCrate.h
Go to the documentation of this file.
1 #ifndef ALIMUONTRIGGERCRATE_H
2 #define ALIMUONTRIGGERCRATE_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 
12 // Author Rachid Guernane (LPCCFd)
13 
14 #include <TNamed.h>
15 
17 class TObjArray;
18 
19 class AliMUONTriggerCrate : public TNamed
20 {
21  public:
23  AliMUONTriggerCrate(const char *name, Int_t n = 17); // 16 + 1
24  virtual ~AliMUONTriggerCrate();
25 
27  virtual void SetDataSource(TString SourceFile) {fSourceFileName = SourceFile;}
28 
29  virtual void AddBoard(AliMUONTriggerBoard *board, Int_t i);
30 
32  virtual TObjArray* Boards() {return fBoards;}
33 
34 
35 
36  private:
41 
42  Int_t fNslots;
43  Int_t fNboards;
44 
46  TString fSourceFileName;
47 
48  ClassDef(AliMUONTriggerCrate,1) //Trigger Crate
49 };
50 #endif
#define TObjArray
virtual void SetDataSource(TString SourceFile)
Crate config from ascii file.
virtual void AddBoard(AliMUONTriggerBoard *board, Int_t i)
Trigger board base class.
TString fSourceFileName
Source file.
Int_t fNboards
Number of boards.
TObjArray * fBoards
Pointer to board objects.
virtual TObjArray * Boards()
Return pointer to board objects.
AliMUONTriggerCrate & operator=(const AliMUONTriggerCrate &rhs)
Not implemented.
Int_t fNslots
Number of slots.