]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONSt1ResponseRule.h
Move to new mapping
[u/mrichter/AliRoot.git] / MUON / AliMUONSt1ResponseRule.h
1 #ifndef ALI_MUON_ST1_RESPONSE_RULE_H
2 #define ALI_MUON_ST1_RESPONSE_RULE_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 // Revision of includes 07/05/2004
8
9 /// \ingroup sim
10 /// \class AliMUONSt1ResponseRule
11 /// \brief Describes a response rule
12 ///
13 /// Describes a response rule.
14 /// A "rule" is defined as being a set of electronic filters to be applied 
15 /// (ie. a set of AliMUONSt1ResponseParameter) and a set of cathode pads to 
16 /// which these filters should be applied (set of AliMUONSt1ElectronicElement)
17 ///
18 /// Authors: David Guez, Ivana Hrivnacova, Marion MacCormick; IPN Orsay
19
20 #include <TObject.h>
21 #include <TList.h>
22
23 class AliMpPad;
24
25 class AliMUONSt1ElectronicElement;
26 class AliMUONSt1ResponseParameter;
27
28 class AliMUONSt1ResponseRule : public TObject 
29 {
30   public:
31     AliMUONSt1ResponseRule();
32     virtual ~AliMUONSt1ResponseRule();
33   
34     void   AddElement(AliMUONSt1ElectronicElement* element);
35     void   AddParameter(AliMUONSt1ResponseParameter* param);
36     Bool_t Contains(const AliMpPad& pad) const;
37     TList* GetParameters() {return &fParameters;}
38
39   private:
40     TList  fElementList;// list of electronic elements to which this rule is applied
41     TList  fParameters; // parameters for this rule
42
43   ClassDef(AliMUONSt1ResponseRule,1) // A set of electronic elements and the linked electronic parameters 
44 };
45
46 #endif //ALI_MUON_ST1_RESPONSE_RULE_H