X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONChamber.h;h=5472bb4fe9bc3c6ee0d6e4169aaa31453082001c;hb=e4f80cd8939abda561b24d7f886037fa55f8e174;hp=22c1f14667ef853f55f1f52ca607c5f72d4159c4;hpb=953daa5acf9dc186f12f95bd70a758df9b1c45d4;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONChamber.h b/MUON/AliMUONChamber.h index 22c1f14667e..5472bb4fe9b 100644 --- a/MUON/AliMUONChamber.h +++ b/MUON/AliMUONChamber.h @@ -5,6 +5,10 @@ /* $Id$ */ // Revision of includes 07/05/2004 +// +/// \ingroup base +/// \class AliMUONChamber +/// \brief MUON tracking chamber class #include #include @@ -13,7 +17,6 @@ #include "AliMUONGeometrySegmentation.h" class AliMUONClusterFinderVS; -class AliMUONGeometryModule; class AliMUON; class AliMUONHit; @@ -25,108 +28,55 @@ class AliMUONChamber : public TObject AliMUONChamber(Int_t id); virtual ~AliMUONChamber(); -// -// Get chamber Id +/// Get chamber Id virtual Int_t GetId() const {return fId;} -// -// Get chamber Id - virtual Bool_t IsSensId(Int_t volId) const; -// Initialisation - virtual void Init(Int_t flag); -// Set z-position of chamber - virtual void SetZ(Float_t Z) {fZ = Z;} -// Get z-position of chamber - virtual Float_t Z() const {return fZ;} -// Set inner radius of sensitive volume - virtual void SetRInner(Float_t rmin) {frMin=rmin;} -// Set outer radius of sensitive volum - virtual void SetROuter(Float_t rmax) {frMax=rmax;} - -// Return inner radius of sensitive volume - virtual Float_t RInner() const {return frMin;} -// Return outer radius of sensitive volum - virtual Float_t ROuter() const {return frMax;} -// -// Set response model +/// Set response model virtual void SetResponseModel(AliMUONResponse* thisResponse) {fResponse=thisResponse;} -// -// Set segmentation model - virtual void SetSegmentationModel(Int_t isec, AliMUONGeometrySegmentation* thissegmentation) { - fSegmentation2->AddAt(thissegmentation,isec-1); - } -// -// Get pointer to response model + +/// Get pointer to response model virtual AliMUONResponse* &ResponseModel(){return fResponse;} -// -// Get reference to segmentation model - virtual AliMUONGeometrySegmentation* SegmentationModel2(Int_t isec) { - return (AliMUONGeometrySegmentation*) (*fSegmentation2)[isec-1]; - } // // Member function forwarding to the segmentation and response models // -// Calculate pulse height from energy loss +/// Calculate pulse height from energy loss virtual Float_t IntPH(Float_t eloss) {return fResponse->IntPH(eloss);} -// -// Ask segmentation if signal should be generated -// virtual Int_t SigGenCond(AliMUONHit* hit); -// -// Initialisation of segmentation for hit -// virtual void SigGenInit(AliMUONHit* hit); + // Initialisation of charge fluctuation for given hit virtual void ChargeCorrelationInit(); // Configuration forwarding // -// Define signal distribution region -// by number of sigmas of the distribution function +/// Define signal distribution region +/// by number of sigmas of the distribution function virtual void SetSigmaIntegration(Float_t p1) {fResponse->SetSigmaIntegration(p1);} -// Set the single electron pulse-height (ADCchan/e) +/// Set the single electron pulse-height (ADCchan/e) virtual void SetChargeSlope(Float_t p1) {fResponse->SetChargeSlope(p1);} -// Set width of charge distribution function +/// Set width of charge distribution function virtual void SetChargeSpread(Float_t p1, Float_t p2) {fResponse->SetChargeSpread(p1,p2);} -// Set maximum ADC count value +/// Set maximum ADC count value virtual void SetMaxAdc(Int_t p1) {fResponse->SetMaxAdc(p1);} // // Cluster formation method (charge disintegration) virtual void DisIntegration(AliMUONHit* hit, Int_t& x, Float_t newclust[6][500]); -// Initialize geometry related parameters - virtual void InitGeo(Float_t z); -// - virtual Float_t DGas() const {return fdGas;} - virtual Float_t DAlu() const {return fdAlu;} - virtual void SetDGas(Float_t DGas) {fdGas = DGas;} - virtual void SetDAlu(Float_t DAlu) {fdAlu = DAlu;} +/// Set charge correlation virtual void SetChargeCorrel(Float_t correl) {fResponse->SetChargeCorrel(correl);} -// geometry - void SetGeometry(AliMUONGeometryModule* geometry) {fGeometry = geometry;} - AliMUONGeometryModule* GetGeometry() const {return fGeometry; } - - protected: AliMUONChamber(const AliMUONChamber & rChamber); // assignment operator AliMUONChamber& operator =(const AliMUONChamber& rhs); - Int_t fId; // chamber number - Float_t fdGas; // half gaz gap - Float_t fdAlu; // half Alu width - Float_t fZ; // Z position (cm) - Float_t frMin; // innermost sensitive radius - Float_t frMax; // outermost sensitive radius - Float_t fCurrentCorrel; //! charge correlation for current hit. + Int_t fId; ///< chamber number + Float_t fCurrentCorrel; //!< charge correlation for current hit. - TObjArray *fSegmentation2; // pointer to geometry segmentation bending & NBending + AliMUONResponse *fResponse; ///< pointer to response + AliMUON *fMUON; ///< pointer to MUON - AliMUONResponse *fResponse; // pointer to response - AliMUONGeometryModule *fGeometry; // pointer to geometry - AliMUON *fMUON; // pointer to MUON ClassDef(AliMUONChamber,3) // Muon tracking chamber class };