]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/BASE/AliHLTHOMERSourceDesc.cxx
Put back the doxygen comments in MUONTRGda.cxx
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTHOMERSourceDesc.cxx
CommitLineData
6fe8cb30 1// $Id$
155ff173 2/**************************************************************************
3 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * *
5 * Authors: Jochen Thaeder <thaeder@kip.uni-heidelberg.de> *
6 * for The ALICE HLT Project. *
7 * *
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 **************************************************************************/
16
17/** @file AliHLTHOMERSourceDesc.cxx
18 @author Jochen Thaeder
19 @date
20 @brief Container for HOMER Sources
21*/
22
23// see header file for class documentation
24// or
25// refer to README to build package
26// or
27// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
28
155ff173 29#include "AliHLTHOMERSourceDesc.h"
30
155ff173 31ClassImp(AliHLTHOMERSourceDesc)
32
33//##################################################################################
34AliHLTHOMERSourceDesc::AliHLTHOMERSourceDesc() :
35 fSelected( kFALSE ),
06272c83 36 fSourceName(),
155ff173 37 fHostname(),
38 fPort(),
06272c83 39 fDataType(),
155ff173 40 fDetector(),
155ff173 41 fSpecification(),
06272c83 42 fSubDetector(),
43 fSubSubDetector() {
155ff173 44 // see header file for class documentation
45 // or
46 // refer to README to build package
47 // or
48 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
49}
50
155ff173 51//##################################################################################
06272c83 52AliHLTHOMERSourceDesc::~AliHLTHOMERSourceDesc() {
155ff173 53 // see header file for class documentation
155ff173 54}
55
06272c83 56/*
57 * ---------------------------------------------------------------------------------
58 * Setter - public
59 * ---------------------------------------------------------------------------------
60 */
155ff173 61
06272c83 62//#################################################################################
63void AliHLTHOMERSourceDesc::SetService( TString hostname, Int_t port, TString origin,
e728e5ba 64 TString type, TString spec ) {
155ff173 65 // see header file for class documentation
155ff173 66
06272c83 67 fHostname = hostname;
68 fPort = port;
69
70 fDataType = type;
71 fDataType.Remove( TString::kTrailing, ' ' );
4faff50e 72
06272c83 73 fDetector = origin;
74 fDetector.Remove( TString::kTrailing, ' ' );
4faff50e 75
06272c83 76 // -- Temporary until Specification is set in service
9e78371d 77 fSpecification = static_cast<ULong_t>(spec.Atoll());
06272c83 78 fSubDetector = 0;
79 fSubSubDetector = 0;
80
6fe8cb30 81 fSourceName.Form("%s_%s_0x%08lX", fDetector.Data(), fDataType.Data(), fSpecification );
4faff50e 82
06272c83 83 return;
84}