AliRoot Core  3dc7879 (3dc7879)
AliDAQ Class Reference

#include <AliDAQ.h>

Inheritance diagram for AliDAQ:

Public Types

enum  { kNDetectors = 25, kHLTId = 30 }
 
enum  DetectorBits {
  kSPD = 0x0001, kSDD = 0x0002, kSSD = 0x0004, kITS = 0x0007,
  kTPC = 0x0008, kTRD = 0x0010, kTOF = 0x0020, kHMPID = 0x0040,
  kPHOS = 0x0080, kCPV = 0x0100, kPMD = 0x0200, kMUONTRK = 0x0400,
  kMUONTRG = 0x0800, kMUON = 0x0c00, kFMD = 0x1000, kT0 = 0x2000,
  kVZERO = 0x4000, kZDC = 0x8000, kACORDE = 0x10000, kTRG = 0x20000,
  kEMCAL = 0x40000, kDAQTEST = 0x80000, kEMPTY = 0x100000, kAD = 0x200000,
  kMFT = 0x400000, kFIT = 0x800000, kHLT = 0x40000000
}
 
enum  DetectorBitsQualityFlag {
  kACORDE_QF = 0x000001, kAD_QF = 0x000002, kCPV_QF = 0x000004, kDAQ_TEST_QF = 0x000008,
  kEMCAL_QF = 0x000010, kFMD_QF = 0x000020, kHLT_QF = 0x000040, kHMPID_QF = 0x000080,
  kMUON_TRG_QF = 0x000100, kMUON_TRK_QF = 0x000200, kPHOS_QF = 0x000400, kPMD_QF = 0x000800,
  kSDD_QF = 0x001000, kSPD_QF = 0x002000, kSSD_QF = 0x004000, kT0_QF = 0x008000,
  kTOF_QF = 0x010000, kTPC_QF = 0x020000, kTRD_QF = 0x040000, kTRIGGER_QF = 0x080000,
  kV0_QF = 0x100000, kZDC_QF = 0x200000
}
 

Public Member Functions

 AliDAQ ()
 
 AliDAQ (const AliDAQ &source)
 
AliDAQoperator= (const AliDAQ &source)
 
virtual ~AliDAQ ()
 

Static Public Member Functions

static Int_t DetectorID (const char *detectorName)
 
static const char * DetectorName (Int_t detectorID)
 
static Int_t DdlIDOffset (const char *detectorName)
 
static Int_t DdlIDOffset (Int_t detectorID)
 
static const char * DetectorNameFromDdlID (Int_t ddlID, Int_t &ddlIndex)
 
static Int_t DetectorIDFromDdlID (Int_t ddlID, Int_t &ddlIndex)
 
static Int_t DdlID (const char *detectorName, Int_t ddlIndex)
 
static Int_t DdlID (Int_t detectorID, Int_t ddlIndex)
 
static const char * DdlFileName (const char *detectorName, Int_t ddlIndex)
 
static const char * DdlFileName (Int_t detectorID, Int_t ddlIndex)
 
static Int_t NumberOfDdls (const char *detectorName)
 
static Int_t NumberOfDdls (Int_t detectorID)
 
static Float_t NumberOfLdcs (const char *detectorName)
 
static Float_t NumberOfLdcs (Int_t detectorID)
 
static void PrintConfig ()
 
static const char * ListOfTriggeredDetectors (UInt_t detectorPattern)
 
static UInt_t DetectorPattern (const char *detectorList)
 
static UInt_t DetectorPatternOffline (const char *detectorList)
 
static const char * OfflineModuleName (const char *detectorName)
 
static const char * OfflineModuleName (Int_t detectorID)
 
static const char * OnlineName (const char *detectorName)
 
static const char * OnlineName (Int_t detectorID)
 
static void SetRun1 ()
 
static void SetRun2 ()
 
static Int_t GetRunPeriod ()
 
static Int_t GetFirstSTUDDL ()
 
static Int_t GetLastSTUDDL ()
 

Static Private Attributes

static const char * fgkDetectorName [kNDetectors]
 
static Int_t fgkNumberOfDdls [kNDetectors]
 
