Code for MUON Station1 (I.Hrivnacova)
[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>
5f91c9e8 19#include "AliMpPad.h"
ba030c0e 20
21class AliMUONSt1ElectronicElement;
22class AliMUONSt1ResponseParameter;
23
24class AliMUONSt1ResponseRule : public TObject
25{
26 public:
27 AliMUONSt1ResponseRule();
28 virtual ~AliMUONSt1ResponseRule();
29
30 void AddElement(AliMUONSt1ElectronicElement* element);
31 void AddParameter(AliMUONSt1ResponseParameter* param);
5f91c9e8 32 Bool_t Contains(const AliMpPad& pad) const;
ba030c0e 33 TList* GetParameters() {return &fParameters;}
34
35 private:
36 TList fElementList;// list of electronic elements to which this rule is applied
37 TList fParameters; // parameters for this rule
38
39 ClassDef(AliMUONSt1ResponseRule,1) // A set of electronic elements and the linked electronic parameters
40};
41
42#endif //ALI_MUON_ST1_RESPONSE_RULE_H