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 //
12 //
13 //--------------------------------------------------
14 #ifndef L1MUDT_SEC_PROC_MAP_H
15 #define L1MUDT_SEC_PROC_MAP_H
16 
17 //---------------
18 // C++ Headers --
19 //---------------
20 
21 #include <map>
22 
23 //----------------------
24 // Base Class Headers --
25 //----------------------
26 
27 //------------------------------------
28 // Collaborating Class Declarations --
29 //------------------------------------
30 
33 
34 // ---------------------
35 // -- Class Interface --
36 // ---------------------
37 
39 
40  public:
41 
42  typedef std::map<L1MuDTSecProcId, L1MuDTSectorProcessor*, std::less<L1MuDTSecProcId> > SPmap;
43  typedef SPmap::iterator SPmap_iter;
44 
47 
49  virtual ~L1MuDTSecProcMap();
50 
53 
56 
58  inline int size() const { return m_map.size(); }
59 
61  inline SPmap_iter begin() { return m_map.begin(); }
62 
64  inline SPmap_iter end() { return m_map.end(); }
65 
66  private:
67 
69 
70 };
71 
72 #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
Definition: sp.h:21
SPmap_iter begin()
return iterator which points to the first entry of the container