ATLAS Offline Software
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>
7 
8 using namespace std;
9 
10 RPCtrigDataObject::RPCtrigDataObject(int num,const std::string& name) :
11  BaseObject(Data,name),m_number(num) {}
12 
14  BaseObject(Data,name),m_number(num) {}
15 
18 {
19  m_number = obj.number();
20 }
21 
24 {
25  static_cast<BaseObject&>(*this) = static_cast<const BaseObject&>(obj);
26  m_number = obj.number();
27  return*this;
28 }
29 
30 void
32 {
33  detail = true;
34  if(detail)
35  {
36  stream << name() << " number " << setw(3) << number();
37  }
38  stream << endl;
39 }
40 
41 void
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