#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, KineDebug3::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.
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(), and Types.EventRange::cppID().
int HcalChannelIterator::getDepth | ( | void | ) |
Definition at line 147 of file HcalChannelIterator.cc.
References electrons_cff::_id, channel_list, const_iterator, and HcalDetId::depth().
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 electrons_cff::_id, channel_list, const_iterator, HcalOther, and HcalDetId::subdet().
int HcalChannelIterator::getIeta | ( | void | ) |
Definition at line 129 of file HcalChannelIterator.cc.
References electrons_cff::_id, channel_list, const_iterator, and HcalDetId::ieta().
int HcalChannelIterator::getIphi | ( | void | ) |
Definition at line 138 of file HcalChannelIterator.cc.
References electrons_cff::_id, channel_list, const_iterator, and HcalDetId::iphi().
int HcalChannelIterator::init | ( | const std::vector< HcalGenericDetId > & | map | ) |
Definition at line 164 of file HcalChannelIterator.cc.
References channel_list, and genParticles_cff::map.
int HcalChannelIterator::initHBEFListFromLmapAscii | ( | void | ) |
Definition at line 156 of file HcalChannelIterator.cc.
References addListFromLmapAscii(), channel_list, and clearChannelList().
int HcalChannelIterator::next | ( | void | ) |
Definition at line 94 of file HcalChannelIterator.cc.
References const_iterator.
int HcalChannelIterator::size | ( | void | ) |
Definition at line 29 of file HcalChannelIterator.cc.
References channel_list.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and 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().