ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
RPCtrigDataObject Class Reference

#include <RPCtrigDataObject.h>

Inherits BaseObject.

Inherited by bitPATTERN, CMApatterns, CMAreadout, CMAtrigger, MuonSimuTrack, PADpatterns, PADreadout, RPCbytestream, RPCdigit, and SLpatterns.

Collaboration diagram for RPCtrigDataObject:

Public Member Functions

 RPCtrigDataObject (int, const std::string &)
 
 RPCtrigDataObject (int, const char *)
 
 RPCtrigDataObject (const RPCtrigDataObject &)
 
 ~RPCtrigDataObject ()
 
RPCtrigDataObject operator= (const RPCtrigDataObject &)
 
void set_number (int)
 
int number (void) const
 
void PrintElement (std::ostream &, std::string, bool) const
 
void Print (std::ostream &, bool) const
 
ObjectType tag () const
 
const std::string & name () const
 

Private Attributes

int m_number
 
ObjectType m_tag
 
std::string m_name
 

Detailed Description

Definition at line 14 of file RPCtrigDataObject.h.

Constructor & Destructor Documentation

◆ RPCtrigDataObject() [1/3]

RPCtrigDataObject::RPCtrigDataObject ( int  num,
const std::string &  name 
)

Definition at line 10 of file RPCtrigDataObject.cxx.

10  :

◆ RPCtrigDataObject() [2/3]

RPCtrigDataObject::RPCtrigDataObject ( int  num,
const char *  name 
)

Definition at line 13 of file RPCtrigDataObject.cxx.

13  :

◆ RPCtrigDataObject() [3/3]

RPCtrigDataObject::RPCtrigDataObject ( const RPCtrigDataObject obj)

Definition at line 16 of file RPCtrigDataObject.cxx.

16  :
17  BaseObject(Data,obj.name())
18 {
19  m_number = obj.number();
20 }

◆ ~RPCtrigDataObject()

RPCtrigDataObject::~RPCtrigDataObject ( )
inline

Definition at line 23 of file RPCtrigDataObject.h.

23 {}

Member Function Documentation

◆ name()

const std::string& BaseObject::name ( ) const
inlineinherited

Definition at line 23 of file BaseObject.h.

23 { return m_name; }

◆ number()

int RPCtrigDataObject::number ( void  ) const
inline

Definition at line 29 of file RPCtrigDataObject.h.

29 {return m_number;}

◆ operator=()

RPCtrigDataObject RPCtrigDataObject::operator= ( const RPCtrigDataObject obj)

Definition at line 23 of file RPCtrigDataObject.cxx.

24 {
25  static_cast<BaseObject&>(*this) = static_cast<const BaseObject&>(obj);
26  m_number = obj.number();
27  return*this;
28 }

◆ Print()

void RPCtrigDataObject::Print ( std::ostream &  stream,
bool  detail 
) const
virtual

Reimplemented from BaseObject.

Reimplemented in SLpatterns.

Definition at line 31 of file RPCtrigDataObject.cxx.

32 {
33  detail = true;
34  if(detail)
35  {
36  stream << name() << " number " << setw(3) << number();
37  }
38  stream << endl;
39 }

◆ PrintElement()

void RPCtrigDataObject::PrintElement ( std::ostream &  ,
std::string  ,
bool   
) const
inline

Definition at line 31 of file RPCtrigDataObject.h.

31 {}

◆ set_number()

void RPCtrigDataObject::set_number ( int  number)

Definition at line 42 of file RPCtrigDataObject.cxx.

43 {
44  m_number = number;
45 }

◆ tag()

ObjectType BaseObject::tag ( ) const
inlineinherited

Definition at line 22 of file BaseObject.h.

22 { return m_tag; }

Member Data Documentation

◆ m_name

std::string BaseObject::m_name
privateinherited

Definition at line 16 of file BaseObject.h.

◆ m_number

int RPCtrigDataObject::m_number
private

Definition at line 17 of file RPCtrigDataObject.h.

◆ m_tag

ObjectType BaseObject::m_tag
privateinherited

Definition at line 15 of file BaseObject.h.


The documentation for this class was generated from the following files:
RPCtrigDataObject::m_number
int m_number
Definition: RPCtrigDataObject.h:17
BaseObject::name
const std::string & name() const
Definition: BaseObject.h:23
BaseObject::m_name
std::string m_name
Definition: BaseObject.h:16
Data
@ Data
Definition: BaseObject.h:11
detail
Definition: extract_histogram_tag.cxx:14
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
trigbs_pickEvents.num
num
Definition: trigbs_pickEvents.py:76
BaseObject
Definition: BaseObject.h:13
BaseObject::BaseObject
BaseObject(ObjectType, const std::string &)
Definition: BaseObject.cxx:7
RPCtrigDataObject::number
int number(void) const
Definition: RPCtrigDataObject.h:29
BaseObject::m_tag
ObjectType m_tag
Definition: BaseObject.h:15
python.PyAthena.obj
obj
Definition: PyAthena.py:132