ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::LumiBlockRange_v1 Class Reference

Class describing a luminosity block range. More...

#include <LumiBlockRange_v1.h>

Inheritance diagram for xAOD::LumiBlockRange_v1:
Collaboration diagram for xAOD::LumiBlockRange_v1:

Public Member Functions

 LumiBlockRange_v1 ()
 Default constructor.
 LumiBlockRange_v1 (const LumiBlockRange_v1 &parent)
 Copy constructor.
LumiBlockRange_v1operator= (const LumiBlockRange_v1 &rhs)
 Assignment operator.
Start time of the luminosity block range
uint32_t startRunNumber () const
 Get the run number of the start time of the range.
void setStartRunNumber (uint32_t value)
 Set the run number of the start time of the range.
uint32_t startLumiBlockNumber () const
 Get the luminosity block of the start time of the range.
void setStartLumiBlockNumber (uint32_t value)
 Set the luminosity block of the start time of the range.
Stop time of the luminosity block range
uint32_t stopRunNumber () const
 Get the run number of the stop time of the range.
void setStopRunNumber (uint32_t value)
 Set the run number of the stop time of the range.
uint32_t stopLumiBlockNumber () const
 Get the luminosity block of the stop time of the range.
void setStopLumiBlockNumber (uint32_t value)
 Set the luminosity block of the stop time of the range.
Event numbers in the luminosity block range
uint32_t eventsExpected () const
 Get the number of expected events in this luminosity block range.
void setEventsExpected (uint32_t value)
 Set the number of expected events in this luminosity block range.
uint32_t eventsSeen () const
 Get the number of seen/processed events in this luminosity block range.
void setEventsSeen (uint32_t value)
 Set the number of seen/processed events in this luminosity block range.

Detailed Description

Class describing a luminosity block range.

This class is used in the metadata of ATLAS analysis files to describe which lumiblocks were fully or partly processed to produce a certain file.

Author
Marjorie Shapiro mdsha.nosp@m.piro.nosp@m.@lbl..nosp@m.gov
Attila Krasznahorkay Attil.nosp@m.a.Kr.nosp@m.aszna.nosp@m.hork.nosp@m.ay@ce.nosp@m.rn.c.nosp@m.h
Revision
647501
Date
2015-02-17 15:22:33 +0100 (Tue, 17 Feb 2015)

Definition at line 33 of file LumiBlockRange_v1.h.

Constructor & Destructor Documentation

◆ LumiBlockRange_v1() [1/2]

xAOD::LumiBlockRange_v1::LumiBlockRange_v1 ( )

Default constructor.

Definition at line 15 of file LumiBlockRange_v1.cxx.

16 : SG::AuxElement() {
17
18 }
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.

◆ LumiBlockRange_v1() [2/2]

xAOD::LumiBlockRange_v1::LumiBlockRange_v1 ( const LumiBlockRange_v1 & parent)

Copy constructor.

Definition at line 20 of file LumiBlockRange_v1.cxx.

21 : SG::AuxElement(parent) {
22
23 // Create a private store with the parent's payload:
24 makePrivateStore( parent );
25 }
void makePrivateStore()
Create a new (empty) private store for this object.

Member Function Documentation

◆ eventsExpected()

uint32_t xAOD::LumiBlockRange_v1::eventsExpected ( ) const

Get the number of expected events in this luminosity block range.

◆ eventsSeen()

uint32_t xAOD::LumiBlockRange_v1::eventsSeen ( ) const

Get the number of seen/processed events in this luminosity block range.

◆ operator=()

LumiBlockRange_v1 & xAOD::LumiBlockRange_v1::operator= ( const LumiBlockRange_v1 & rhs)

Assignment operator.

Definition at line 28 of file LumiBlockRange_v1.cxx.

28 {
29
30 // Protect against self-assignment:
31 if( this == &rhs ) {
32 return *this;
33 }
34
35 // If the object is not part of a container, and it doesn't have a private
36 // store, then let's make one now. Otherwise the code would throw an
37 // exception at this point.
38 if( ( ! container() ) && ( ! hasStore() ) ) {
39 makePrivateStore( rhs );
40 return *this;
41 }
42
43 // If it is connected to some store already, then let's use the assignment
44 // operator of the base class to do the heavy lifting:
45 SG::AuxElement::operator=( rhs );
46
47 // Return this object:
48 return *this;
49 }
const SG::AuxVectorData * container() const
Return the container holding this element.
bool hasStore() const
Return true if this object has an associated store.

◆ setEventsExpected()

void xAOD::LumiBlockRange_v1::setEventsExpected ( uint32_t value)

Set the number of expected events in this luminosity block range.

◆ setEventsSeen()

void xAOD::LumiBlockRange_v1::setEventsSeen ( uint32_t value)

Set the number of seen/processed events in this luminosity block range.

◆ setStartLumiBlockNumber()

void xAOD::LumiBlockRange_v1::setStartLumiBlockNumber ( uint32_t value)

Set the luminosity block of the start time of the range.

◆ setStartRunNumber()

void xAOD::LumiBlockRange_v1::setStartRunNumber ( uint32_t value)

Set the run number of the start time of the range.

◆ setStopLumiBlockNumber()

void xAOD::LumiBlockRange_v1::setStopLumiBlockNumber ( uint32_t value)

Set the luminosity block of the stop time of the range.

◆ setStopRunNumber()

void xAOD::LumiBlockRange_v1::setStopRunNumber ( uint32_t value)

Set the run number of the stop time of the range.

◆ startLumiBlockNumber()

uint32_t xAOD::LumiBlockRange_v1::startLumiBlockNumber ( ) const

Get the luminosity block of the start time of the range.

◆ startRunNumber()

uint32_t xAOD::LumiBlockRange_v1::startRunNumber ( ) const

Get the run number of the start time of the range.

◆ stopLumiBlockNumber()

uint32_t xAOD::LumiBlockRange_v1::stopLumiBlockNumber ( ) const

Get the luminosity block of the stop time of the range.

◆ stopRunNumber()

uint32_t xAOD::LumiBlockRange_v1::stopRunNumber ( ) const

Get the run number of the stop time of the range.


The documentation for this class was generated from the following files: