2 /**************************************************************************
3 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * Authors: Jochen Thaeder <thaeder@kip.uni-heidelberg.de> *
6 * for The ALICE HLT Project. *
8 * Permission to use, copy, modify and distribute this software and its *
9 * documentation strictly for non-commercial purposes is hereby granted *
10 * without fee, provided that the above copyright notice appears in all *
11 * copies and that both the copyright notice and this permission notice *
12 * appear in the supporting documentation. The authors make no claims *
13 * about the suitability of this software for any purpose. It is *
14 * provided "as is" without express or implied warranty. *
15 **************************************************************************/
17 /** @file AliHLTHOMERSourceDesc.cxx
18 @author Jochen Thaeder
20 @brief Container for HOMER Sources
23 // see header file for class documentation
25 // refer to README to build package
27 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
33 #include "AliHLTHOMERSourceDesc.h"
36 ClassImp(AliHLTHOMERSourceDesc)
38 //##################################################################################
39 AliHLTHOMERSourceDesc::AliHLTHOMERSourceDesc() :
49 // see header file for class documentation
51 // refer to README to build package
53 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
56 //##################################################################################
57 AliHLTHOMERSourceDesc::~AliHLTHOMERSourceDesc() {
58 // see header file for class documentation
62 * ---------------------------------------------------------------------------------
64 * ---------------------------------------------------------------------------------
67 //#################################################################################
68 void AliHLTHOMERSourceDesc::SetService( TString hostname, Int_t port, TString origin,
69 TString type, TString spec ) {
70 // see header file for class documentation
76 fDataType.Remove( TString::kTrailing, ' ' );
79 fDetector.Remove( TString::kTrailing, ' ' );
81 // -- Temporary until Specification is set in service
82 fSpecification = static_cast<ULong_t>(spec.Atoll());
86 fSourceName.Form("%s_%s_0x%08lX", fDetector.Data(), fDataType.Data(), fSpecification );