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
29 #include "AliHLTHOMERSourceDesc.h"
31 ClassImp(AliHLTHOMERSourceDesc)
33 //##################################################################################
34 AliHLTHOMERSourceDesc::AliHLTHOMERSourceDesc() :
44 // see header file for class documentation
46 // refer to README to build package
48 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
51 //##################################################################################
52 AliHLTHOMERSourceDesc::~AliHLTHOMERSourceDesc() {
53 // see header file for class documentation
57 * ---------------------------------------------------------------------------------
59 * ---------------------------------------------------------------------------------
62 //#################################################################################
63 void AliHLTHOMERSourceDesc::SetService( TString hostname, Int_t port, TString origin,
64 TString type, TString spec ) {
65 // see header file for class documentation
71 fDataType.Remove( TString::kTrailing, ' ' );
74 fDetector.Remove( TString::kTrailing, ' ' );
76 // -- Temporary until Specification is set in service
77 fSpecification = static_cast<ULong_t>(spec.Atoll());
81 fSourceName.Form("%s_%s_0x%08lX", fDetector.Data(), fDataType.Data(), fSpecification );