]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpFiles.h
Macro for checking the serial & bin number of the mounted manus
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpFiles.h
index a21a23e0b670d2f4d7c7039ec11480a46ccc0694..b73640594088def03736ea3479e38274508a873c 100755 (executable)
@@ -40,56 +40,66 @@ class AliMpFiles : public TObject
     // bus patch
     //
     static TString BusPatchFilePath(); 
+    static TString BusPatchLengthFilePath(); 
+    static TString BusPatchSpecialFilePath(); 
 
     // de names
     //
-    static TString DENamesFilePath(AliMpStationType stationType);
+    static TString DENamesFilePath(AliMp::StationType stationType);
 
     // trigger
     //
     static TString LocalTriggerBoardMapping();
-  
+    static TString GlobalTriggerBoardMapping();
+    
     // slats
     //
-    static TString SlatFilePath(AliMpStationType stationType, 
-                                const char* slatType, AliMpPlaneType plane);
-    static TString SlatPCBFilePath(AliMpStationType stationType, 
+    static TString SlatFilePath(AliMp::StationType stationType, 
+                                const char* slatType, AliMp::PlaneType plane);
+    static TString SlatPCBFilePath(AliMp::StationType stationType, 
                                 const char* pcbType);
     // sectors
     //
-    static TString SectorFilePath(AliMpStationType station, 
-                                  AliMpPlaneType plane);
-    static TString SectorSpecialFilePath(AliMpStationType station, 
-                                  AliMpPlaneType plane);
-    static TString SectorSpecialFilePath2(AliMpStationType station, 
-                                  AliMpPlaneType plane);
+    static TString SectorFilePath(AliMp::StationType station, 
+                                  AliMp::PlaneType plane);
+    static TString SectorSpecialFilePath(AliMp::StationType station, 
+                                  AliMp::PlaneType plane);
+    static TString SectorSpecialFilePath2(AliMp::StationType station, 
+                                  AliMp::PlaneType plane);
     // motifs
     //
-    static TString MotifFilePath(AliMpStationType station, 
-                                 AliMpPlaneType plane, 
+    static TString MotifFilePath(AliMp::StationType station, 
+                                 AliMp::PlaneType plane, 
                                  const TString& motifTypeID);
-    static TString MotifSpecialFilePath(AliMpStationType station,
-                                 AliMpPlaneType plane, const TString& motifID);
-    static TString PadPosFilePath(AliMpStationType station, 
-                                 AliMpPlaneType plane, const TString& motifTypeID);
-    static TString BergToGCFilePath(AliMpStationType station);
+    static TString MotifFileName(const TString& motifTypeID);
+    static TString MotifSpecialFilePath(AliMp::StationType station,
+                                 AliMp::PlaneType plane, const TString& motifID);
+    static TString MotifSpecialFileName(const TString& motifID);
+    static TString PadPosFilePath(AliMp::StationType station, 
+                                 AliMp::PlaneType plane, const TString& motifTypeID);
+    static TString PadPosFileName(const TString& motifTypeID);
 
-    static TString ManuToSerialPath(const TString& deName, AliMpStationType station);
+    static TString BergToGCFilePath(AliMp::StationType station);
+
+    static TString ManuToSerialPath(const TString& deName, AliMp::StationType station);
+
+    static TString SerialToBinFilePath();
 
-  
     // set methods
     static void SetTopPath(const TString& topPath);
   
   private: 
+    /// Not implemented
     AliMpFiles();
+    /// Not implemented
     AliMpFiles(const AliMpFiles& right);
-  
-    // operators
+    /// Not implemented
     AliMpFiles& operator=(const AliMpFiles& right);    
+
     // methods
     static TString GetTop();
-    static TString PlaneDataDir(AliMpStationType station, AliMpPlaneType plane); 
-    static TString StationDataDir(AliMpStationType station); 
+    static TString PlaneDataDir(AliMp::StationType station, AliMp::PlaneType plane); 
+    static TString StationDataDir(AliMp::StationType station); 
   
     // static data members  
     static const TString fgkDataDir;       ///< data directory
@@ -102,13 +112,18 @@ class AliMpFiles : public TObject
     static const TString fgkSectorSpecial2;///< sector special data file name
     static const TString fgkMotifPrefix;   ///< motif data file name
     static const TString fgkMotifSpecialPrefix; ///< special motif data file name 
+    static const TString fgkManuToSerialDir;///< manu to serial file directory
     static const TString fgkManuToSerial;  ///< manu to serial file name suffix
     static const TString fgkPadPosPrefix;  ///< pad position data file name
     static const TString fgkDataExt;       ///< file extension
     static const TString fgkBergToGCFileName;  ///< BergToGC mapping file name
     static const TString fgkTriggerLocalBoards;///<  local board name to id mapping
+    static const TString fgkTriggerGlobalBoards;///<  global board name to id mapping
     static const TString fgkBusPatchFileName;  ///< DetElemIdToBusPatch file name
-
+    static const TString fgkBusPatchLengthFileName;///< BusPatch length file name
+    static const TString fgkBusPatchSpecialFileName;///< BusPatch special file name
+    static const TString fgkSerialToBinFileName; //< serial to bin  number file name
+    
   ClassDef(AliMpFiles, 0) //File names and paths 
 };