AliRoot Core  edcc906 (edcc906)
AliMpFiles Class Reference

Class for generating file names and paths. More...

#include <AliMpFiles.h>

Inheritance diagram for AliMpFiles:

Public Member Functions

virtual ~AliMpFiles ()
 

Static Public Member Functions

static TString PlaneDataDir (AliMp::StationType station, AliMq::Station12Type station12Type, AliMp::PlaneType plane)
 
static TString StationDataDir (AliMp::StationType station, AliMq::Station12Type station12Type)
 
static TString BusPatchFilePath ()
 
static TString BusPatchInfoFilePath ()
 
static TString BusPatchSpecialFilePath ()
 
static TString DENamesFilePath (AliMp::StationType stationType, AliMq::Station12Type station12Type)
 
static TString LocalTriggerBoardMapping ()
 
static TString GlobalTriggerBoardMapping ()
 
static TString SlatFilePath (AliMp::StationType stationType, const char *slatType, AliMp::PlaneType plane)
 
static TString SlatPCBFilePath (AliMp::StationType stationType, const char *pcbType)
 
static TString SectorFilePath (AliMq::Station12Type station, AliMp::PlaneType plane)
 
static TString SectorSpecialFilePath (AliMq::Station12Type station, AliMp::PlaneType plane)
 
static TString SectorSpecialFilePath2 (AliMq::Station12Type station, AliMp::PlaneType plane)
 
static TString MotifFilePath (AliMp::StationType station, AliMq::Station12Type station12Type, AliMp::PlaneType plane, const TString &motifTypeID)
 
static TString MotifFileName (const TString &motifTypeID)
 
static TString MotifSpecialFilePath (AliMp::StationType station, AliMq::Station12Type station12Type, AliMp::PlaneType plane, const TString &motifID)
 
static TString MotifSpecialFileName (const TString &motifID)
 
static TString PadPosFilePath (AliMp::StationType station, AliMq::Station12Type station12Type, AliMp::PlaneType plane, const TString &motifTypeID)
 
static TString PadPosFileName (const TString &motifTypeID)
 
static TString BergToGCFilePath (AliMp::StationType station, AliMq::Station12Type station12Type)
 
static TString ManuToSerialPath (const TString &deName, AliMp::StationType station, AliMq::Station12Type station12Type)
 
static TString SerialToBinFilePath ()
 
static void SetTopPath (const TString &topPath)
 
static TString GetTop ()
 

Private Member Functions

 AliMpFiles ()
 Not implemented. More...
 
 AliMpFiles (const AliMpFiles &right)
 Not implemented. More...
 
AliMpFilesoperator= (const AliMpFiles &right)
 Not implemented. More...
 

Static Private Member Functions

static const TString & GetDataDir ()
 
static const TString & GetDataRunDir ()
 
static const TString & GetStationDir ()
 
static const TString & GetBendingDir ()
 
static const TString & GetNonBendingDir ()
 
static const TString & GetDENames ()
 
static const TString & GetSector ()
 
static const TString & GetSectorSpecial ()
 
static const TString & GetSectorSpecial2 ()
 
static const TString & GetMotifPrefix ()
 
static const TString & GetMotifSpecialPrefix ()
 
static const TString & GetManuToSerial ()
 
static const TString & GetPadPosPrefix ()
 
static const TString & GetDataExt ()
 
static const TString & GetBergToGCFileName ()
 
static const TString & GetTriggerLocalBoards ()
 
static const TString & GetTriggerGlobalBoards ()
 
static const TString & GetBusPatchFileName ()
 
static const TString & GetBusPatchInfoFileName ()
 
static const TString & GetBusPatchSpecialFileName ()
 
static const TString & GetSerialToBinFileName ()
 

Detailed Description

Class for generating file names and paths.

The input files:

  • zones.dat, zones_special.dat - sector description
  • motif*.dat - motif description (generated from Exceed)
  • padPos*.dat - pad positions in motif
