From Laurent:
[u/mrichter/AliRoot.git] / MUON / AliMUONSt1ResponseRule.h
CommitLineData
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
9// Authors: David Guez, Ivana Hrivnacova, Marion MacCormick; IPN Orsay
10//
11// Class AliMUONSt1ResponseRule
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#include <TObject.h>
19#include <TList.h>
3c25381f 20
21class AliMpPad;
ba030c0e 22
23class AliMUONSt1ElectronicElement;
24class AliMUONSt1ResponseParameter;
25
26class AliMUONSt1ResponseRule : public TObject
27{
28 public:
29 AliMUONSt1ResponseRule();
30 virtual ~AliMUONSt1ResponseRule();
31
32 void AddElement(AliMUONSt1ElectronicElement* element);
33 void AddParameter(AliMUONSt1ResponseParameter* param);
5f91c9e8 34 Bool_t Contains(const AliMpPad& pad) const;
ba030c0e 35 TList* GetParameters() {return &fParameters;}
36
37 private:
38 TList fElementList;// list of electronic elements to which this rule is applied
39 TList fParameters; // parameters for this rule
40
41 ClassDef(AliMUONSt1ResponseRule,1) // A set of electronic elements and the linked electronic parameters
42};
43
44#endif //ALI_MUON_ST1_RESPONSE_RULE_H