]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONSurveyDetElem.h
Using GRP instead of local setters. Creation of AOD for from the RAW ESDs. No need...
[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 <TObject.h>
13 #include "AliMUONSurveyObj.h"
14
15 class AliMUONSurveyChamber;
16
17 class AliMUONSurveyDetElem:public AliMUONSurveyObj
18 {
19
20  public:
21   AliMUONSurveyDetElem(Int_t lDetElemId);
22   AliMUONSurveyDetElem(Int_t lDetElemId, AliMUONSurveyChamber *lSurveyChamber);
23
24   virtual Int_t AddStickerTargets(TString stBaseName, Int_t lTargetMax = 9);
25   virtual Int_t AddGButtonTargets(TString btBaseName, Int_t lTargetMax = 9);
26
27   virtual Int_t AddStickerTargets(TObjArray *pArray, TString stBaseName, Int_t lTargetMax = 9);
28   virtual Int_t AddGButtonTargets(TObjArray *pArray, TString btBaseName, Int_t lTargetMax = 9);
29
30   virtual ~AliMUONSurveyDetElem();
31  
32   virtual void SetLocalTransformation(TGeoCombiTrans *localTrf, Bool_t ownerLocalTrf = kFALSE);
33
34   virtual void PrintLocalTrf();
35   virtual void PrintAlignTrf();
36
37  private:
38   /// Not implemented
39   AliMUONSurveyDetElem(const AliMUONSurveyDetElem& right);
40   // Not implemented
41   AliMUONSurveyDetElem&  operator = (const AliMUONSurveyDetElem& right);
42
43   Int_t fDetElemId;   ///< Detection element id
44   AliMUONSurveyChamber *fSurveyChamber;  ///< Pointer to mother survey chamber object
45
46
47 ClassDef(AliMUONSurveyDetElem, 0) //Class for survey det. elem. of muon spectrometer
48 };
49
50 #endif