Author
David Guez, Ivana Hrivnacova; IPN Orsay

Definition at line 29 of file AliMpFiles.h.

Constructor & Destructor Documentation

AliMpFiles::~AliMpFiles ( )
virtual

Destructor

Definition at line 527 of file AliMpFiles.cxx.

AliMpFiles::AliMpFiles ( )
private

Not implemented.

AliMpFiles::AliMpFiles ( const AliMpFiles right)
private

Not implemented.

Member Function Documentation

TString AliMpFiles::BergToGCFilePath ( AliMp::StationType  station,
AliMq::Station12Type  station12Type 
)
static

Returns the path of the file which describes the correspondance between the berg number and the gassiplex channel.

Definition at line 472 of file AliMpFiles.cxx.

Referenced by AliMpMotifReader::BuildMotifType().

TString AliMpFiles::BusPatchFilePath ( )
static

Return path to data file with bus patch mapping.

Definition at line 294 of file AliMpFiles.cxx.

Referenced by AliMpDDLStore::ReadDDLs().

TString AliMpFiles::BusPatchInfoFilePath ( )
static

Return path to data file with bus patch mapping.

Definition at line 302 of file AliMpFiles.cxx.

Referenced by AliMpDDLStore::ReadBusPatchInfo().

TString AliMpFiles::BusPatchSpecialFilePath ( )
static

Return path to data file with special bus patch mapping.

Definition at line 310 of file AliMpFiles.cxx.

Referenced by AliMpDDLStore::ReadBusPatchSpecial().

TString AliMpFiles::DENamesFilePath ( AliMp::StationType  stationType,
AliMq::Station12Type  station12Type 
)
static

Return path to data file with DE names for given station.

Definition at line 327 of file AliMpFiles.cxx.

Referenced by AliMpDEStore::ReadDENames().

const TString & AliMpFiles::GetBendingDir ( )
staticprivate

bending plane directory

Definition at line 76 of file AliMpFiles.cxx.

Referenced by PlaneDataDir().

const TString & AliMpFiles::GetBergToGCFileName ( )
staticprivate

BergToGC mapping file name

Definition at line 165 of file AliMpFiles.cxx.

Referenced by BergToGCFilePath().

const TString & AliMpFiles::GetBusPatchFileName ( )
staticprivate

DetElemIdToBusPatch file name

Definition at line 189 of file AliMpFiles.cxx.

Referenced by BusPatchFilePath().

const TString & AliMpFiles::GetBusPatchInfoFileName ( )
staticprivate

BusPatch length file name

Definition at line 197 of file AliMpFiles.cxx.

Referenced by BusPatchInfoFilePath().

const TString & AliMpFiles::GetBusPatchSpecialFileName ( )
staticprivate

BusPatch special file name

Definition at line 205 of file AliMpFiles.cxx.

Referenced by BusPatchSpecialFilePath().

const TString & AliMpFiles::GetDataDir ( )
staticprivate
const TString & AliMpFiles::GetDataRunDir ( )
staticprivate

directory for run dependent data

Definition at line 60 of file AliMpFiles.cxx.

Referenced by ManuToSerialPath().

const TString & AliMpFiles::GetDENames ( )
staticprivate

DE names data file name

Definition at line 92 of file AliMpFiles.cxx.

Referenced by DENamesFilePath().

const TString & AliMpFiles::GetManuToSerial ( )
staticprivate

manu to serial file name suffix

Definition at line 141 of file AliMpFiles.cxx.

Referenced by ManuToSerialPath().

const TString & AliMpFiles::GetMotifPrefix ( )
staticprivate

motif data file name

Definition at line 124 of file AliMpFiles.cxx.

Referenced by MotifFileName().

const TString & AliMpFiles::GetMotifSpecialPrefix ( )
staticprivate

special motif data file name

Definition at line 133 of file AliMpFiles.cxx.

Referenced by MotifSpecialFileName().

const TString & AliMpFiles::GetNonBendingDir ( )
staticprivate

