Commit of new FMD3 geometry and other geometry related issues.
[u/mrichter/AliRoot.git] / FMD / scripts / CheckOverlaps.C
index d9f12bd4fe080329cb68d3524dd125ad71e59a8d..37f80f837fe042c9709cdee3480a1887f23f79b3 100644 (file)
@@ -1,9 +1,10 @@
 void
-CheckOverlaps(Bool_t align=kTRUE, Bool_t sample=kTRUE)
+CheckOverlaps(const char* file="geometry.root", 
+             Bool_t align=kFALSE, Bool_t sample=kTRUE)
 {
   TObjArray* checked = new TObjArray();
   
-  AliGeomManager::LoadGeometry("geometry.root");
+  AliGeomManager::LoadGeometry(file);
   if (align)
     AliGeomManager::ApplyAlignObjsToGeom("FMDfullMisalignment.root", 
                                         "FMDAlignment");