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

#include <MuonDQAHistMap.h>

Collaboration diagram for MuonDQAHistList_LW:

Public Member Functions

void clear ()
 
void addHist (TH1F_LW *p)
 
void addHist (TH2F_LW *p)
 
TH1F_LWgetH1 (const std::string &hist_name) const
 
TH2F_LWgetH2 (const std::string &hist_name) const
 

Private Attributes

std::vector< TH1F_LW * > m_H1s
 
std::vector< TH2F_LW * > m_H2s
 

Detailed Description

Definition at line 69 of file MuonDQAHistMap.h.

Member Function Documentation

◆ addHist() [1/2]

void MuonDQAHistList_LW::addHist ( TH1F_LW p)
inline

Definition at line 75 of file MuonDQAHistMap.h.

75  {
76  m_H1s.push_back(p);
77  }

◆ addHist() [2/2]

void MuonDQAHistList_LW::addHist ( TH2F_LW p)
inline

Definition at line 78 of file MuonDQAHistMap.h.

78  {
79  m_H2s.push_back(p);
80  }

◆ clear()

void MuonDQAHistList_LW::clear ( )
inline

Definition at line 71 of file MuonDQAHistMap.h.

71  {
72  m_H1s.clear();
73  m_H2s.clear();
74  }

◆ getH1()

TH1F_LW* MuonDQAHistList_LW::getH1 ( const std::string &  hist_name) const
inline

Definition at line 82 of file MuonDQAHistMap.h.

82  {
83  std::vector<TH1F_LW*>::const_iterator it = m_H1s.begin(),
84  itEnd = m_H1s.end();
85  for ( ; it != itEnd; ++it ) {
86  if ( (*it)->GetName() == hist_name ) {
87  return *it;
88  }
89  }
90  return 0;
91  }

◆ getH2()

TH2F_LW* MuonDQAHistList_LW::getH2 ( const std::string &  hist_name) const
inline

Definition at line 92 of file MuonDQAHistMap.h.

92  {
93  std::vector<TH2F_LW*>::const_iterator it = m_H2s.begin(),
94  itEnd = m_H2s.end();
95  for ( ; it != itEnd; ++it ) {
96  if ( (*it)->GetName() == hist_name ) {
97  return *it;
98  }
99  }
100  return 0;
101  }

Member Data Documentation

◆ m_H1s

std::vector<TH1F_LW*> MuonDQAHistList_LW::m_H1s
private

Definition at line 104 of file MuonDQAHistMap.h.

◆ m_H2s

std::vector<TH2F_LW*> MuonDQAHistList_LW::m_H2s
private

Definition at line 105 of file MuonDQAHistMap.h.


The documentation for this class was generated from the following file:
MuonDQAHistList_LW::m_H1s
std::vector< TH1F_LW * > m_H1s
Definition: MuonDQAHistMap.h:104
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
skel.it
it
Definition: skel.GENtoEVGEN.py:423
MuonDQAHistList_LW::m_H2s
std::vector< TH2F_LW * > m_H2s
Definition: MuonDQAHistMap.h:105