14#ifndef MuonDQAHistMap_H
15#define MuonDQAHistMap_H
38 TH1*
getH1(
const std::string& hist_name )
const {
39 std::vector<TH1*>::const_iterator it =
m_H1s.begin(),
41 for ( ; it != itEnd; ++it ) {
42 if ( (*it)->GetName() == hist_name ) {
48 TH2*
getH2(
const std::string& hist_name )
const {
49 std::vector<TH2*>::const_iterator it =
m_H2s.begin(),
51 for ( ; it != itEnd; ++it ) {
52 if ( (*it)->GetName() == hist_name ) {
72 m_data[station_name] = lst;
76 std::map<std::string,MuonDQAHistList>::iterator it;
77 it =
m_data.find( station_name );
78 if ( it !=
m_data.end() ) {
82 return m_data[station_name];
91 std::map<int, MuonDQAHistList>::iterator it;
102 std::map< std::string, MuonDQAHistList >
m_data;
std::vector< TH2 * > m_H2s
TH2 * getH2(const std::string &hist_name) const
TH1 * getH1(const std::string &hist_name) const
std::vector< TH1 * > m_H1s
std::map< std::string, MuonDQAHistList > m_data
MuonDQAHistList & getList(std::string station_name)
std::map< int, MuonDQAHistList > m_data_int
void addList(const int &station_idInt, const MuonDQAHistList &lst)
void addList(const std::string &station_name, const MuonDQAHistList &lst)
MuonDQAHistList & getList(int station_idInt)