]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONSurveyDetElem.h
https://savannah.cern.ch/bugs/index.php?98544
[u/mrichter/AliRoot.git] / MUON / AliMUONSurveyDetElem.h
1 #ifndef ALIMUONSURVEYDETELEM_H
2 #define ALIMUONSURVEYDETELEM_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 AliMUONSurveyDetElem
8 /// \brief Class for survey of detection elements of the muon spectrometer
9 //
10 // Author: Javier Castillo
11
12 #include "AliMUONSurveyObj.h"
13
14 class AliMUONSurveyChamber;
15
16 class AliMUONSurveyDetElem:public AliMUONSurveyObj
17 {
18
19  public:
20   AliMUONSurveyDetElem(Int_t lDetElemId);
21   AliMUONSurveyDetElem(Int_t lDetElemId, AliMUONSurveyChamber *lSurveyChamber);
22
23   virtual Int_t AddStickerTargets(TString stBaseName, Int_t lTargetMax = 9);
24   virtual Int_t AddGButtonTargets(TString btBaseName, Int_t lTargetMax = 9);
25
26   virtual Int_t AddStickerTargets(TObjArray *pArray, TString stBaseName, Int_t lTargetMax = 9);
27   virtual Int_t AddGButtonTargets(TObjArray *pArray, TString btBaseName, Int_t lTargetMax = 9);
28
29   virtual ~AliMUONSurveyDetElem();
30  
31   virtual void SetLocalTransformation(TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf = kFALSE);
32
33   virtual void PrintLocalTrf();
34   virtual void PrintAlignTrf();
35
36  private:
37   /// Not implemented
38   AliMUONSurveyDetElem(const AliMUONSurveyDetElem& right);
39   /// Not implemented
40   AliMUONSurveyDetElem&  operator = (const AliMUONSurveyDetElem& right);
41
42   Int_t fDetElemId;   ///< Detection element id
43   AliMUONSurveyChamber *fSurveyChamber;  ///< Pointer to mother survey chamber object
44
45
46 ClassDef(AliMUONSurveyDetElem, 0) //Class for survey det. elem. of muon spectrometer
47 };
48
49 #endif