4 #ifndef ALIHLTDAQINTERFACEIMPLEMENTATION_H
5 #define ALIHLTDAQINTERFACEIMPLEMENTATION_H
6 //* This file is property of and copyright by the ALICE HLT Project *
7 //* ALICE Experiment at CERN, All rights reserved. *
8 //* See cxx source for full Copyright notice *
10 /** @file AliHLTDAQInterfaceImplementation.h
11 @author Matthias Richter
13 @brief Implementation of the AliHLTDAQInterfaceImplementation
16 #include "AliHLTDAQ.h"
19 * @class AliHLTDAQInterfaceImplementation
20 * Implementation of the AliHLTDAQVirtualInterface
22 * For the sake of library (in)dependencies, AliDAQ can not be used directly in
23 * libHLTbase as this would introduce dependencies to AliRoot libraries.
24 * The AliHLTDAQVirtualInterface provides a virtual interface to AliDAQ with
25 * the implementation in libHLTrec.so.
26 * See AliHLTDAQVirtualInterface for usage.
28 * @ingroup alihlt_aliroot_reconstruction
30 class AliHLTDAQInterfaceImplementation : public AliHLTDAQ {
33 AliHLTDAQInterfaceImplementation();
35 virtual ~AliHLTDAQInterfaceImplementation();
37 Int_t VirtNumberOfDetectors();
39 Int_t VirtDetectorID(const char *detectorName);
40 const char *VirtDetectorName(Int_t detectorID);
42 Int_t VirtDdlIDOffset(const char *detectorName);
43 Int_t VirtDdlIDOffset(Int_t detectorID);
45 const char *VirtDetectorNameFromDdlID(Int_t ddlID, Int_t &ddlIndex);
46 Int_t VirtDetectorIDFromDdlID(Int_t ddlID, Int_t &ddlIndex);
48 Int_t VirtDdlID(const char *detectorName, Int_t ddlIndex);
49 Int_t VirtDdlID(Int_t detectorID, Int_t ddlIndex);
50 const char *VirtDdlFileName(const char *detectorName, Int_t ddlIndex);
51 const char *VirtDdlFileName(Int_t detectorID, Int_t ddlIndex);
53 Int_t VirtNumberOfDdls(const char *detectorName);
54 Int_t VirtNumberOfDdls(Int_t detectorID);
56 const char *VirtListOfTriggeredDetectors(UInt_t detectorPattern);
57 UInt_t VirtDetectorPattern(const char *detectorList);
59 const char *VirtOfflineModuleName(const char *detectorName);
60 const char *VirtOfflineModuleName(Int_t detectorID);
62 const char *VirtOnlineName(const char *detectorName);
63 const char *VirtOnlineName(Int_t detectorID);
68 /** copy constructor prohibited */
69 AliHLTDAQInterfaceImplementation(const AliHLTDAQInterfaceImplementation&);
70 /** assignment operator prohibited */
71 AliHLTDAQInterfaceImplementation& operator=(const AliHLTDAQInterfaceImplementation&);
73 ClassDef(AliHLTDAQInterfaceImplementation, 0)