1 #ifndef ALIMUONSURVEYCHAMBER_H
2 #define ALIMUONSURVEYCHAMBER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 /// \class AliMUONSurveyChamber
8 /// \brief Class for survey of chambers (frames) of the muon spectrometer
10 // Authors: Javier Castillo
12 #include "AliMUONSurveyObj.h"
19 class AliMUONSurveyDetElem;
21 class AliMUONSurveyChamber: public AliMUONSurveyObj
25 AliMUONSurveyChamber(Int_t lChamberId);
26 virtual ~AliMUONSurveyChamber();
28 virtual Int_t AddStickerTargets(TString stBaseName, Int_t lTargetMax = 9);
29 virtual Int_t AddGButtonTargets(TString btBaseName, Int_t lTargetMax = 9);
31 virtual Int_t AddStickerTargets(TObjArray *pArray, TString stBaseName, Int_t lTargetMax = 9);
32 virtual Int_t AddGButtonTargets(TObjArray *pArray, TString btBaseName, Int_t lTargetMax = 9);
34 Int_t AddSurveyDetElem(Int_t lDetElemId);
35 Int_t GetNDetElem() {return fNDetElem;}
36 AliMUONSurveyDetElem* GetDetElem(Int_t lDetElemIndex);
38 AliSurveyObj* GetSurveyObj() {return fSurveyObj;}
40 virtual void SetLocalTransformation(TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf = kFALSE);
42 void PrintSurveyReport();
44 void FillCPSTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa = 0);
45 void FillDESTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa = 0);
47 Double_t GetMeanDetElemAlignResX();
48 Double_t GetMeanDetElemAlignResY();
52 AliMUONSurveyChamber(const AliMUONSurveyChamber& right);
54 AliMUONSurveyChamber& operator = (const AliMUONSurveyChamber& right);
56 Int_t fChamberId; ///< Chamber Id
57 Int_t fNDetElem; ///< Number of detection elements
59 AliSurveyObj *fSurveyObj; ///< Survey object containing the measurment
60 TClonesArray *fSurveyDetElem; ///< Array of AliMUONSurveyDetElem
62 ClassDef(AliMUONSurveyChamber, 0) //Class for survey of muon spectrometer chambers