1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 /// \class AliMUONTriggerCrate
19 /// Collection of trigger boards
22 /// slot 0 holds the regional board
23 /// \author Rachid Guernane (LPCCFd)
25 #include <TObjArray.h>
27 #include "AliMUONTriggerBoard.h"
28 #include "AliMUONTriggerCrate.h"
30 ClassImp(AliMUONTriggerCrate)
32 //___________________________________________
33 AliMUONTriggerCrate::AliMUONTriggerCrate()
39 /// Default constructor
42 //___________________________________________
43 AliMUONTriggerCrate::~AliMUONTriggerCrate()
50 //___________________________________________
51 AliMUONTriggerCrate::AliMUONTriggerCrate(const char *name, Int_t n) :
52 TNamed(name,"Regional trigger crate"),
55 fBoards(new TObjArray(fNslots)),
58 /// Standard constructor
61 //___________________________________________
62 void AliMUONTriggerCrate::AddBoard(AliMUONTriggerBoard *board, Int_t i)
64 /// Add board in crate container
65 fBoards->AddAt(board,i);