CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
std::vector< HcalGenericDetId > channel_list
int addListFromLmapAscii(std::string filename)
int init(const std::vector< HcalGenericDetId > &map)
HcalSubdetector
Definition: HcalAssistant.h:31
tuple filename
Definition: lut2db_cfg.py:20
HcalGenericDetId getHcalGenericDetId(void)
std::vector< HcalGenericDetId >::const_iterator const_iterator
HcalSubdetector getHcalSubdetector(void)