#include <CaloOnlineTools/HcalOnlineDb/interface/HcalChannelIterator.h>
Public Member Functions | |
int | addListFromLmapAscii (std::string filename) |
int | begin (void) |
int | clearChannelList (void) |
bool | end (void) |
int | getDepth (void) |
HcalGenericDetId | getHcalGenericDetId (void) |
HcalSubdetector | getHcalSubdetector (void) |
int | getIeta (void) |
int | getIphi (void) |
HcalChannelIterator () | |
int | init (const std::vector< HcalGenericDetId > &map) |
int | initHBEFListFromLmapAscii (void) |
int | next (void) |
int | size (void) |
virtual | ~HcalChannelIterator () |
Private Attributes | |
std::vector< HcalGenericDetId > | channel_list |
std::vector< HcalGenericDetId > ::const_iterator | const_iterator |
Description: Iterators over HCAL channels using various sources
Usage: <usage>
Definition at line 27 of file HcalChannelIterator.h.
HcalChannelIterator::HcalChannelIterator | ( | ) |
Definition at line 18 of file HcalChannelIterator.cc.
|
virtual |
Definition at line 23 of file HcalChannelIterator.cc.
int HcalChannelIterator::addListFromLmapAscii | ( | std::string | filename | ) |
Definition at line 40 of file HcalChannelIterator.cc.
References channel_list, prof2calltree::count, gather_cfg::cout, HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, recoMuon::in, groupFilesInBlocks::lines, size(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initHBEFListFromLmapAscii().
int HcalChannelIterator::begin | ( | void | ) |
Definition at line 88 of file HcalChannelIterator.cc.
References channel_list, and const_iterator.
Referenced by HcalChannelQualityXml::set_all_channels_on_off(), and HcalChannelQualityXml::set_all_channels_status().
int HcalChannelIterator::clearChannelList | ( | void | ) |
Definition at line 34 of file HcalChannelIterator.cc.
References channel_list.
Referenced by initHBEFListFromLmapAscii().
bool HcalChannelIterator::end | ( | void | ) |
Definition at line 100 of file HcalChannelIterator.cc.
References channel_list, and const_iterator.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), HcalChannelQualityXml::set_all_channels_on_off(), and HcalChannelQualityXml::set_all_channels_status().
int HcalChannelIterator::getDepth | ( | void | ) |
Definition at line 147 of file HcalChannelIterator.cc.
References channel_list, const_iterator, and HcalDetId::depth().
Referenced by HcalChannelQualityXml::set_all_channels_on_off(), and HcalChannelQualityXml::set_all_channels_status().
HcalGenericDetId HcalChannelIterator::getHcalGenericDetId | ( | void | ) |
Definition at line 110 of file HcalChannelIterator.cc.
References channel_list, and const_iterator.
HcalSubdetector HcalChannelIterator::getHcalSubdetector | ( | void | ) |
Definition at line 120 of file HcalChannelIterator.cc.
References channel_list, const_iterator, HcalOther, and HcalDetId::subdet().
Referenced by HcalChannelQualityXml::set_all_channels_on_off(), and HcalChannelQualityXml::set_all_channels_status().
int HcalChannelIterator::getIeta | ( | void | ) |
Definition at line 129 of file HcalChannelIterator.cc.
References channel_list, const_iterator, and HcalDetId::ieta().
Referenced by HcalChannelQualityXml::set_all_channels_on_off(), and HcalChannelQualityXml::set_all_channels_status().
int HcalChannelIterator::getIphi | ( | void | ) |
Definition at line 138 of file HcalChannelIterator.cc.
References channel_list, const_iterator, and HcalDetId::iphi().
Referenced by HcalChannelQualityXml::set_all_channels_on_off(), and HcalChannelQualityXml::set_all_channels_status().
int HcalChannelIterator::init | ( | const std::vector< HcalGenericDetId > & | map | ) |
Definition at line 164 of file HcalChannelIterator.cc.
References channel_list, and python.multivaluedict::map().
int HcalChannelIterator::initHBEFListFromLmapAscii | ( | void | ) |
Definition at line 156 of file HcalChannelIterator.cc.
References addListFromLmapAscii(), channel_list, and clearChannelList().
Referenced by HcalChannelQualityXml::set_all_channels_on_off(), and HcalChannelQualityXml::set_all_channels_status().
int HcalChannelIterator::next | ( | void | ) |
Definition at line 94 of file HcalChannelIterator.cc.
References const_iterator.
Referenced by BeautifulSoup.PageElement::_invert(), HcalChannelQualityXml::set_all_channels_on_off(), and HcalChannelQualityXml::set_all_channels_status().
int HcalChannelIterator::size | ( | void | ) |
Definition at line 29 of file HcalChannelIterator.cc.
References channel_list.
Referenced by addListFromLmapAscii().
|
private |
Definition at line 54 of file HcalChannelIterator.h.
Referenced by addListFromLmapAscii(), begin(), clearChannelList(), end(), getDepth(), getHcalGenericDetId(), getHcalSubdetector(), getIeta(), getIphi(), init(), initHBEFListFromLmapAscii(), and size().
|
private |
Definition at line 55 of file HcalChannelIterator.h.
Referenced by begin(), end(), getDepth(), getHcalGenericDetId(), getHcalSubdetector(), getIeta(), getIphi(), and next().