]>
Commit | Line | Data |
---|---|---|
ba030c0e | 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$ */ | |
30178c30 | 7 | // Revision of includes 07/05/2004 |
ba030c0e | 8 | |
692de412 | 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 | |
ba030c0e | 19 | |
20 | #include <TObject.h> | |
21 | #include <TList.h> | |
3c25381f | 22 | |
23 | class AliMpPad; | |
ba030c0e | 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); | |
5f91c9e8 | 36 | Bool_t Contains(const AliMpPad& pad) const; |
ba030c0e | 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 |