]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliGeomManager.h
Added possibility to runthe TGeo overlap checker restricting it to misaligned volumes...
[u/mrichter/AliRoot.git] / STEER / AliGeomManager.h
index c3abfc7c28bd543b507b57c787893fd737bbbce2..6eb1d287eb1dad36dae5d4acc934e859c2ef392c 100644 (file)
@@ -36,7 +36,8 @@ public:
                kPHOS1=16, kPHOS2=17,
                kHMPID=18,
                kMUON=19,
-               kLastLayer=20};
+               kEMCAL=20,
+               kLastLayer=21};
 
   static TGeoManager* GetGeometry() { return fgGeometry; }
 
@@ -64,6 +65,8 @@ public:
   static Bool_t GetTranslation(Int_t index, Double_t t[3]);
   static Bool_t GetRotation(Int_t index, Double_t r[9]);
 
+  static Bool_t GetDeltaForBranch(AliAlignObj& aao, TGeoHMatrix &inclusiveD);
+  static Bool_t GetDeltaForBranch(Int_t index, TGeoHMatrix &inclusiveD);
   static TGeoHMatrix* GetOrigGlobalMatrix(Int_t index);
   static Bool_t GetOrigGlobalMatrix(const char *symname, TGeoHMatrix &m);
   static Bool_t GetOrigTranslation(Int_t index, Double_t t[3]);
@@ -74,8 +77,9 @@ public:
 
   static void        LoadGeometry(const char *geomFileName = NULL);
   static void        SetGeometry(TGeoManager *geom);
+  static void        CheckOverlapsOverPNs(Double_t threshold);  
 
-  static Bool_t         ApplyAlignObjsToGeom(TObjArray& alObjArray);
+  static Bool_t         ApplyAlignObjsToGeom(TObjArray& alObjArray, Bool_t ovlpcheck=kFALSE);
 
   static Bool_t         ApplyAlignObjsToGeom(const char* fileName,
                                      const char* clArrayName);
@@ -86,7 +90,6 @@ public:
                                      Int_t sversion);
   static Bool_t         ApplyAlignObjsToGeom(const char* detName, Int_t runnum, Int_t version,
                                      Int_t sversion);
-
   static Bool_t         ApplyAlignObjsFromCDB(const char* AlDetsList);
   static Bool_t         LoadAlignObjsFromCDBSingleDet(const char* detName, TObjArray& alignObjArray);