ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
MuonCalib::MuonCalibEventInfo Class Reference

#include <MuonCalibEventInfo.h>

Collaboration diagram for MuonCalib::MuonCalibEventInfo:

Public Member Functions

 MuonCalibEventInfo ()=default
 Default constructor. More...
 
 MuonCalibEventInfo (const MuonCalibEventInfo &eventInfo)=default
 copyconstructor More...
 
MuonCalibEventInfooperator= (const MuonCalibEventInfo &eventInfo)=default
 
 ~MuonCalibEventInfo ()=default
 destructor More...
 
 MuonCalibEventInfo (unsigned int run_number, unsigned int event_number)
 constructor with runnumber/eventnumber (for sim data) More...
 
 MuonCalibEventInfo (unsigned int run_number, unsigned int event_number, unsigned int time_stamp)
 constructor run/event number and time stamp arguments More...
 
 MuonCalibEventInfo (unsigned int run_number, unsigned int event_number, unsigned int time_stamp, unsigned int lumi_block, unsigned int bc_id)
 
 MuonCalibEventInfo (unsigned int run_number, unsigned int event_number, unsigned int time_stamp, std::string tag)
 constructor from older times More...
 
 MuonCalibEventInfo (unsigned int run_number, unsigned int event_number, unsigned int time_stamp, unsigned int lumi_block, unsigned int bc_id, std::string tag)
 constructor initializing all members More...
 
std::ostream & dump (std::ostream &stream) const
 
unsigned int runNumber () const
 retrieving runnumber of MuonCalibEvent More...
 
unsigned int eventNumber () const
 retrieving eventnumber of MuonCalibevent More...
 
unsigned int timeStamp () const
 retrieving timestamp of MuonCalibEvent More...
 
unsigned int lumiBlock () const
 retrieving lumiblock of MuonCalibEvent More...
 
unsigned int bcId () const
 retrieving bcid of MuonCalibEvent More...
 
const std::string & tag () const
 retrieving reconstruction tag of MuonCalibEvent More...
 
const std::vector< bool > & triggerBits () const
 
void setRunNumber (const unsigned int run_number)
 sets runnumber More...
 
void setEventNumber (const unsigned int event_number)
 sets eventnumber More...
 
void setTimeStamp (const unsigned int time_stamp)
 sets timestamp More...
 
void setLumiBlock (const unsigned int lumi_block)
 sets lumiblock More...
 
void setBcId (const unsigned int bc_id)
 sets bcid More...
 
void setTag (const std::string &tag)
 sets reconstruction tag More...
 
void setNumberOfTriggerBits (unsigned int n)
 
void setTriggerBit (unsigned int n, bool bit)
 

Private Attributes

unsigned int m_runNumber {0}
 runnumber member More...
 
unsigned int m_eventNumber {0}
 eventnumber member More...
 
unsigned int m_timeStamp {0}
 timestamp member More...
 
unsigned int m_lumiBlock {0}
 lumiBlock member More...
 
unsigned int m_bcId {0}
 bcId member More...
 
std::string m_tag {"none"}
 reconstruction tag member More...
 
std::vector< bool > m_trigger_bits
 Trigger bits. More...
 

Detailed Description

MuonCalib::MuonCalibEventInfo: a class which stores the following information of an event:

Moore : Muon reconstruction with the Moore package. One segment per pattern is be stored.

Muonboy : Muon reconstruction with the Muonboy package. One segment per pattern is stored.

MoMu : Modular muon reconstruction is applied. A pattern may contain multiple segments.

Definition at line 32 of file MuonCalibEventInfo.h.

Constructor & Destructor Documentation

◆ MuonCalibEventInfo() [1/7]

MuonCalib::MuonCalibEventInfo::MuonCalibEventInfo ( )
default

Default constructor.

◆ MuonCalibEventInfo() [2/7]

MuonCalib::MuonCalibEventInfo::MuonCalibEventInfo ( const MuonCalibEventInfo eventInfo)
default

copyconstructor

◆ ~MuonCalibEventInfo()

MuonCalib::MuonCalibEventInfo::~MuonCalibEventInfo ( )
default

destructor

◆ MuonCalibEventInfo() [3/7]

MuonCalib::MuonCalibEventInfo::MuonCalibEventInfo ( unsigned int  run_number,
unsigned int  event_number 
)

constructor with runnumber/eventnumber (for sim data)

Definition at line 28 of file MuonCalibEventInfo.cxx.

28  :
29  m_runNumber{run_number}, m_eventNumber{event_number} {}

◆ MuonCalibEventInfo() [4/7]

MuonCalib::MuonCalibEventInfo::MuonCalibEventInfo ( unsigned int  run_number,
unsigned int  event_number,
unsigned int  time_stamp 
)

constructor run/event number and time stamp arguments

Definition at line 31 of file MuonCalibEventInfo.cxx.

31  :
32  m_runNumber{run_number}, m_eventNumber{event_number}, m_timeStamp{time_stamp} {}

◆ MuonCalibEventInfo() [5/7]

