CMS 3D CMS Logo

HcalChannelIterator.h
Go to the documentation of this file.
1 #ifndef CaloOnlineTools_HcalOnlineDb_HcalChannelIterator_h
2 #define CaloOnlineTools_HcalOnlineDb_HcalChannelIterator_h
3 // -*- C++ -*-
4 //
5 // Package: HcalOnlineDb
6 // Class : HcalChannelIterator
7 //
16 //
17 // Original Author: Gena Kukartsev
18 // Created: Fri Jul 10 16:59:15 CEST 2009
19 //
20 
21 #include <iostream>
22 #include <string>
23 #include <vector>
25 
27 public:
29  virtual ~HcalChannelIterator();
30 
31  int clearChannelList(void);
32  int size(void);
34  int initHBEFListFromLmapAscii(void);
35  int init(const std::vector<HcalGenericDetId>& map);
36 
37  //
38  //_____iterator methods __________________________
39  //
40  int begin(void);
41  int next(void);
42  bool end(void);
45  int getIeta(void);
46  int getIphi(void);
47  int getDepth(void);
48 
49 private:
50  std::vector<HcalGenericDetId> channel_list;
51  std::vector<HcalGenericDetId>::const_iterator const_iterator;
52 };
53 
54 #endif
HcalChannelIterator::getDepth
int getDepth(void)
Definition: HcalChannelIterator.cc:128
HcalChannelIterator
Definition: HcalChannelIterator.h:26
HcalGenericDetId
Definition: HcalGenericDetId.h:15
HcalChannelIterator::getIphi
int getIphi(void)
Definition: HcalChannelIterator.cc:120
HcalGenericDetId.h
HcalChannelIterator::getHcalGenericDetId
HcalGenericDetId getHcalGenericDetId(void)
Definition: HcalChannelIterator.cc:96
HcalChannelIterator::channel_list
std::vector< HcalGenericDetId > channel_list
Definition: HcalChannelIterator.h:50
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
HcalChannelIterator::addListFromLmapAscii
int addListFromLmapAscii(std::string filename)
Definition: HcalChannelIterator.cc:29
HcalChannelIterator::getIeta
int getIeta(void)
Definition: HcalChannelIterator.cc:112
HcalChannelIterator::size
int size(void)
Definition: HcalChannelIterator.cc:22
HcalChannelIterator::HcalChannelIterator
HcalChannelIterator()
Definition: HcalChannelIterator.cc:18
HcalChannelIterator::initHBEFListFromLmapAscii
int initHBEFListFromLmapAscii(void)
Definition: HcalChannelIterator.cc:136
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalSubdetector
HcalSubdetector
Definition: HcalAssistant.h:31
HcalChannelIterator::next
int next(void)
Definition: HcalChannelIterator.cc:83
HcalChannelIterator::end
bool end(void)
Definition: HcalChannelIterator.cc:88
HcalChannelIterator::clearChannelList
int clearChannelList(void)
Definition: HcalChannelIterator.cc:24
HcalChannelIterator::init
int init(const std::vector< HcalGenericDetId > &map)
Definition: HcalChannelIterator.cc:143
genParticles_cff.map
map
Definition: genParticles_cff.py:11
HcalChannelIterator::getHcalSubdetector
HcalSubdetector getHcalSubdetector(void)
Definition: HcalChannelIterator.cc:104
HcalChannelIterator::begin
int begin(void)
Definition: HcalChannelIterator.cc:78
HcalChannelIterator::~HcalChannelIterator
virtual ~HcalChannelIterator()
Definition: HcalChannelIterator.cc:20
HcalChannelIterator::const_iterator
std::vector< HcalGenericDetId >::const_iterator const_iterator
Definition: HcalChannelIterator.h:51