#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 (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 28 of file HcalChannelIterator.h.
HcalChannelIterator::HcalChannelIterator | ( | ) |
Definition at line 19 of file HcalChannelIterator.cc.
|
virtual |
Definition at line 24 of file HcalChannelIterator.cc.
int HcalChannelIterator::addListFromLmapAscii | ( | std::string | filename | ) |
Definition at line 41 of file HcalChannelIterator.cc.
References _depth, channel_list, prof2calltree::count, gather_cfg::cout, HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, recoMuon::in, groupFilesInBlocks::lines, and size().
Referenced by initHBEFListFromLmapAscii().
int HcalChannelIterator::begin | ( | void | ) |
Definition at line 89 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 35 of file HcalChannelIterator.cc.
References channel_list.
Referenced by initHBEFListFromLmapAscii().
bool HcalChannelIterator::end | ( | void | ) |
Definition at line 101 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 148 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 111 of file HcalChannelIterator.cc.
References channel_list, and const_iterator.
HcalSubdetector HcalChannelIterator::getHcalSubdetector | ( | void | ) |
Definition at line 121 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 130 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 139 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 | ( | std::vector< HcalGenericDetId > | map | ) |
Definition at line 165 of file HcalChannelIterator.cc.
References channel_list, and Association::map.
int HcalChannelIterator::initHBEFListFromLmapAscii | ( | void | ) |
Definition at line 157 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 95 of file HcalChannelIterator.cc.
References const_iterator.
Referenced by HcalChannelQualityXml::set_all_channels_on_off(), and HcalChannelQualityXml::set_all_channels_status().
int HcalChannelIterator::size | ( | void | ) |
Definition at line 30 of file HcalChannelIterator.cc.
References channel_list.
Referenced by addListFromLmapAscii().
|
private |
Definition at line 55 of file HcalChannelIterator.h.
Referenced by addListFromLmapAscii(), begin(), clearChannelList(), end(), getDepth(), getHcalGenericDetId(), getHcalSubdetector(), getIeta(), getIphi(), init(), initHBEFListFromLmapAscii(), and size().
|
private |
Definition at line 56 of file HcalChannelIterator.h.
Referenced by begin(), end(), getDepth(), getHcalGenericDetId(), getHcalSubdetector(), getIeta(), getIphi(), and next().