CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuDTSecProcMap.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
14 //
15 //--------------------------------------------------
16 #ifndef L1MUDT_SEC_PROC_MAP_H
17 #define L1MUDT_SEC_PROC_MAP_H
18 
19 //---------------
20 // C++ Headers --
21 //---------------
22 
23 #include <map>
24 
25 //----------------------
26 // Base Class Headers --
27 //----------------------
28 
29 //------------------------------------
30 // Collaborating Class Declarations --
31 //------------------------------------
32 
35 
36 // ---------------------
37 // -- Class Interface --
38 // ---------------------
39 
41 
42  public:
43 
44  typedef std::map<L1MuDTSecProcId, L1MuDTSectorProcessor*, std::less<L1MuDTSecProcId> > SPmap;
45  typedef SPmap::iterator SPmap_iter;
46 
49 
51  virtual ~L1MuDTSecProcMap();
52 
55 
58 
60  inline int size() const { return m_map.size(); }
61 
63  inline SPmap_iter begin() { return m_map.begin(); }
64 
66  inline SPmap_iter end() { return m_map.end(); }
67 
68  private:
69 
71 
72 };
73 
74 #endif
virtual ~L1MuDTSecProcMap()
destructor
L1MuDTSecProcMap()
constructor
SPmap_iter end()
return iterator which points to the one-past-last entry of the container
void insert(const L1MuDTSecProcId &, L1MuDTSectorProcessor *sp)
insert a Sector Processor into the container
SPmap::iterator SPmap_iter
int size() const
return number of entries present in the container
std::map< L1MuDTSecProcId, L1MuDTSectorProcessor *, std::less< L1MuDTSecProcId > > SPmap
L1MuDTSectorProcessor * sp(const L1MuDTSecProcId &) const
return pointer to Sector Processor
SPmap_iter begin()
return iterator which points to the first entry of the container