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

#include <BeamSpotID.h>

Collaboration diagram for BeamSpot::ID:

Public Member Functions

 ID ()
 
unsigned int runNumber () const
 
unsigned int lumiBlock () const
 
unsigned int pileup () const
 
unsigned int bcid () const
 
unsigned long timeStamp () const
 
void runNumber (unsigned int run)
 
void lumiBlock (unsigned int lb)
 
void pileup (unsigned int pileup)
 
void bcid (unsigned int bcid)
 
void timeStamp (unsigned long time)
 
bool operator< (const ID &) const
 

Private Attributes

unsigned int m_runNumber
 
unsigned int m_lumiBlock
 
unsigned int m_pileup
 
unsigned int m_bcid
 
unsigned long m_timeStamp
 

Detailed Description

Definition at line 10 of file BeamSpotID.h.

Constructor & Destructor Documentation

◆ ID()

BeamSpot::ID::ID ( )
inline

Definition at line 12 of file BeamSpotID.h.

12 :m_runNumber(0), m_lumiBlock(0), m_pileup(0), m_bcid(0), m_timeStamp(0) {}

Member Function Documentation

◆ bcid() [1/2]

unsigned int BeamSpot::ID::bcid ( ) const
inline

Definition at line 16 of file BeamSpotID.h.

16 {return m_bcid; }

◆ bcid() [2/2]

void BeamSpot::ID::bcid ( unsigned int  bcid)
inline

Definition at line 22 of file BeamSpotID.h.

22 {m_bcid = bcid; }

◆ lumiBlock() [1/2]

unsigned int BeamSpot::ID::lumiBlock ( ) const
inline

Definition at line 14 of file BeamSpotID.h.

14 {return m_lumiBlock; }

◆ lumiBlock() [2/2]

void BeamSpot::ID::lumiBlock ( unsigned int  lb)
inline

Definition at line 20 of file BeamSpotID.h.

20 {m_lumiBlock = lb;}

◆ operator<()

bool BeamSpot::ID::operator< ( const ID rhs) const

Definition at line 7 of file BeamSpotID.cxx.

7  {
8  if ( m_timeStamp < rhs.m_timeStamp ) return true;
9  if ( m_timeStamp > rhs.m_timeStamp ) return false;
10  if ( m_pileup < rhs.m_pileup ) return true;
11  if ( m_pileup > rhs.m_pileup ) return false;
12  if ( m_bcid < rhs.m_bcid ) return true;
13  if ( m_bcid > rhs.m_bcid ) return false;
14  if ( m_lumiBlock < rhs.m_lumiBlock ) return true;
15  if ( m_lumiBlock > rhs.m_lumiBlock ) return false;
16  if ( m_runNumber < rhs.m_runNumber ) return true;
17  if ( m_runNumber > rhs.m_runNumber ) return false;
18  return false;
19 }

◆ pileup() [1/2]

unsigned int BeamSpot::ID::pileup ( ) const
inline

Definition at line 15 of file BeamSpotID.h.

15 {return m_pileup; }

◆ pileup() [2/2]

void BeamSpot::ID::pileup ( unsigned int  pileup)
inline

Definition at line 21 of file BeamSpotID.h.

21 {m_pileup = pileup;}

◆ runNumber() [1/2]

unsigned int BeamSpot::ID::runNumber ( ) const
inline

Definition at line 13 of file BeamSpotID.h.

13 {return m_runNumber; }

◆ runNumber() [2/2]

void BeamSpot::ID::runNumber ( unsigned int  run)
inline

Definition at line 19 of file BeamSpotID.h.

19 {m_runNumber = run;}

◆ timeStamp() [1/2]

unsigned long BeamSpot::ID::timeStamp ( ) const
inline

Definition at line 17 of file BeamSpotID.h.

17 {return m_timeStamp; }

◆ timeStamp() [2/2]

void BeamSpot::ID::timeStamp ( unsigned long  time)
inline

Definition at line 23 of file BeamSpotID.h.

23 {m_timeStamp = time;}

Member Data Documentation

◆ m_bcid

unsigned int BeamSpot::ID::m_bcid
private

Definition at line 32 of file BeamSpotID.h.

◆ m_lumiBlock

unsigned int BeamSpot::ID::m_lumiBlock
private

Definition at line 30 of file BeamSpotID.h.

◆ m_pileup

unsigned int BeamSpot::ID::m_pileup
private

Definition at line 31 of file BeamSpotID.h.

◆ m_runNumber

unsigned int BeamSpot::ID::m_runNumber
private

Definition at line 29 of file BeamSpotID.h.

◆ m_timeStamp

unsigned long BeamSpot::ID::m_timeStamp
private

Definition at line 33 of file BeamSpotID.h.


The documentation for this class was generated from the following files:
BeamSpot::ID::m_lumiBlock
unsigned int m_lumiBlock
Definition: BeamSpotID.h:30
run
int run(int argc, char *argv[])
Definition: ttree2hdf5.cxx:28
BeamSpot::ID::m_timeStamp
unsigned long m_timeStamp
Definition: BeamSpotID.h:33
python.BunchSpacingUtils.lb
lb
Definition: BunchSpacingUtils.py:88
BeamSpot::ID::bcid
unsigned int bcid() const
Definition: BeamSpotID.h:16
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
BeamSpot::ID::m_runNumber
unsigned int m_runNumber
Definition: BeamSpotID.h:29
BeamSpot::ID::m_pileup
unsigned int m_pileup
Definition: BeamSpotID.h:31
BeamSpot::ID::pileup
unsigned int pileup() const
Definition: BeamSpotID.h:15
BeamSpot::ID::m_bcid
unsigned int m_bcid
Definition: BeamSpotID.h:32