Added fgkDENames, DENamesFilePath()
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Jan 2006 09:04:22 +0000 (09:04 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Jan 2006 09:04:22 +0000 (09:04 +0000)
MUON/mapping/AliMpFiles.cxx
MUON/mapping/AliMpFiles.h

index 921648d..374eb9a 100755 (executable)
@@ -14,7 +14,7 @@
  **************************************************************************/
 
 // $Id$
-// $MpId: AliMpFiles.cxx,v 1.4 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpFiles.cxx,v 1.6 2006/01/11 10:05:08 ivana Exp $
 // Category: basic
 //
 // Class AliMpFiles
@@ -46,6 +46,7 @@ const TString AliMpFiles::fgkDataDir = "/data";
 const TString AliMpFiles::fgkStationDir = "/station";
 const TString AliMpFiles::fgkBendingDir = "/bending_plane/";
 const TString AliMpFiles::fgkNonBendingDir = "/non-bending_plane/";
+const TString AliMpFiles::fgkDENames = "denames"; 
 const TString AliMpFiles::fgkSector  = "zones"; 
 const TString AliMpFiles::fgkSectorSpecial = "zones_special";
 const TString AliMpFiles::fgkSectorSpecial2 = "zones_special_outer";
@@ -154,11 +155,11 @@ TString AliMpFiles::StationDataDir(AliMpStationType station)
   TString stationDataDir(fgkStationDir);
   switch (station) {
   case kStation1: 
-    stationDataDir += 1;
+    stationDataDir += "1/";
     break;
     ;;
   case kStation2: 
-    stationDataDir += 2;
+    stationDataDir += "2/";
     break;
     ;;
   case kStation345: 
@@ -189,6 +190,14 @@ TString AliMpFiles::BusPatchFilePath()
 }  
 
 //______________________________________________________________________________
+TString AliMpFiles::DENamesFilePath(AliMpStationType station)
+{
+/// Return path to data file with DE names for given station.
+  return fgTop + fgkDataDir + StationDataDir(station) + fgkDENames + fgkDataExt;
+}
+
+//______________________________________________________________________________
 TString AliMpFiles::LocalTriggerBoardMapping()
 {
   return TString(PlaneDataDir(kStationTrigger,kNonBendingPlane) 
index 65a4f01..0ece092 100755 (executable)
@@ -2,7 +2,7 @@
  * See cxx source for full Copyright notice                               */
 
 // $Id$
-// $MpId: AliMpFiles.h,v 1.4 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpFiles.h,v 1.6 2006/01/11 10:05:01 ivana Exp $
 
 /// \ingroup basic
 /// \class AliMpFiles
@@ -40,6 +40,10 @@ class AliMpFiles : public TObject
     //
     static TString BusPatchFilePath(); 
 
+    // de names
+    //
+    static TString DENamesFilePath(AliMpStationType stationType);
+
     // trigger
     //
     static TString LocalTriggerBoardMapping();
@@ -91,6 +95,7 @@ class AliMpFiles : public TObject
     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