CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 // $Id: HcalChannelIterator.h,v 1.2 2009/08/04 22:25:17 kukartse Exp $
20 //
21 
22 #include <iostream>
23 #include <string>
24 #include <vector>
26 
27 
29 {
30 
31  public:
33  virtual ~HcalChannelIterator();
34 
35  int clearChannelList(void);
36  int size(void);
37  int addListFromLmapAscii(std::string filename);
38  int initHBEFListFromLmapAscii(void);
39  int init(std::vector<HcalGenericDetId> map);
40 
41  //
42  //_____iterator methods __________________________
43  //
44  int begin(void);
45  int next(void);
46  bool end(void);
49  int getIeta(void);
50  int getIphi(void);
51  int getDepth(void);
52 
53  private:
54 
55  std::vector<HcalGenericDetId> channel_list;
56  std::vector<HcalGenericDetId>::const_iterator const_iterator;
57 
58 };
59 
60 
61 #endif
std::vector< HcalGenericDetId > channel_list
dictionary map
Definition: Association.py:205
int addListFromLmapAscii(std::string filename)
HcalSubdetector
Definition: HcalAssistant.h:32
int init(std::vector< HcalGenericDetId > map)
tuple filename
Definition: lut2db_cfg.py:20
HcalGenericDetId getHcalGenericDetId(void)
std::vector< HcalGenericDetId >::const_iterator const_iterator
HcalSubdetector getHcalSubdetector(void)