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()
43 // see header file for class documentation
45 Int_t AliHLTDAQInterfaceImplementation::VirtDetectorID(const char *detectorName)
47 // see header file for class documentation
48 return AliDAQ::DetectorID(detectorName);
51 const char *AliHLTDAQInterfaceImplementation::VirtDetectorName(Int_t detectorID)
53 // see header file for class documentation
54 return AliDAQ::DetectorName(detectorID);
58 Int_t AliHLTDAQInterfaceImplementation::VirtDdlIDOffset(const char *detectorName)
60 // see header file for class documentation
61 return AliDAQ::DdlIDOffset(detectorName);
64 Int_t AliHLTDAQInterfaceImplementation::VirtDdlIDOffset(Int_t detectorID)
66 // see header file for class documentation
67 return AliDAQ::DdlIDOffset(detectorID);
70 const char *AliHLTDAQInterfaceImplementation::VirtDetectorNameFromDdlID(Int_t ddlID, Int_t &ddlIndex)
72 // see header file for class documentation
73 return AliDAQ::DetectorNameFromDdlID(ddlID, ddlIndex);
76 Int_t AliHLTDAQInterfaceImplementation::VirtDetectorIDFromDdlID(Int_t ddlID, Int_t &ddlIndex)
78 // see header file for class documentation
79 return AliDAQ::DetectorIDFromDdlID(ddlID, ddlIndex);
82 Int_t AliHLTDAQInterfaceImplementation::VirtDdlID(const char *detectorName, Int_t ddlIndex)
84 // see header file for class documentation
85 return AliDAQ::DdlID(detectorName, ddlIndex);
88 Int_t AliHLTDAQInterfaceImplementation::VirtDdlID(Int_t detectorID, Int_t ddlIndex)
90 // see header file for class documentation
91 return AliDAQ::DdlID(detectorID, ddlIndex);
94 const char *AliHLTDAQInterfaceImplementation::VirtDdlFileName(const char *detectorName, Int_t ddlIndex)
96 // see header file for class documentation
97 return AliDAQ::DdlFileName(detectorName, ddlIndex);
100 const char *AliHLTDAQInterfaceImplementation::VirtDdlFileName(Int_t detectorID, Int_t ddlIndex)
102 // see header file for class documentation
103 return AliDAQ::DdlFileName(detectorID, ddlIndex);
106 Int_t AliHLTDAQInterfaceImplementation::VirtNumberOfDdls(const char *detectorName)
108 // see header file for class documentation
109 return AliDAQ::NumberOfDdls(detectorName);
112 Int_t AliHLTDAQInterfaceImplementation::VirtNumberOfDdls(Int_t detectorID)
114 // see header file for class documentation
115 return AliDAQ::NumberOfDdls(detectorID);