1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpFiles.h,v 1.10 2006/05/24 13:58:07 ivana Exp $
9 /// \brief Class for generating file names and paths.
12 /// - zones.dat, zones_special.dat - sector description
13 /// - motif*.dat - motif description (generated from Exceed)
14 /// - padPos*.dat - pad positions in motif
16 /// \author David Guez, Ivana Hrivnacova; IPN Orsay
18 #ifndef ALI_MP_FILES_H
19 #define ALI_MP_FILES_H
23 #include "AliMpStationType.h"
24 #include "AliMpPlaneType.h"
28 class AliMpFiles : public TObject
33 //AliMpFiles(const AliMpFiles& right);
34 virtual ~AliMpFiles();
42 static TString BusPatchFilePath();
46 static TString DENamesFilePath(AliMpStationType stationType);
50 static TString LocalTriggerBoardMapping();
54 static TString SlatFilePath(AliMpStationType stationType,
55 const char* slatType, AliMpPlaneType plane);
56 static TString SlatPCBFilePath(AliMpStationType stationType,
60 static TString SectorFilePath(AliMpStationType station,
61 AliMpPlaneType plane);
62 static TString SectorSpecialFilePath(AliMpStationType station,
63 AliMpPlaneType plane);
64 static TString SectorSpecialFilePath2(AliMpStationType station,
65 AliMpPlaneType plane);
68 static TString MotifFilePath(AliMpStationType station,
70 const TString& motifTypeID);
71 static TString MotifSpecialFilePath(AliMpStationType station,
72 AliMpPlaneType plane, const TString& motifID);
73 static TString PadPosFilePath(AliMpStationType station,
74 AliMpPlaneType plane, const TString& motifTypeID);
75 static TString BergToGCFilePath(AliMpStationType station);
78 static void SetTopPath(const TString& topPath);
82 AliMpFiles(const AliMpFiles& right);
85 AliMpFiles& operator=(const AliMpFiles& right);
87 static TString GetTop();
88 static TString PlaneDataDir(AliMpStationType station, AliMpPlaneType plane);
89 static TString StationDataDir(AliMpStationType station);
91 // static data members
92 static const TString fgkDataDir; ///< data directory
93 static const TString fgkStationDir; ///< station directory
94 static const TString fgkBendingDir; ///< bending plane directory
95 static const TString fgkNonBendingDir; ///< non-bending plane directory
96 static const TString fgkDENames; ///< DE names data file name
97 static const TString fgkSector; ///< sector data file name
98 static const TString fgkSectorSpecial; ///< sector special data file name
99 static const TString fgkSectorSpecial2;///< sector special data file name
100 static const TString fgkMotifPrefix; ///< motif data file name
101 static const TString fgkMotifSpecialPrefix; ///< special motif data file name
102 static const TString fgkPadPosPrefix; ///< pad position data file name
103 static const TString fgkDataExt; ///< file extension
104 static const TString fgkBergToGCFileName; ///< BergToGC mapping file name
105 static const TString fgkTriggerLocalBoards;///< local board name to id mapping
106 static const TString fgkBusPatchFileName; ///< DetElemIdToBusPatch file name
109 ClassDef(AliMpFiles, 0) //File names and paths
112 #endif //ALI_MP_FILES_H