]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONSt1ResponseRule.h
get tables from the aliroot directory if they are not in the current one
[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$ */
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>
3c25381f 19
20class AliMpPad;
ba030c0e 21
22class AliMUONSt1ElectronicElement;
23class AliMUONSt1ResponseParameter;
24
25class AliMUONSt1ResponseRule : public TObject
26{
27 public:
28 AliMUONSt1ResponseRule();
29 virtual ~AliMUONSt1ResponseRule();
30
31 void AddElement(AliMUONSt1ElectronicElement* element);
32 void AddParameter(AliMUONSt1ResponseParameter* param);
5f91c9e8 33 Bool_t Contains(const AliMpPad& pad) const;
ba030c0e 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