Updates to AddTask macro from Chris
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerCrate.h
CommitLineData
3772c90a 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
c1975ba7 8/// \ingroup trigger
edd00c2d 9/// \class AliMUONTriggerCrate
10/// \brief Trigger Crate
11///
71a2d3aa 12// Author Rachid Guernane (LPCCFd)
3772c90a 13
14#include <TNamed.h>
3772c90a 15
16class AliMUONTriggerBoard;
edd00c2d 17class TObjArray;
3772c90a 18
19class AliMUONTriggerCrate : public TNamed
20{
21 public:
3772c90a 22 AliMUONTriggerCrate();
3772c90a 23 AliMUONTriggerCrate(const char *name, Int_t n = 17); // 16 + 1
24 virtual ~AliMUONTriggerCrate();
25
71a2d3aa 26 /// Crate config from ascii file
3772c90a 27 virtual void SetDataSource(TString SourceFile) {fSourceFileName = SourceFile;}
28
29 virtual void AddBoard(AliMUONTriggerBoard *board, Int_t i);
30
71a2d3aa 31 /// Return pointer to board objects
3772c90a 32 virtual TObjArray* Boards() {return fBoards;}
33
3772c90a 34
3772c90a 35
36 private:
71a2d3aa 37 /// Not implemented
38 AliMUONTriggerCrate(const AliMUONTriggerCrate &entry);
39 /// Not implemented
40 AliMUONTriggerCrate& operator=(const AliMUONTriggerCrate &rhs);
3772c90a 41
71a2d3aa 42 Int_t fNslots; ///< Number of slots
43 Int_t fNboards; ///< Number of boards
3772c90a 44
71a2d3aa 45 TObjArray *fBoards; ///< Pointer to board objects
46 TString fSourceFileName; ///< Source file
3772c90a 47
69d7ac2e 48 ClassDef(AliMUONTriggerCrate,1) //Trigger Crate
3772c90a 49};
50#endif