]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpFiles.h
Updated comments for Doxygen
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpFiles.h
CommitLineData
dee1d5f1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
5f91c9e8 4// $Id$
829425a5 5// $MpId: AliMpFiles.h,v 1.9 2006/05/23 13:07:29 ivana Exp $
dee1d5f1 6
7/// \ingroup basic
8/// \class AliMpFiles
9/// \brief Class for generating file names and paths.
10///
11/// The input files:
12/// - zones.dat, zones_special.dat - sector description
13/// - motif*.dat - motif description (generated from Exceed)
14/// - padPos*.dat - pad positions in motif
15///
16/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
5f91c9e8 17
be2a6782 18#ifndef ALI_MP_FILES_H
19#define ALI_MP_FILES_H
5f91c9e8 20
21#include <TObject.h>
5f91c9e8 22
be2a6782 23#include "AliMpStationType.h"
5f91c9e8 24#include "AliMpPlaneType.h"
25
2a7ea2e6 26#include <TString.h>
27
5f91c9e8 28class AliMpFiles : public TObject
29{
30 public:
5f91c9e8 31 // --> protected
7f54909e 32 //AliMpFiles();
5f91c9e8 33 //AliMpFiles(const AliMpFiles& right);
34 virtual ~AliMpFiles();
7f54909e 35
36 //
5f91c9e8 37 // methods
7f54909e 38 //
39
4df2ac68 40 // bus patch
41 //
42 static TString BusPatchFilePath();
43
0025a53e 44 // de names
45 //
46 static TString DENamesFilePath(AliMpStationType stationType);
47
7f54909e 48 // trigger
49 //
50 static TString LocalTriggerBoardMapping();
51
52 // slats
53 //
54 static TString SlatFilePath(AliMpStationType stationType,
55 const char* slatType, AliMpPlaneType plane);
56 static TString SlatPCBFilePath(AliMpStationType stationType,
57 const char* pcbType);
58 // sectors
59 //
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);
66 // motifs
67 //
68 static TString MotifFilePath(AliMpStationType station,
69 AliMpPlaneType plane,
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);
76
5f91c9e8 77 // set methods
7f54909e 78 static void SetTopPath(const TString& topPath);
79
5f91c9e8 80 protected:
7f54909e 81 AliMpFiles();
5f91c9e8 82 AliMpFiles(const AliMpFiles& right);
7f54909e 83
5f91c9e8 84 // operators
85 AliMpFiles& operator=(const AliMpFiles& right);
7f54909e 86
5f91c9e8 87 private:
88 // methods
d9100e8b 89 static TString GetTop();
7f54909e 90 static TString PlaneDataDir(AliMpStationType station, AliMpPlaneType plane);
91 static TString StationDataDir(AliMpStationType station);
5f91c9e8 92
93 // static data members
829425a5 94 static const TString fgkDataDir; ///< data directory
95 static const TString fgkStationDir; ///< station directory
96 static const TString fgkBendingDir; ///< bending plane directory
97 static const TString fgkNonBendingDir; ///< non-bending plane directory
98 static const TString fgkDENames; ///< DE names data file name
99 static const TString fgkSector; ///< sector data file name
100 static const TString fgkSectorSpecial; ///< sector special data file name
101 static const TString fgkSectorSpecial2;///< sector special data file name
102 static const TString fgkMotifPrefix; ///< motif data file name
103 static const TString fgkMotifSpecialPrefix; ///< special motif data file name
104 static const TString fgkPadPosPrefix; ///< pad position data file name
105 static const TString fgkDataExt; ///< file extension
106 static const TString fgkBergToGCFileName; ///< BergToGC mapping filr name
107 static const TString fgkTriggerLocalBoards;///< local board name to id mapping
108 static const TString fgkBusPatchFileName; ///< DetElemIdToBusPatch file name
5f91c9e8 109
110
7f54909e 111 ClassDef(AliMpFiles, 0) //File names and paths
5f91c9e8 112};
113
be2a6782 114#endif //ALI_MP_FILES_H