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

#include <TrigPileUpInfo.h>

Collaboration diagram for TrigPileUpInfo:

Public Member Functions

 TrigPileUpInfo ()
 
void clear ()
 
int numFJ ()
 
int numBJ ()
 
int numPV ()
 
void addFJ (int)
 
void addBJ (int)
 
void addPV (int)
 
int getFJ (unsigned int index) const
 
int getBJ (unsigned int index) const
 
int getPV (unsigned int index) const
 
const std::vector< int > & getFJVec () const
 
const std::vector< int > & getBJVec () const
 
const std::vector< int > & getPVVec () const
 

Private Attributes

std::vector< int > m_FJ
 
std::vector< int > m_BJ
 
std::vector< int > m_PV_Track
 

Detailed Description

Definition at line 17 of file TrigPileUpInfo.h.

Constructor & Destructor Documentation

◆ TrigPileUpInfo()

TrigPileUpInfo::TrigPileUpInfo ( )

Definition at line 11 of file TrigPileUpInfo.cxx.

11  {
12  clear();
13 }

Member Function Documentation

◆ addBJ()

void TrigPileUpInfo::addBJ ( int  BJ)

Definition at line 61 of file TrigPileUpInfo.cxx.

61  {
62  m_BJ.push_back(BJ);
63 }

◆ addFJ()

void TrigPileUpInfo::addFJ ( int  FJ)

Definition at line 57 of file TrigPileUpInfo.cxx.

57  {
58  m_FJ.push_back(FJ);
59 }

◆ addPV()

void TrigPileUpInfo::addPV ( int  PV_Track)

Definition at line 65 of file TrigPileUpInfo.cxx.

65  {
66  m_PV_Track.push_back(PV_Track);
67 }

◆ clear()

void TrigPileUpInfo::clear ( )

Definition at line 16 of file TrigPileUpInfo.cxx.

16  {
17  m_FJ.clear();
18  m_BJ.clear();
19  m_PV_Track.clear();
20 }

◆ getBJ()

int TrigPileUpInfo::getBJ ( unsigned int  index) const

Definition at line 30 of file TrigPileUpInfo.cxx.

30  {
31  if (index < m_BJ.size())
32  return m_BJ.at(index);
33  else
34  return 0; //<! safe but silent!
35 }

◆ getBJVec()

const std::vector< int > & TrigPileUpInfo::getBJVec ( ) const

Definition at line 48 of file TrigPileUpInfo.cxx.

48  {
49  return m_BJ;
50 }

◆ getFJ()

int TrigPileUpInfo::getFJ ( unsigned int  index) const

Definition at line 23 of file TrigPileUpInfo.cxx.

23  {
24  if (index < m_FJ.size())
25  return m_FJ.at(index);
26  else
27  return 0; //<! safe but silent!
28 }

◆ getFJVec()

const std::vector< int > & TrigPileUpInfo::getFJVec ( ) const

Definition at line 44 of file TrigPileUpInfo.cxx.

44  {
45  return m_FJ;
46 }

◆ getPV()

int TrigPileUpInfo::getPV ( unsigned int  index) const

Definition at line 37 of file TrigPileUpInfo.cxx.

37  {
38  if (index < m_PV_Track.size())
39  return m_PV_Track.at(index);
40  else
41  return 0; //<! safe but silent!
42 }

◆ getPVVec()

const std::vector< int > & TrigPileUpInfo::getPVVec ( ) const

Definition at line 52 of file TrigPileUpInfo.cxx.

52  {
53  return m_PV_Track;
54 }

◆ numBJ()

int TrigPileUpInfo::numBJ ( )
inline

Definition at line 26 of file TrigPileUpInfo.h.

26 { return (int) m_BJ.size(); }

◆ numFJ()

int TrigPileUpInfo::numFJ ( )
inline

Definition at line 25 of file TrigPileUpInfo.h.

25 { return (int) m_FJ.size(); }

◆ numPV()

int TrigPileUpInfo::numPV ( )
inline

Definition at line 27 of file TrigPileUpInfo.h.

27 { return (int) m_PV_Track.size(); }

Member Data Documentation

◆ m_BJ

std::vector<int> TrigPileUpInfo::m_BJ
private

Definition at line 44 of file TrigPileUpInfo.h.

◆ m_FJ

std::vector<int> TrigPileUpInfo::m_FJ
private

Definition at line 43 of file TrigPileUpInfo.h.

◆ m_PV_Track

std::vector<int> TrigPileUpInfo::m_PV_Track
private

Definition at line 45 of file TrigPileUpInfo.h.


The documentation for this class was generated from the following files:
index
Definition: index.py:1
TrigPileUpInfo::m_FJ
std::vector< int > m_FJ
Definition: TrigPileUpInfo.h:43
TrigPileUpInfo::m_BJ
std::vector< int > m_BJ
Definition: TrigPileUpInfo.h:44
TrigPileUpInfo::clear
void clear()
Definition: TrigPileUpInfo.cxx:16
TrigPileUpInfo::m_PV_Track
std::vector< int > m_PV_Track
Definition: TrigPileUpInfo.h:45