ROOT logo
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */

/// \ingroup sim
/// \class AliMUONResponseFactory
/// \brief Factory for muon response
///
/// Factory for building response, separated from AliMUONFactoryV4

#ifndef ALI_MUON_RESPONSE_FACTORY_H
#define ALI_MUON_RESPONSE_FACTORY_H

#include <TObject.h>
#include <TNamed.h>

class AliMUON;
class AliMUONResponseV0;

class AliMUONResponseFactory : public  TNamed {

  public:
    AliMUONResponseFactory(const char* name, Bool_t isTailEffect);
    AliMUONResponseFactory();
    virtual ~AliMUONResponseFactory();
    
    void Build(AliMUON* where);
    void BuildStation(AliMUON* where, Int_t stationNumber);

  private:
    /// Not implemented
    AliMUONResponseFactory(const AliMUONResponseFactory& rhs);
    /// Not implemented
    AliMUONResponseFactory& operator=(const AliMUONResponseFactory& rhs);

    void BuildCommon();
    void BuildStation1();
    void BuildStation2();
    void BuildStation3();
    void BuildStation4();
    void BuildStation5();
    void BuildStation6();
    
    // data members	
    AliMUON*           fMUON;        ///< MUON detector 
    AliMUONResponseV0* fResponse0;   ///< default response 
    Bool_t             fIsTailEffect;///< switch to turn on/off the tail effect

  ClassDef(AliMUONResponseFactory,0)  // MUON Factory for Chambers and Segmentation
};

#endif //ALI_MUON_RESPONSE_FACTORY_H















 AliMUONResponseFactory.h:1
 AliMUONResponseFactory.h:2
 AliMUONResponseFactory.h:3
 AliMUONResponseFactory.h:4
 AliMUONResponseFactory.h:5
 AliMUONResponseFactory.h:6
 AliMUONResponseFactory.h:7
 AliMUONResponseFactory.h:8
 AliMUONResponseFactory.h:9
 AliMUONResponseFactory.h:10
 AliMUONResponseFactory.h:11
 AliMUONResponseFactory.h:12
 AliMUONResponseFactory.h:13
 AliMUONResponseFactory.h:14
 AliMUONResponseFactory.h:15
 AliMUONResponseFactory.h:16
 AliMUONResponseFactory.h:17
 AliMUONResponseFactory.h:18
 AliMUONResponseFactory.h:19
 AliMUONResponseFactory.h:20
 AliMUONResponseFactory.h:21
 AliMUONResponseFactory.h:22
 AliMUONResponseFactory.h:23
 AliMUONResponseFactory.h:24
 AliMUONResponseFactory.h:25
 AliMUONResponseFactory.h:26
 AliMUONResponseFactory.h:27
 AliMUONResponseFactory.h:28
 AliMUONResponseFactory.h:29
 AliMUONResponseFactory.h:30
 AliMUONResponseFactory.h:31
 AliMUONResponseFactory.h:32
 AliMUONResponseFactory.h:33
 AliMUONResponseFactory.h:34
 AliMUONResponseFactory.h:35
 AliMUONResponseFactory.h:36
 AliMUONResponseFactory.h:37
 AliMUONResponseFactory.h:38
 AliMUONResponseFactory.h:39
 AliMUONResponseFactory.h:40
 AliMUONResponseFactory.h:41
 AliMUONResponseFactory.h:42
 AliMUONResponseFactory.h:43
 AliMUONResponseFactory.h:44
 AliMUONResponseFactory.h:45
 AliMUONResponseFactory.h:46
 AliMUONResponseFactory.h:47
 AliMUONResponseFactory.h:48
 AliMUONResponseFactory.h:49
 AliMUONResponseFactory.h:50
 AliMUONResponseFactory.h:51
 AliMUONResponseFactory.h:52
 AliMUONResponseFactory.h:53
 AliMUONResponseFactory.h:54
 AliMUONResponseFactory.h:55
 AliMUONResponseFactory.h:56
 AliMUONResponseFactory.h:57
 AliMUONResponseFactory.h:58
 AliMUONResponseFactory.h:59
 AliMUONResponseFactory.h:60
 AliMUONResponseFactory.h:61
 AliMUONResponseFactory.h:62
 AliMUONResponseFactory.h:63
 AliMUONResponseFactory.h:64
 AliMUONResponseFactory.h:65
 AliMUONResponseFactory.h:66
 AliMUONResponseFactory.h:67
 AliMUONResponseFactory.h:68