AliRoot Core  ee782a0 (ee782a0)
AliMUONSurveyChamber.h
Go to the documentation of this file.
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 
9 //
10 // Authors: Javier Castillo
11 
12 #include "AliMUONSurveyObj.h"
13 
14 class TClonesArray;
15 class TH2;
16 
17 class AliSurveyObj;
18 
20 
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 
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);
34 
35  Int_t AddSurveyDetElem(Int_t lDetElemId);
37  Int_t GetNDetElem() const {return fNDetElem;}
38  AliMUONSurveyDetElem* GetDetElem(Int_t lDetElemIndex);
41 
42  virtual void SetLocalTransformation(TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf = kFALSE);
43 
44  void PrintSurveyReport();
45 
46  void FillCPSTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa = 0);
47  void FillDESTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa = 0);
48 
49  Double_t GetMeanDetElemAlignResX();
50  Double_t GetMeanDetElemAlignResY();
51 
52  private:
57 
58  Int_t fChamberId;
59  Int_t fNDetElem;
60 
62  TClonesArray *fSurveyDetElem;
63 
64 ClassDef(AliMUONSurveyChamber, 0) //Class for survey of muon spectrometer chambers
65 };
66 
67 #endif
void FillCPSTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa=0)
#define TObjArray
AliMUONSurveyChamber & operator=(const AliMUONSurveyChamber &right)
Not implemented.
Int_t fNDetElem
Number of detection elements.
AliMUONSurveyChamber(Int_t lChamberId)
virtual void SetLocalTransformation(TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf=kFALSE)
Set local transformation of geometrical element.
Int_t fChamberId
Chamber Id.
Int_t AddSurveyDetElem(Int_t lDetElemId)
Class for survey of detection elements of the muon spectrometer.
virtual Int_t AddStickerTargets(TString stBaseName, Int_t lTargetMax=9)
To be implemented in a concrete Chamber or DetElem class.
void FillDESTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa=0)
Class for survey of chambers (frames) of the muon spectrometer.
TClonesArray * fSurveyDetElem
Array of AliMUONSurveyDetElem.
Int_t GetNDetElem() const
Returns the number od detection elements of the chamber.
AliSurveyObj * GetSurveyObj() const
Returns the internal AliSurveyObj.
AliMUONSurveyDetElem * GetDetElem(Int_t lDetElemIndex)
virtual Int_t AddGButtonTargets(TString btBaseName, Int_t lTargetMax=9)
To be implemented in a concrete Chamber or DetElem class.
AliSurveyObj * fSurveyObj
Survey object containing the measurment.
Base class for survey of muon spectrometer.