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 //*-- Author: Rachid Guernane (LPCCFd)
19 // COLLECTION OF TRIGGER BOARDS
22 // SLOT 0 HOLDS THE REGIONAL BOARD
24 #include <TObjArray.h>
26 #include "AliMUONTriggerBoard.h"
27 #include "AliMUONTriggerCrate.h"
29 ClassImp(AliMUONTriggerCrate)
31 //___________________________________________
32 AliMUONTriggerCrate::AliMUONTriggerCrate()
41 //___________________________________________
42 AliMUONTriggerCrate::~AliMUONTriggerCrate()
47 //___________________________________________
48 AliMUONTriggerCrate::AliMUONTriggerCrate(const char *name, Int_t n) :
49 TNamed(name,"Regional trigger crate"),
52 fBoards(new TObjArray(fNslots)),
57 //___________________________________________
58 void AliMUONTriggerCrate::AddBoard(AliMUONTriggerBoard *board, Int_t i)
60 // ADD BOARD IN CRATE CONTAINER
61 fBoards->AddAt(board,i);
65 //___________________________________________
66 AliMUONTriggerCrate::AliMUONTriggerCrate(const AliMUONTriggerCrate &crate)
68 fNslots(crate.fNslots),
69 fNboards(crate.fNboards),
70 fBoards(crate.fBoards),
71 fSourceFileName(crate.fSourceFileName)
78 //___________________________________________
79 AliMUONTriggerCrate& AliMUONTriggerCrate::operator=(const AliMUONTriggerCrate &rhs)
86 //___________________________________________
87 void AliMUONTriggerCrate::Copy(TObject&) const
89 Fatal("Copy","Not implemented!\n");