3 //**************************************************************************
4 //* This file is property of and copyright by the ALICE HLT Project *
5 //* ALICE Experiment at CERN, All rights reserved. *
7 //* Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no> *
8 //* for The ALICE HLT Project. *
10 //* Permission to use, copy, modify and distribute this software and its *
11 //* documentation strictly for non-commercial purposes is hereby granted *
12 //* without fee, provided that the above copyright notice appears in all *
13 //* copies and that both the copyright notice and this permission notice *
14 //* appear in the supporting documentation. The authors make no claims *
15 //* about the suitability of this software for any purpose. It is *
16 //* provided "as is" without express or implied warranty. *
17 //**************************************************************************
19 /** @file AliHLTDAQInterfaceImplementation.cxx
20 @author Matthias Richter
22 @brief Interface to the AliDAQ class
25 #include "AliHLTDAQInterfaceImplementation.h"
28 /** ROOT macro for the implementation of ROOT specific class methods */
29 ClassImp(AliHLTDAQInterfaceImplementation)
31 AliHLTDAQInterfaceImplementation::AliHLTDAQInterfaceImplementation()
33 // see header file for class documentation
35 // refer to README to build package
37 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
40 AliHLTDAQInterfaceImplementation::~AliHLTDAQInterfaceImplementation()
42 // see header file for class documentation
45 Int_t AliHLTDAQInterfaceImplementation::VirtNumberOfDetectors()
47 // see header file for class documentation
48 return AliDAQ::kNDetectors;
51 Int_t AliHLTDAQInterfaceImplementation::VirtDetectorID(const char *detectorName)
53 // see header file for class documentation
54 return AliDAQ::DetectorID(detectorName);
57 const char *AliHLTDAQInterfaceImplementation::VirtDetectorName(Int_t detectorID)
59 // see header file for class documentation
60 return AliDAQ::DetectorName(detectorID);
64 Int_t AliHLTDAQInterfaceImplementation::VirtDdlIDOffset(const char *detectorName)
66 // see header file for class documentation
67 return AliDAQ::DdlIDOffset(detectorName);
70 Int_t AliHLTDAQInterfaceImplementation::VirtDdlIDOffset(Int_t detectorID)
72 // see header file for class documentation
73 return AliDAQ::DdlIDOffset(detectorID);
76 const char *AliHLTDAQInterfaceImplementation::VirtDetectorNameFromDdlID(Int_t ddlID, Int_t &ddlIndex)
78 // see header file for class documentation
79 return AliDAQ::DetectorNameFromDdlID(ddlID, ddlIndex);
82 Int_t AliHLTDAQInterfaceImplementation::VirtDetectorIDFromDdlID(Int_t ddlID, Int_t &ddlIndex)
84 // see header file for class documentation
85 return AliDAQ::DetectorIDFromDdlID(ddlID, ddlIndex);
88 Int_t AliHLTDAQInterfaceImplementation::VirtDdlID(const char *detectorName, Int_t ddlIndex)
90 // see header file for class documentation
91 return AliDAQ::DdlID(detectorName, ddlIndex);
94 Int_t AliHLTDAQInterfaceImplementation::VirtDdlID(Int_t detectorID, Int_t ddlIndex)
96 // see header file for class documentation
97 return AliDAQ::DdlID(detectorID, ddlIndex);
100 const char *AliHLTDAQInterfaceImplementation::VirtDdlFileName(const char *detectorName, Int_t ddlIndex)
102 // see header file for class documentation
103 return AliDAQ::DdlFileName(detectorName, ddlIndex);
106 const char *AliHLTDAQInterfaceImplementation::VirtDdlFileName(Int_t detectorID, Int_t ddlIndex)
108 // see header file for class documentation
109 return AliDAQ::DdlFileName(detectorID, ddlIndex);
112 Int_t AliHLTDAQInterfaceImplementation::VirtNumberOfDdls(const char *detectorName)
114 // see header file for class documentation
115 return AliDAQ::NumberOfDdls(detectorName);
118 Int_t AliHLTDAQInterfaceImplementation::VirtNumberOfDdls(Int_t detectorID)
120 // see header file for class documentation
121 return AliDAQ::NumberOfDdls(detectorID);
124 const char *AliHLTDAQInterfaceImplementation::VirtListOfTriggeredDetectors(UInt_t detectorPattern)
126 // see header file for class documentation
127 return AliDAQ::ListOfTriggeredDetectors(detectorPattern);
130 UInt_t AliHLTDAQInterfaceImplementation::VirtDetectorPattern(const char *detectorList)
132 // see header file for class documentation
133 return AliDAQ::DetectorPattern(detectorList);
136 const char *AliHLTDAQInterfaceImplementation::VirtOfflineModuleName(const char *detectorName)
138 // see header file for class documentation
139 return AliDAQ::OfflineModuleName(detectorName);
142 const char *AliHLTDAQInterfaceImplementation::VirtOfflineModuleName(Int_t detectorID)
144 // see header file for class documentation
145 return AliDAQ::OfflineModuleName(detectorID);
148 const char *AliHLTDAQInterfaceImplementation::VirtOnlineName(const char *detectorName)
150 // see header file for class documentation
151 return AliDAQ::OnlineName(detectorName);
154 const char *AliHLTDAQInterfaceImplementation::VirtOnlineName(Int_t detectorID)
156 // see header file for class documentation
157 return AliDAQ::OnlineName(detectorID);