non-bending plane directory

Definition at line 84 of file AliMpFiles.cxx.

Referenced by PlaneDataDir().

const TString & AliMpFiles::GetPadPosPrefix ( )
staticprivate

pad position data file name

Definition at line 149 of file AliMpFiles.cxx.

Referenced by PadPosFileName().

const TString & AliMpFiles::GetSector ( )
staticprivate

sector data file name

Definition at line 100 of file AliMpFiles.cxx.

Referenced by SectorFilePath().

const TString & AliMpFiles::GetSectorSpecial ( )
staticprivate

sector special data file name

Definition at line 108 of file AliMpFiles.cxx.

Referenced by SectorSpecialFilePath().

const TString & AliMpFiles::GetSectorSpecial2 ( )
staticprivate

sector special data file name

Definition at line 116 of file AliMpFiles.cxx.

Referenced by SectorSpecialFilePath2().

const TString & AliMpFiles::GetSerialToBinFileName ( )
staticprivate

serial to bin number file name

Definition at line 213 of file AliMpFiles.cxx.

Referenced by SerialToBinFilePath().

const TString & AliMpFiles::GetStationDir ( )
staticprivate

station directory

Definition at line 68 of file AliMpFiles.cxx.

Referenced by StationDataDir().

TString AliMpFiles::GetTop ( )
static
const TString & AliMpFiles::GetTriggerGlobalBoards ( )
staticprivate

global board name to id mapping

Definition at line 181 of file AliMpFiles.cxx.

Referenced by GlobalTriggerBoardMapping().

const TString & AliMpFiles::GetTriggerLocalBoards ( )
staticprivate

local board name to id mapping

Definition at line 173 of file AliMpFiles.cxx.

Referenced by LocalTriggerBoardMapping().

TString AliMpFiles::GlobalTriggerBoardMapping ( )
static

Return path to data file with local trigger board mapping.

Definition at line 347 of file AliMpFiles.cxx.

Referenced by AliMUONCDB::MakeGlobalTriggerConfigStore(), and AliMUONGlobalCrateConfig::ReadData().

TString AliMpFiles::LocalTriggerBoardMapping ( )
static

Return path to data file with local trigger board mapping.

Definition at line 337 of file AliMpFiles.cxx.

Referenced by AliMUONCDB::MakeRegionalTriggerConfigStore(), AliMpRegionalTrigger::ReadData(), and AliMpTriggerReader::ReadLocalBoardMapping().

TString AliMpFiles::ManuToSerialPath ( const TString &  deName,
AliMp::StationType  station,
AliMq::Station12Type  station12Type 
)
static

Returns the path of the file for the manu id to their serial number

Definition at line 483 of file AliMpFiles.cxx.

Referenced by AliMpManuStore::ReadData(), and AliMpManuStore::WriteData().

TString AliMpFiles::MotifFileName ( const TString &  motifTypeID)
static

Returns name of data file for a given motif type.

Definition at line 411 of file AliMpFiles.cxx.

Referenced by MotifFilePath(), and AliMpMotifType::Save().

TString AliMpFiles::MotifFilePath ( AliMp::StationType  station,
AliMq::Station12Type  station12Type,
AliMp::PlaneType  plane,
const TString &  motifTypeID 
)
static

Returns path to data file for a given motif type.

Definition at line 419 of file AliMpFiles.cxx.

Referenced by AliMpMotifReader::BuildMotifType().

TString AliMpFiles::MotifSpecialFileName ( const TString &  motifID)
static

Returns name of data file with pad dimensions for a given motif ID.

Definition at line 451 of file AliMpFiles.cxx.

Referenced by MotifSpecialFilePath().

TString AliMpFiles::MotifSpecialFilePath ( AliMp::StationType  station,
AliMq::Station12Type  station12Type,
AliMp::PlaneType  plane,
const TString &  motifID 
)
static

Returns path to data file with pad dimensions for a given motif ID.

