]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONResponseFactory.h
Adding 4 new QA histos:
[u/mrichter/AliRoot.git] / MUON / AliMUONResponseFactory.h
CommitLineData
61b8353b 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4/* $Id$ */
5
6/// \ingroup sim
7/// \class AliMUONResponseFactory
8/// \brief Factory for muon response
9///
10/// Factory for building response, separated from AliMUONFactoryV4
11
12#ifndef ALI_MUON_RESPONSE_FACTORY_H
13#define ALI_MUON_RESPONSE_FACTORY_H
14
15#include <TObject.h>
16#include <TNamed.h>
17
18class AliMUON;
61b8353b 19class AliMUONResponseV0;
20
21class AliMUONResponseFactory : public TNamed {
22
23 public:
c103f454 24 AliMUONResponseFactory(const char* name, Bool_t isTailEffect);
61b8353b 25 AliMUONResponseFactory();
26 virtual ~AliMUONResponseFactory();
27
28 void Build(AliMUON* where);
29 void BuildStation(AliMUON* where, Int_t stationNumber);
30
b42c2a93 31 private:
71a2d3aa 32 /// Not implemented
61b8353b 33 AliMUONResponseFactory(const AliMUONResponseFactory& rhs);
71a2d3aa 34 /// Not implemented
61b8353b 35 AliMUONResponseFactory& operator=(const AliMUONResponseFactory& rhs);
36
61b8353b 37 void BuildCommon();
38 void BuildStation1();
39 void BuildStation2();
40 void BuildStation3();
41 void BuildStation4();
42 void BuildStation5();
43 void BuildStation6();
44
45 // data members
c103f454 46 AliMUON* fMUON; ///< MUON detector
47 AliMUONResponseV0* fResponse0; ///< default response
48 Bool_t fIsTailEffect;///< switch to turn on/off the tail effect
61b8353b 49
50 ClassDef(AliMUONResponseFactory,0) // MUON Factory for Chambers and Segmentation
51};
52
53#endif //ALI_MUON_RESPONSE_FACTORY_H
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68