MuonCalib::MuonCalibEventInfo::MuonCalibEventInfo ( unsigned int  run_number,
unsigned int  event_number,
unsigned int  time_stamp,
unsigned int  lumi_block,
unsigned int  bc_id 
)

Definition at line 34 of file MuonCalibEventInfo.cxx.

35  :
36  m_runNumber{run_number}, m_eventNumber{event_number}, m_timeStamp{time_stamp}, m_lumiBlock{lumi_block}, m_bcId{bc_id} {}

◆ MuonCalibEventInfo() [6/7]

MuonCalib::MuonCalibEventInfo::MuonCalibEventInfo ( unsigned int  run_number,
unsigned int  event_number,
unsigned int  time_stamp,
std::string  tag 
)

constructor from older times

Definition at line 38 of file MuonCalibEventInfo.cxx.

38  :
39  m_runNumber(run_number), m_eventNumber(event_number), m_timeStamp(time_stamp), m_lumiBlock(0), m_bcId(0), m_tag(std::move(tag)) {}

◆ MuonCalibEventInfo() [7/7]

MuonCalib::MuonCalibEventInfo::MuonCalibEventInfo ( unsigned int  run_number,
unsigned int  event_number,
unsigned int  time_stamp,
unsigned int  lumi_block,
unsigned int  bc_id,
std::string  tag 
)

constructor initializing all members

Definition at line 41 of file MuonCalibEventInfo.cxx.

42  :
43  m_runNumber(run_number), m_eventNumber(event_number), m_timeStamp(time_stamp), m_lumiBlock(lumi_block), m_bcId(bc_id), m_tag(std::move(tag)) {}

Member Function Documentation

◆ bcId()

unsigned int MuonCalib::MuonCalibEventInfo::bcId ( ) const

retrieving bcid of MuonCalibEvent

Definition at line 15 of file MuonCalibEventInfo.cxx.

15 { return m_bcId; }

◆ dump()

std::ostream & MuonCalib::MuonCalibEventInfo::dump ( std::ostream &  stream) const

Definition at line 45 of file MuonCalibEventInfo.cxx.

45  {
46  stream << "MuonCalibEventInfo : " << std::endl;
47  stream << " runnumber = " << runNumber() << std::endl;
48  stream << " eventnumber = " << eventNumber() << std::endl;
49  stream << " timestamp = " << timeStamp() << std::endl;
50  stream << " lumiblock = " << lumiBlock() << std::endl;
51  stream << " bcid = " << bcId() << std::endl;
52  stream << " tag = " << tag() << std::endl;
53  return stream;
54  }

◆ eventNumber()

unsigned int MuonCalib::MuonCalibEventInfo::eventNumber ( ) const

retrieving eventnumber of MuonCalibevent

Definition at line 12 of file MuonCalibEventInfo.cxx.

12 { return m_eventNumber; }

◆ lumiBlock()

unsigned int MuonCalib::MuonCalibEventInfo::lumiBlock ( ) const

retrieving lumiblock of MuonCalibEvent

Definition at line 14 of file MuonCalibEventInfo.cxx.

14 { return m_lumiBlock; }

◆ operator=()

MuonCalibEventInfo& MuonCalib::MuonCalibEventInfo::operator= ( const MuonCalibEventInfo eventInfo)
default

◆ runNumber()

unsigned int MuonCalib::MuonCalibEventInfo::runNumber ( ) const

retrieving runnumber of MuonCalibEvent

Definition at line 11 of file MuonCalibEventInfo.cxx.

11 { return m_runNumber; }

◆ setBcId()

void MuonCalib::MuonCalibEventInfo::setBcId ( const unsigned int  bc_id)

sets bcid

Definition at line 23 of file MuonCalibEventInfo.cxx.

23 { m_bcId = bc_id; }

◆ setEventNumber()

void MuonCalib::MuonCalibEventInfo::setEventNumber ( const unsigned int  event_number)

sets eventnumber

Definition at line 20 of file MuonCalibEventInfo.cxx.

20 { m_eventNumber = event_number; }

◆ setLumiBlock()

void MuonCalib::MuonCalibEventInfo::setLumiBlock ( const unsigned int  lumi_block)

sets lumiblock

Definition at line 22 of file MuonCalibEventInfo.cxx.

22 { m_lumiBlock = lumi_block; }

◆ setNumberOfTriggerBits()

void MuonCalib::MuonCalibEventInfo::setNumberOfTriggerBits ( unsigned int  n)

Definition at line 25 of file MuonCalibEventInfo.cxx.

25 { m_trigger_bits.resize(n); }

◆ setRunNumber()

void MuonCalib::MuonCalibEventInfo::setRunNumber ( const unsigned int  run_number)

sets runnumber

Definition at line 19 of file MuonCalibEventInfo.cxx.

◆ setTag()

void MuonCalib::MuonCalibEventInfo::setTag ( const std::string &  tag)

sets reconstruction tag

Definition at line 24 of file MuonCalibEventInfo.cxx.

24 { m_tag = tag; }

◆ setTimeStamp()

void MuonCalib::MuonCalibEventInfo::setTimeStamp ( const unsigned int  time_stamp)

