]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpFiles.h
- Added Global Crate object
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpFiles.h
index baff9b579b7319411fccef8916ea542226b7bb02..6bdb088644a2570dc654d874ac3aa422dc2b13e0 100755 (executable)
@@ -2,7 +2,7 @@
  * See cxx source for full Copyright notice                               */
 
 // $Id$
-// $MpId: AliMpFiles.h,v 1.8 2006/03/17 11:34:29 ivana Exp $
+// $MpId: AliMpFiles.h,v 1.10 2006/05/24 13:58:07 ivana Exp $
 
 /// \ingroup basic
 /// \class AliMpFiles
@@ -13,7 +13,7 @@
 /// - motif*.dat   - motif description (generated from Exceed)
 /// - padPos*.dat  - pad positions in motif
 ///
-/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+/// \author David Guez, Ivana Hrivnacova; IPN Orsay
 
 #ifndef ALI_MP_FILES_H
 #define ALI_MP_FILES_H
@@ -40,73 +40,85 @@ class AliMpFiles : public TObject
     // bus patch
     //
     static TString BusPatchFilePath(); 
+    static TString BusPatchLengthFilePath(); 
 
     // 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 BergToGCFilePath(AliMp::StationType station);
+
+    static TString ManuToSerialPath(const TString& deName, AliMp::StationType station);
+
   
     // set methods
     static void SetTopPath(const TString& topPath);
   
-  protected:
+  private: 
+    /// Not implemented
     AliMpFiles();
+    /// Not implemented
     AliMpFiles(const AliMpFiles& right);
-  
-    // operators
+    /// Not implemented
     AliMpFiles& operator=(const AliMpFiles& right);    
-  
-  private: 
+
     // 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
-    static const TString fgkStationDir;    //station directory
-    static const TString fgkBendingDir;    //bending plane directory
-    static const TString fgkNonBendingDir; //non-bending plane directory
-    static const TString fgkDENames;       //DE names data file name
-    static const TString fgkSector;        //sector data file name
-    static const TString fgkSectorSpecial; //sector special data file name
-    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 fgkPadPosPrefix;  //pad position data file name
-    static const TString fgkDataExt;       //file extension
-    static const TString fgkBergToGCFileName;  //BergToGC mapping filr name
-    static const TString fgkTriggerLocalBoards;// local board name to id mapping
-    static const TString fgkBusPatchFileName;  //DetElemIdToBusPatch file name
-    
+    static const TString fgkDataDir;       ///< data directory
+    static const TString fgkStationDir;    ///< station directory
+    static const TString fgkBendingDir;    ///< bending plane directory
+    static const TString fgkNonBendingDir; ///< non-bending plane directory
+    static const TString fgkDENames;       ///< DE names data file name
+    static const TString fgkSector;        ///< sector data file name
+    static const TString fgkSectorSpecial; ///< sector special data file name
+    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
 
   ClassDef(AliMpFiles, 0) //File names and paths 
 };