26 #include <TClonesArray.h>
27 #include <TObjString.h>
32 #include "AliSurveyObj.h"
33 #include "AliSurveyPoint.h"
44 , fChamberId(lChamberId)
50 fSurveyObj =
new AliSurveyObj();
51 fSurveyDetElem =
new TClonesArray(
"AliMUONSurveyDetElem",4);
73 if (lDetElemIndex<0||(lDetElemIndex>=
fNDetElem)) {
89 AliError(
"Survey data is missing!");
103 AliError(
"Survey data is missing!");
130 for (Int_t i = 0; i < colNames->GetEntries(); ++i)
131 printf(
" Column %d --> \"%s\"\n", i, ((TObjString *) colNames->At(i))->GetString().Data());
137 for (Int_t i = 0; i < points->GetEntries(); ++i)
138 printf(
" Point %d --> \"%s\" %s \n", i, ((AliSurveyPoint *) points->At(i))->GetPointName().Data(), points->At(i)->GetName());
144 if(baseNameC.IsNull()||!hCPSTc){
145 AliError(
"Need base name for points on side C and/or a histogram for them!");
160 Double_t alignResX = 0.;
165 AliError(
"This Chamber has 0 detection elements!");
173 Double_t alignResY = 0.;
178 AliError(
"This Chamber has 0 detection elements!");
void FillCPSTHistograms(TString baseNameC, TH2 *hCPSTc, TString baseNameA="", TH2 *hCPSTa=0)
printf("Chi2/npoints = %f\n", TMath::Sqrt(chi2/npoints))
virtual Int_t AddGButtonTargets(TObjArray *pArray, TString btBaseName, Int_t lTargetMax=9)
void FillSTHistograms(TString baseNameC, TH2 *hSTc, TString baseNameA="", TH2 *hSTa=0)
Int_t fNDetElem
Number of detection elements.
virtual void SetLocalTransformation(TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf=kFALSE)
Set local transformation of geometrical element.
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.
void SetBaseTransformation(TGeoCombiTrans *baseTrf, Bool_t ownerBaseTrf=kFALSE)
Set transformation of geoemtrical element.
virtual Int_t AddStickerTargets(TObjArray *pArray, TString stBaseName, Int_t lTargetMax=9)
TClonesArray * fSurveyDetElem
Array of AliMUONSurveyDetElem.
Double_t GetMeanDetElemAlignResX()
Int_t GetNDetElem() const
Returns the number od detection elements of the chamber.
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.
virtual void SetLocalTransformation(TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf=kFALSE)
Set local transformation of geometrical element.
AliSurveyObj * fSurveyObj
Survey object containing the measurment.
Base class for survey of muon spectrometer.
virtual ~AliMUONSurveyChamber()
Double_t GetMeanDetElemAlignResY()