#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 26 of file HcalChannelIterator.h.
HcalChannelIterator::HcalChannelIterator | ( | ) |
Definition at line 18 of file HcalChannelIterator.cc.
|
virtual |
Definition at line 20 of file HcalChannelIterator.cc.
int HcalChannelIterator::addListFromLmapAscii | ( | std::string | filename | ) |
Definition at line 29 of file HcalChannelIterator.cc.
References channel_list, gather_cfg::cout, corrVsCorr::filename, HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, recoMuon::in, groupFilesInBlocks::lines, size(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initHBEFListFromLmapAscii().
int HcalChannelIterator::begin | ( | void | ) |
Definition at line 78 of file HcalChannelIterator.cc.
References channel_list, and const_iterator.
int HcalChannelIterator::clearChannelList | ( | void | ) |
Definition at line 24 of file HcalChannelIterator.cc.
References channel_list.
Referenced by initHBEFListFromLmapAscii().
bool HcalChannelIterator::end | ( | void | ) |
Definition at line 88 of file HcalChannelIterator.cc.
References channel_list, and const_iterator.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
int HcalChannelIterator::getDepth | ( | void | ) |
Definition at line 128 of file HcalChannelIterator.cc.
References channel_list, const_iterator, and HcalDetId::depth().
HcalGenericDetId HcalChannelIterator::getHcalGenericDetId | ( | void | ) |
HcalSubdetector HcalChannelIterator::getHcalSubdetector | ( | void | ) |
Definition at line 104 of file HcalChannelIterator.cc.
References channel_list, const_iterator, HcalOther, and HcalDetId::subdet().
int HcalChannelIterator::getIeta | ( | void | ) |
Definition at line 112 of file HcalChannelIterator.cc.
References channel_list, const_iterator, and HcalDetId::ieta().
int HcalChannelIterator::getIphi | ( | void | ) |
Definition at line 120 of file HcalChannelIterator.cc.
References channel_list, const_iterator, and HcalDetId::iphi().
int HcalChannelIterator::init | ( | const std::vector< HcalGenericDetId > & | map | ) |
Definition at line 143 of file HcalChannelIterator.cc.
References channel_list, and genParticles_cff::map.
int HcalChannelIterator::initHBEFListFromLmapAscii | ( | void | ) |
Definition at line 136 of file HcalChannelIterator.cc.
References addListFromLmapAscii(), channel_list, and clearChannelList().
int HcalChannelIterator::next | ( | void | ) |
Definition at line 83 of file HcalChannelIterator.cc.
References const_iterator.
int HcalChannelIterator::size | ( | void | ) |
Definition at line 22 of file HcalChannelIterator.cc.
References channel_list.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and addListFromLmapAscii().
|
private |
Definition at line 50 of file HcalChannelIterator.h.
Referenced by addListFromLmapAscii(), begin(), clearChannelList(), end(), getDepth(), getHcalGenericDetId(), getHcalSubdetector(), getIeta(), getIphi(), init(), initHBEFListFromLmapAscii(), and size().
|
private |
Definition at line 51 of file HcalChannelIterator.h.
Referenced by begin(), end(), getDepth(), getHcalGenericDetId(), getHcalSubdetector(), getIeta(), getIphi(), and next().