static Float_t fgkNumberOfLdcs [kNDetectors]
 
static const char * fgkOfflineModuleName [kNDetectors]
 
static const char * fgkOnlineName [kNDetectors]
 
static Int_t fgkRunPeriod = 1
 
static Int_t fgkFirstSTUDDL = 44
 
static Int_t fgkLastSTUDDL = 45
 

Detailed Description

Definition at line 31 of file AliDAQ.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kNDetectors 
kHLTId 

Definition at line 77 of file AliDAQ.h.

Enumerator
kSPD 
kSDD 
kSSD 
kITS 
kTPC 
kTRD 
kTOF 
kHMPID 
kPHOS 
kCPV 
kPMD 
kMUONTRK 
kMUONTRG 
kMUON 
kFMD 
kT0 
kVZERO 
kZDC 
kACORDE 
kTRG 
kEMCAL 
kDAQTEST 
kEMPTY 
kAD 
kMFT 
kFIT 
kHLT 

Definition at line 82 of file AliDAQ.h.

Enumerator
kACORDE_QF 
kAD_QF 
kCPV_QF 
kDAQ_TEST_QF 
kEMCAL_QF 
kFMD_QF 
kHLT_QF 
kHMPID_QF 
kMUON_TRG_QF 
kMUON_TRK_QF 
kPHOS_QF 
kPMD_QF 
kSDD_QF 
kSPD_QF 
kSSD_QF 
kT0_QF 
kTOF_QF 
kTPC_QF 
kTRD_QF 
kTRIGGER_QF 
kV0_QF 
kZDC_QF 

Definition at line 89 of file AliDAQ.h.

Constructor & Destructor Documentation

AliDAQ::AliDAQ ( )
inline

Definition at line 34 of file AliDAQ.h.

AliDAQ::AliDAQ ( const AliDAQ source)

Definition at line 190 of file AliDAQ.cxx.

virtual AliDAQ::~AliDAQ ( )
inlinevirtual

Definition at line 37 of file AliDAQ.h.

Member Function Documentation

const char * AliDAQ::DdlFileName ( Int_t  detectorID,
Int_t  ddlIndex 
)
static

Definition at line 342 of file AliDAQ.cxx.

Int_t AliDAQ::DdlID ( Int_t  detectorID,
Int_t  ddlIndex 
)
static

Definition at line 310 of file AliDAQ.cxx.

Int_t AliDAQ::DdlIDOffset ( Int_t  detectorID)
static

Definition at line 249 of file AliDAQ.cxx.

Int_t AliDAQ::DetectorIDFromDdlID ( Int_t  ddlID,
Int_t &  ddlIndex 
)
static

Definition at line 276 of file AliDAQ.cxx.

Referenced by DetectorNameFromDdlID(), AliTPCAltroEmulator::GDC2DDLs(), and ~AliDAQ().

const char * AliDAQ::DetectorNameFromDdlID ( Int_t  ddlID,
Int_t &  ddlIndex 
)
static

Definition at line 264 of file AliDAQ.cxx.

Referenced by ~AliDAQ().

UInt_t AliDAQ::DetectorPatternOffline ( const char *  detectorList)
static

Definition at line 485 of file AliDAQ.cxx.

Referenced by AliReconstruction::ProcessEvent(), and ~AliDAQ().

static Int_t AliDAQ::GetLastSTUDDL ( )
inlinestatic
static Int_t AliDAQ::GetRunPeriod ( )
inlinestatic

Definition at line 73 of file AliDAQ.h.

Int_t AliDAQ::NumberOfDdls ( Int_t  detectorID)
static

Definition at line 379 of file AliDAQ.cxx.

Float_t AliDAQ::NumberOfLdcs ( Int_t  detectorID)
static

Definition at line 405 of file AliDAQ.cxx.

const char * AliDAQ::OfflineModuleName ( const char *  detectorName)
static
const char * AliDAQ::OfflineModuleName ( Int_t  detectorID)
static

Definition at line 523 of file AliDAQ.cxx.

