1 #ifndef ALIMUONCHAMBER_H
2 #define ALIMUONCHAMBER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 // Revision of includes 07/05/2004
10 /// \class AliMUONChamber
11 /// \brief MUON tracking chamber class
13 /// Now only providing DisIntegration function
16 #include <TObjArray.h>
18 #include "AliMUONResponse.h"
24 class AliMUONChamber : public TObject
28 AliMUONChamber(Int_t id);
29 virtual ~AliMUONChamber();
32 virtual Int_t GetId() const {return fId;}
35 /// Set response model
36 virtual void SetResponseModel(const AliMUONResponse& thisResponse);
38 /// Get pointer to response model
39 virtual AliMUONResponse* &ResponseModel(){return fResponse;}
42 // Member function forwarding to the segmentation and response models
44 /// Calculate pulse height from energy loss
45 virtual Float_t IntPH(Float_t eloss) {return fResponse->IntPH(eloss);}
47 // Initialisation of charge fluctuation for given hit
48 virtual void ChargeCorrelationInit();
50 // Configuration forwarding
52 /// Define signal distribution region
53 /// by number of sigmas of the distribution function
54 virtual void SetSigmaIntegration(Float_t p1)
55 {fResponse->SetSigmaIntegration(p1);}
56 /// Set the single electron pulse-height (ADCchan/e)
57 virtual void SetChargeSlope(Float_t p1) {fResponse->SetChargeSlope(p1);}
58 /// Set width of charge distribution function
59 virtual void SetChargeSpread(Float_t p1, Float_t p2) {fResponse->SetChargeSpread(p1,p2);}
60 /// Set maximum ADC count value
61 virtual void SetMaxAdc(Int_t p1) {fResponse->SetMaxAdc(p1);}
63 /// Set charge correlation
64 virtual void SetChargeCorrel(Float_t correl) {fResponse->SetChargeCorrel(correl);}
68 AliMUONChamber(const AliMUONChamber & rChamber);
70 AliMUONChamber& operator =(const AliMUONChamber& rhs);
72 Int_t fId; ///< chamber number
73 Float_t fCurrentCorrel; //!< charge correlation for current hit.
75 AliMUONResponse *fResponse; ///< pointer to response
76 AliMUON *fMUON; ///< pointer to MUON
78 ClassDef(AliMUONChamber,3) // Muon tracking chamber class