ATLAS Offline Software
Trigger
TrigT1
TrigT1RPClogic
src
RPCtrigDataObject.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include <iomanip>
6
#include "
TrigT1RPClogic/RPCtrigDataObject.h
"
7
8
using namespace
std;
9
10
RPCtrigDataObject::RPCtrigDataObject
(
int
num
,
const
std::string&
name
) :
11
BaseObject
(
Data
,
name
),m_number(
num
) {}
12
13
RPCtrigDataObject::RPCtrigDataObject
(
int
num
,
const
char
*
name
) :
14
BaseObject
(
Data
,
name
),m_number(
num
) {}
15
16
RPCtrigDataObject::RPCtrigDataObject
(
const
RPCtrigDataObject
&
obj
) :
17
BaseObject
(
Data
,
obj
.
name
())
18
{
19
m_number
=
obj
.number();
20
}
21
22
RPCtrigDataObject
23
RPCtrigDataObject::operator=
(
const
RPCtrigDataObject
&
obj
)
24
{
25
static_cast<
BaseObject
&
>
(*this) =
static_cast<
const
BaseObject
&
>
(
obj
);
26
m_number
=
obj
.number();
27
return
*
this
;
28
}
29
30
void
31
RPCtrigDataObject::Print
(ostream&
stream
,
bool
detail
)
const
32
{
33
detail
=
true
;
34
if
(
detail
)
35
{
36
stream
<<
name
() <<
" number "
<< setw(3) <<
number
();
37
}
38
stream
<< endl;
39
}
40
41
void
42
RPCtrigDataObject::set_number
(
int
number
)
43
{
44
m_number
=
number
;
45
}
RPCtrigDataObject::m_number
int m_number
Definition:
RPCtrigDataObject.h:17
RPCtrigDataObject::RPCtrigDataObject
RPCtrigDataObject(int, const std::string &)
Definition:
RPCtrigDataObject.cxx:10
BaseObject::name
const std::string & name() const
Definition:
BaseObject.h:23
Data
@ Data
Definition:
BaseObject.h:11
detail
Definition:
extract_histogram_tag.cxx:14
AthenaPoolTestWrite.stream
string stream
Definition:
AthenaPoolTestWrite.py:12
RPCtrigDataObject::Print
void Print(std::ostream &, bool) const
Definition:
RPCtrigDataObject.cxx:31
RPCtrigDataObject::set_number
void set_number(int)
Definition:
RPCtrigDataObject.cxx:42
trigbs_pickEvents.num
num
Definition:
trigbs_pickEvents.py:76
python.selection.number
number
Definition:
selection.py:20
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
RPCtrigDataObject
Definition:
RPCtrigDataObject.h:15
BaseObject
Definition:
BaseObject.h:13
RPCtrigDataObject.h
RPCtrigDataObject::number
int number(void) const
Definition:
RPCtrigDataObject.h:29
python.PyAthena.obj
obj
Definition:
PyAthena.py:132
RPCtrigDataObject::operator=
RPCtrigDataObject operator=(const RPCtrigDataObject &)
Definition:
RPCtrigDataObject.cxx:23
Generated on Sun Dec 22 2024 21:17:26 for ATLAS Offline Software by
1.8.18