]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONSurveyChamber.h
bug fixed
[u/mrichter/AliRoot.git] / MUON / AliMUONSurveyChamber.h
CommitLineData
ba8b0266 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 */
5
6/// \ingroup geometry
7/// \class AliMUONSurveyChamber
8/// \brief Class for survey of chambers (frames) of the muon spectrometer
9//
10// Authors: Javier Castillo
11
12#include "AliMUONSurveyObj.h"
13
14class TClonesArray;
15class TH2;
16
17class AliSurveyObj;
18
19class AliMUONSurveyDetElem;
20
21class AliMUONSurveyChamber: public AliMUONSurveyObj
22{
23
24 public:
25 AliMUONSurveyChamber(Int_t lChamberId);
26 virtual ~AliMUONSurveyChamber();
27
28 virtual Int_t AddStickerTargets(TString stBaseName, Int_t lTargetMax = 9);
29 virtual Int_t AddGButtonTargets(TString btBaseName, Int_t lTargetMax = 9);
30
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);
33
34 Int_t AddSurveyDetElem(Int_t lDetElemId);
35 Int_t GetNDetElem() {return fNDetElem;}
36 AliMUONSurveyDetElem* GetDetElem(Int_t lDetElemIndex);
37
38 AliSurveyObj* GetSurveyObj() {return fSurveyObj;}
39
40 virtual void SetLocalTransformation(TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf = kFALSE);
41
42 void PrintSurveyReport();
43
44 void FillCPSTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa = 0);
45 void FillDESTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa = 0);
46
47 Double_t GetMeanDetElemAlignResX();
48 Double_t GetMeanDetElemAlignResY();
49
50 private:
51 /// Not implemented
52 AliMUONSurveyChamber(const AliMUONSurveyChamber& right);
53 /// Not implemented
54 AliMUONSurveyChamber& operator = (const AliMUONSurveyChamber& right);
55
56 Int_t fChamberId; ///< Chamber Id
57 Int_t fNDetElem; ///< Number of detection elements
58
59 AliSurveyObj *fSurveyObj; ///< Survey object containing the measurment
60 TClonesArray *fSurveyDetElem; ///< Array of AliMUONSurveyDetElem
61
62ClassDef(AliMUONSurveyChamber, 0) //Class for survey of muon spectrometer chambers
63};
64
65#endif