AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTriggerCrateStore.h
Go to the documentation of this file.
1 #ifndef ALIMUONTRIGGERCRATESTORE_H
2 #define ALIMUONTRIGGERCRATESTORE_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 
7 // $Id$
8 
13 // Author Laurent Aphecetche
14 
15 #ifndef ROOT_TObject
16 # include "TObject.h"
17 #endif
18 
19 #include "TString.h"
20 
23 class AliMpExMap;
24 class TIterator;
26 
27 class AliMUONTriggerCrateStore : public TObject
28 {
29 public:
31  virtual ~AliMUONTriggerCrateStore();
32 
33  Int_t NumberOfCrates() const;
34 
35  AliMUONTriggerCrate* Crate(const char* crateName) const;
36  AliMUONTriggerCrate* Crate(Int_t ddl, Int_t reg) const;
37 
38  Int_t NumberOfLocalBoards() const;
39 
40  AliMUONLocalTriggerBoard* LocalBoard(Int_t boardNumber) const;
41 
43  TIterator* CreateCrateIterator() const;
44 
45  TIterator* CreateLocalBoardIterator() const;
46 
47 protected:
52 
53 private:
54  void AddCrate(const char* crateName);
55 
56 private:
59 
60  TString GetCrateName(Int_t ddl, Int_t reg) const;
61 
62  ClassDef(AliMUONTriggerCrateStore,2) // Reader for CRATE.TXT file
63 };
64 
65 #endif
void ReadFromFile(AliMUONCalibrationData *calibData)
AliMUONLocalTriggerBoard * LocalBoard(Int_t boardNumber) const
TString GetCrateName(Int_t ddl, Int_t reg) const
TIterator * CreateCrateIterator() const
A container for AliMUONTriggerCrate objects.
AliMpExMap * fCrates
list of crates
Implementation of local trigger board objects.
AliMpExMap * fLocalBoards
local boards (indexed by their number)
void AddCrate(const char *crateName)
AliMUONCalibrationData * calibData
Single entry point to access MUON calibration data.
TIterator * CreateLocalBoardIterator() const
AliMUONTriggerCrate * Crate(const char *crateName) const
Helper class making Root persistent TExMap.
Definition: AliMpExMap.h:28
AliMUONTriggerCrateStore & operator=(const AliMUONTriggerCrateStore &rhs)
Not implemented.