const char * AliDAQ::OnlineName ( const char *  detectorName)
static
const char * AliDAQ::OnlineName ( Int_t  detectorID)
static

Definition at line 549 of file AliDAQ.cxx.

AliDAQ & AliDAQ::operator= ( const AliDAQ source)

Definition at line 197 of file AliDAQ.cxx.

Referenced by AliDAQ().

void AliDAQ::PrintConfig ( )
static

Definition at line 420 of file AliDAQ.cxx.

Referenced by ~AliDAQ().

void AliDAQ::SetRun1 ( )
static

Definition at line 564 of file AliDAQ.cxx.

Referenced by ~AliDAQ().

void AliDAQ::SetRun2 ( )
static

Definition at line 596 of file AliDAQ.cxx.

Referenced by ~AliDAQ().

Member Data Documentation

const char * AliDAQ::fgkDetectorName
staticprivate
Initial value:
= {
"ITSSPD",
"ITSSDD",
"ITSSSD",
"TPC",
"TRD",
"TOF",
"HMPID",
"PHOS",
"CPV",
"PMD",
"MUONTRK",
"MUONTRG",
"FMD",
"T0",
"VZERO",
"ZDC",
"ACORDE",
"TRG",
"EMCAL",
"DAQ_TEST",
"EMPTY",
"AD",
"MFT",
"FIT",
"HLT"
}

Definition at line 98 of file AliDAQ.h.

Referenced by DetectorID(), DetectorName(), DetectorPattern(), and ListOfTriggeredDetectors().

Int_t AliDAQ::fgkFirstSTUDDL = 44
staticprivate

Definition at line 104 of file AliDAQ.h.

Referenced by GetFirstSTUDDL(), SetRun1(), and SetRun2().

Int_t AliDAQ::fgkLastSTUDDL = 45
staticprivate

Definition at line 105 of file AliDAQ.h.

Referenced by GetLastSTUDDL(), SetRun1(), and SetRun2().

Int_t AliDAQ::fgkNumberOfDdls
staticprivate
Initial value:
= {
20,
24,
16,
216,
18,
72,
14,
21,
10,
6,
20,
2,
3,
1,
1,
1,
1,
2,
46,
12,
0,
1,
10,
1,
28
}

Definition at line 99 of file AliDAQ.h.

Referenced by NumberOfDdls(), SetRun1(), and SetRun2().

Float_t AliDAQ::fgkNumberOfLdcs
staticprivate
Initial value:
= {
7,
8,
6,
36,
9,
24,
5,
8,
1,
2,
7,
1,
1,
1,
1,
1,
1,
1,
15,
2,
0,
1,
1,
1,
14
}

Definition at line 100 of file AliDAQ.h.

Referenced by NumberOfLdcs(), SetRun1(), and SetRun2().

const char * AliDAQ::fgkOfflineModuleName
staticprivate
Initial value:
= {
"ITS",
"ITS",
"ITS",
"TPC",
"TRD",
"TOF",
"HMPID",
"PHOS",
"CPV",
"PMD",
"MUON",
"MUON",
"FMD",
"T0",
"VZERO",
"ZDC",
"ACORDE",
"CTP",
"EMCAL",
"DAQ_TEST",
"EMPTY",
"AD",
"MFT",
"FIT",
"HLT"
}

Definition at line 101 of file AliDAQ.h.

Referenced by DetectorPatternOffline(), and OfflineModuleName().

const char * AliDAQ::fgkOnlineName
staticprivate
Initial value:
= {
"SPD",
"SDD",
"SSD",
"TPC",
"TRD",
"TOF",
"HMP",
"PHS",
"CPV",
"PMD",
"MCH",
"MTR",
"FMD",
"T00",
"V00",
"ZDC",
"ACO",
"TRI",
"EMC",
"TST",
"EMP",
"AD0",
"MFT",
"FIT",
"HLT"
}

Definition at line 102 of file AliDAQ.h.

Referenced by OnlineName().

Int_t AliDAQ::fgkRunPeriod = 1
staticprivate

Definition at line 103 of file AliDAQ.h.

Referenced by GetRunPeriod(), SetRun1(), and SetRun2().


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