sets timestamp

Definition at line 21 of file MuonCalibEventInfo.cxx.

21 { m_timeStamp = time_stamp; }

◆ setTriggerBit()

void MuonCalib::MuonCalibEventInfo::setTriggerBit ( unsigned int  n,
bool  bit 
)

Definition at line 26 of file MuonCalibEventInfo.cxx.

26 { m_trigger_bits[n] = bit; }

◆ tag()

const std::string & MuonCalib::MuonCalibEventInfo::tag ( ) const

retrieving reconstruction tag of MuonCalibEvent

Definition at line 16 of file MuonCalibEventInfo.cxx.

16 { return m_tag; }

◆ timeStamp()

unsigned int MuonCalib::MuonCalibEventInfo::timeStamp ( ) const

retrieving timestamp of MuonCalibEvent

Definition at line 13 of file MuonCalibEventInfo.cxx.

13 { return m_timeStamp; }

◆ triggerBits()

const std::vector< bool > & MuonCalib::MuonCalibEventInfo::triggerBits ( ) const

Definition at line 17 of file MuonCalibEventInfo.cxx.

17 { return m_trigger_bits; }

Member Data Documentation

◆ m_bcId

unsigned int MuonCalib::MuonCalibEventInfo::m_bcId {0}
private

bcId member

Definition at line 73 of file MuonCalibEventInfo.h.

◆ m_eventNumber

unsigned int MuonCalib::MuonCalibEventInfo::m_eventNumber {0}
private

eventnumber member

Definition at line 70 of file MuonCalibEventInfo.h.

◆ m_lumiBlock

unsigned int MuonCalib::MuonCalibEventInfo::m_lumiBlock {0}
private

lumiBlock member

Definition at line 72 of file MuonCalibEventInfo.h.

◆ m_runNumber

unsigned int MuonCalib::MuonCalibEventInfo::m_runNumber {0}
private

runnumber member

Definition at line 69 of file MuonCalibEventInfo.h.

◆ m_tag

std::string MuonCalib::MuonCalibEventInfo::m_tag {"none"}
private

reconstruction tag member

Definition at line 74 of file MuonCalibEventInfo.h.

◆ m_timeStamp

unsigned int MuonCalib::MuonCalibEventInfo::m_timeStamp {0}
private

timestamp member

Definition at line 71 of file MuonCalibEventInfo.h.

◆ m_trigger_bits

std::vector<bool> MuonCalib::MuonCalibEventInfo::m_trigger_bits
private

Trigger bits.

Definition at line 75 of file MuonCalibEventInfo.h.


The documentation for this class was generated from the following files:
MuonCalib::MuonCalibEventInfo::bcId
unsigned int bcId() const
retrieving bcid of MuonCalibEvent
Definition: MuonCalibEventInfo.cxx:15
plotting.plot_kinematics.run_number
run_number
Definition: plot_kinematics.py:29
MuonCalib::MuonCalibEventInfo::m_timeStamp
unsigned int m_timeStamp
timestamp member
Definition: MuonCalibEventInfo.h:71
MuonCalib::MuonCalibEventInfo::lumiBlock
unsigned int lumiBlock() const
retrieving lumiblock of MuonCalibEvent
Definition: MuonCalibEventInfo.cxx:14
MuonCalib::MuonCalibEventInfo::m_tag
std::string m_tag
reconstruction tag member
Definition: MuonCalibEventInfo.h:74
MuonCalib::MuonCalibEventInfo::m_eventNumber
unsigned int m_eventNumber
eventnumber member
Definition: MuonCalibEventInfo.h:70
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
MuonCalib::MuonCalibEventInfo::m_lumiBlock
unsigned int m_lumiBlock
lumiBlock member
Definition: MuonCalibEventInfo.h:72
beamspotman.n
n
Definition: beamspotman.py:731
MuonCalib::MuonCalibEventInfo::tag
const std::string & tag() const
retrieving reconstruction tag of MuonCalibEvent
Definition: MuonCalibEventInfo.cxx:16
MuonCalib::MuonCalibEventInfo::m_bcId
unsigned int m_bcId
bcId member
Definition: MuonCalibEventInfo.h:73
MuonCalib::MuonCalibEventInfo::timeStamp
unsigned int timeStamp() const
retrieving timestamp of MuonCalibEvent
Definition: MuonCalibEventInfo.cxx:13
MuonCalib::MuonCalibEventInfo::runNumber
unsigned int runNumber() const
retrieving runnumber of MuonCalibEvent
Definition: MuonCalibEventInfo.cxx:11
MuonCalib::MuonCalibEventInfo::m_trigger_bits
std::vector< bool > m_trigger_bits
Trigger bits.
Definition: MuonCalibEventInfo.h:75
MuonCalib::MuonCalibEventInfo::m_runNumber
unsigned int m_runNumber
runnumber member
Definition: MuonCalibEventInfo.h:69
MuonCalib::MuonCalibEventInfo::eventNumber
unsigned int eventNumber() const
retrieving eventnumber of MuonCalibevent
Definition: MuonCalibEventInfo.cxx:12