ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfJobOptData
src
JobOption.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
//
7
//NAME: JobOption.cpp
8
//AUTHOR: J.Haller (CERN) Johannes.Haller@cern.ch
9
//CREATED: 06. Feb. 2006
10
//
11
//PURPOSE:
12
//
13
//
15
16
#include "
TrigConfJobOptData/JobOption.h
"
17
#include <cstdlib>
18
19
#include <iostream>
20
21
using namespace
std
;
22
23
TrigConf::JobOption::JobOption
(
const
string
& cp_alias,
24
const
string
&
name
,
25
const
string
&
type
,
26
const
string
&
op
,
27
const
string
&
value
)
28
:
m_Component_Alias
(cp_alias),
29
m_Name
(
name
),
30
m_Type
(
type
),
31
m_Op
(
op
),
32
m_Value
(
value
)
33
{}
34
35
void
36
TrigConf::JobOption::print
(
const
std::string&
indent
,
unsigned
int
/*detail*/
)
const
{
37
cout <<
indent
<<
"JobOption: "
<<
m_Component_Alias
<<
"."
<<
m_Name
<<
" = "
<<
m_Value
38
<<
" type: "
<<
m_Type
<<
"\t op: "
<<
m_Op
<< endl;
39
}
40
41
std::ostream&
operator<<
(ostream &o,
const
TrigConf::JobOption
& jo) {
42
o <<
"JobOption: "
<< jo.
component_alias
() <<
"."
<< jo.
name
() <<
" = "
<< jo.
value
()
43
<<
" type: "
<< jo.
type
() <<
"\t op: "
<< jo.
op
();
44
return
o;
45
}
46
47
JobOption.h
TrigConf::JobOption
hold a single job option (parameter and value)
Definition
JobOption.h:32
TrigConf::JobOption::op
const std::string & op() const
accessor to optional set flag
Definition
JobOption.h:56
TrigConf::JobOption::m_Type
std::string m_Type
accessor to parameter type
Definition
JobOption.h:67
TrigConf::JobOption::name
const std::string & name() const
accessor to component alias
Definition
JobOption.h:54
TrigConf::JobOption::m_Op
std::string m_Op
accessor to optional set flag
Definition
JobOption.h:68
TrigConf::JobOption::value
const std::string & value() const
accessor to parameter value
Definition
JobOption.h:57
TrigConf::JobOption::component_alias
const std::string & component_alias() const
Definition
JobOption.h:53
TrigConf::JobOption::JobOption
JobOption(const std::string &cp_alias, const std::string &name, const std::string &type, const std::string &op, const std::string &value)
constructor
Definition
JobOption.cxx:23
TrigConf::JobOption::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
print method
Definition
JobOption.cxx:36
TrigConf::JobOption::m_Name
std::string m_Name
accessor to parameter name
Definition
JobOption.h:66
TrigConf::JobOption::m_Value
std::string m_Value
accessor to parameter value
Definition
JobOption.h:69
TrigConf::JobOption::type
const std::string & type() const
accessor to parameter type
Definition
JobOption.h:55
TrigConf::JobOption::m_Component_Alias
std::string m_Component_Alias
accessor to component alias
Definition
JobOption.h:65
TrigConf::TrigConfData::indent
std::ostream & indent(std::ostream &o, int lvl, int size) const
Definition
TrigConfData.cxx:23
TrigConf::operator<<
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)
Definition
L1ThresholdBase.cxx:339
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0