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