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);
32 virtual Int_t AddStickerTargets(TObjArray *pArray, TString stBaseName, Int_t lTargetMax = 9);
33 virtual Int_t AddGButtonTargets(TObjArray *pArray, TString btBaseName, Int_t lTargetMax = 9);
35 Int_t AddSurveyDetElem(Int_t lDetElemId);
36 /// Returns the number od detection elements of the chamber
37 Int_t GetNDetElem() const {return fNDetElem;}
38 AliMUONSurveyDetElem* GetDetElem(Int_t lDetElemIndex);
39 /// Returns the internal AliSurveyObj
40 AliSurveyObj* GetSurveyObj() const {return fSurveyObj;}
42 virtual void SetLocalTransformation(TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf = kFALSE);
44 void PrintSurveyReport();
46 void FillCPSTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa = 0);
47 void FillDESTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa = 0);
49 Double_t GetMeanDetElemAlignResX();
50 Double_t GetMeanDetElemAlignResY();
54 AliMUONSurveyChamber(const AliMUONSurveyChamber& right);
56 AliMUONSurveyChamber& operator = (const AliMUONSurveyChamber& right);
58 Int_t fChamberId; ///< Chamber Id
59 Int_t fNDetElem; ///< Number of detection elements
61 AliSurveyObj *fSurveyObj; ///< Survey object containing the measurment
62 TClonesArray *fSurveyDetElem; ///< Array of AliMUONSurveyDetElem
64 ClassDef(AliMUONSurveyChamber, 0) //Class for survey of muon spectrometer chambers