]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/macros/testMotifTypeIterators.C
- All mapping enums within namespace (AliMp).
[u/mrichter/AliRoot.git] / MUON / mapping / macros / testMotifTypeIterators.C
index 2c2d998d1e54882fd5f5bd6212730f78343f6ae0..65a188a92d13d5be0951b94d22f5c59d20cec3f3 100644 (file)
@@ -3,20 +3,20 @@
 //
 // Test macro for reading motif type data and iterate over them.
 
-void testMotifTypeIterators(AliMpStationType station = kStation1,
-                            AliMpPlaneType plane = kBendingPlane,
+void testMotifTypeIterators(AliMp::StationType station = AliMp::kStation1,
+                            AliMp::PlaneType plane = AliMp::kBendingPlane,
                            Bool_t rootInput = false)
 {
   TString names;
   TString names2;
   Int_t nv =0;
-  if ( station == kStation1 )
-    if ( plane == kBendingPlane ) 
+  if ( station == AliMp::kStation1 )
+    if ( plane == AliMp::kBendingPlane ) 
       names ="ABCDEFGHI";
     else
       names = "ABCDEFGHIJKLMN";
-  else if ( station == kStation2 ) 
-    if ( plane == kBendingPlane ) {
+  else if ( station == AliMp::kStation2 ) 
+    if ( plane == AliMp::kBendingPlane ) {
       names ="ABCDEFGHIJKLMNOPQRSTUVWXY";
       names2 ="abcdefghimnptuvvvvv";
       nv = 5;