Definition at line 460 of file AliMpFiles.cxx.

Referenced by AliMpMotifReader::BuildMotifSpecial().

AliMpFiles& AliMpFiles::operator= ( const AliMpFiles right)
private

Not implemented.

TString AliMpFiles::PadPosFileName ( const TString &  motifTypeID)
static

Returns name of data file with pad positions for a given motif type.

Definition at line 431 of file AliMpFiles.cxx.

Referenced by PadPosFilePath(), and AliMpMotifType::Save().

TString AliMpFiles::PadPosFilePath ( AliMp::StationType  station,
AliMq::Station12Type  station12Type,
AliMp::PlaneType  plane,
const TString &  motifTypeID 
)
static

Returns path to data file with pad positions for a given motif type.

Definition at line 439 of file AliMpFiles.cxx.

Referenced by AliMpMotifReader::BuildMotifType().

TString AliMpFiles::PlaneDataDir ( AliMp::StationType  station,
AliMq::Station12Type  station12Type,
AliMp::PlaneType  plane 
)
static

Returns path to data files with sector description for a specified plane.

Definition at line 225 of file AliMpFiles.cxx.

Referenced by MotifFilePath(), MotifSpecialFilePath(), PadPosFilePath(), SectorFilePath(), SectorSpecialFilePath(), SectorSpecialFilePath2(), SlatFilePath(), and SlatPCBFilePath().

TString AliMpFiles::SectorFilePath ( AliMq::Station12Type  station,
AliMp::PlaneType  plane 
)
static

Return path to data file with sector description.

Definition at line 381 of file AliMpFiles.cxx.

Referenced by AliMpSectorReader::BuildSector().

TString AliMpFiles::SectorSpecialFilePath ( AliMq::Station12Type  station,
AliMp::PlaneType  plane 
)
static

Return path to data file with sector special description (irregular motifs).

Definition at line 391 of file AliMpFiles.cxx.

Referenced by AliMpSectorReader::BuildSector().

TString AliMpFiles::SectorSpecialFilePath2 ( AliMq::Station12Type  station,
AliMp::PlaneType  plane 
)
static

Returns path to data file with sector special description (irregular motifs).

Definition at line 401 of file AliMpFiles.cxx.

Referenced by AliMpSectorReader::BuildSector().

TString AliMpFiles::SerialToBinFilePath ( )
static

Return path to data file containing manu serial numbers with their bin.

Definition at line 318 of file AliMpFiles.cxx.

void AliMpFiles::SetTopPath ( const TString &  topPath)
static

Set top file path

Definition at line 496 of file AliMpFiles.cxx.

TString AliMpFiles::SlatFilePath ( AliMp::StationType  stationType,
const char *  slatType,
AliMp::PlaneType  plane 
)
static
Todo:
add ..

Definition at line 357 of file AliMpFiles.cxx.

Referenced by AliMpTriggerReader::ReadLines(), and AliMpSt345Reader::ReadSlat().

TString AliMpFiles::SlatPCBFilePath ( AliMp::StationType  stationType,
const char *  pcbType 
)
static

Get the full path for a given PCB (only relevant to stations 3, 4, 5 and trigger). The bending parameter below is of no use in this case, but we use it to re-use the PlaneDataDir() method untouched.

Definition at line 369 of file AliMpFiles.cxx.

Referenced by AliMpSt345Reader::ReadPCB(), and AliMpTriggerReader::ReadPCB().

TString AliMpFiles::StationDataDir ( AliMp::StationType  station,
AliMq::Station12Type  station12Type 
)
static

Returns the station directory name for the specified station number.

Definition at line 255 of file AliMpFiles.cxx.

Referenced by BergToGCFilePath(), DENamesFilePath(), GlobalTriggerBoardMapping(), LocalTriggerBoardMapping(), ManuToSerialPath(), PlaneDataDir(), and AliMpManuStore::WriteData().


The documentation for this class was generated from the following files: