CMS 3D CMS Logo

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 public:
40  typedef std::map<L1MuDTSecProcId, L1MuDTSectorProcessor*, std::less<L1MuDTSecProcId> > SPmap;
41  typedef SPmap::iterator SPmap_iter;
42 
45 
47  virtual ~L1MuDTSecProcMap();
48 
51 
54 
56  inline int size() const { return m_map.size(); }
57 
59  inline SPmap_iter begin() { return m_map.begin(); }
60 
62  inline SPmap_iter end() { return m_map.end(); }
63 
64 private:
66 };
67 
68 #endif
L1MuDTSecProcMap::m_map
SPmap m_map
Definition: L1MuDTSecProcMap.h:65
L1MuDTSecProcId.h
L1MuDTSecProcMap::sp
L1MuDTSectorProcessor * sp(const L1MuDTSecProcId &) const
return pointer to Sector Processor
Definition: L1MuDTSecProcMap.cc:65
L1MuDTSecProcMap::SPmap_iter
SPmap::iterator SPmap_iter
Definition: L1MuDTSecProcMap.h:41
L1MuDTSecProcMap
Definition: L1MuDTSecProcMap.h:38
L1MuDTSecProcMap::SPmap
std::map< L1MuDTSecProcId, L1MuDTSectorProcessor *, std::less< L1MuDTSecProcId > > SPmap
Definition: L1MuDTSecProcMap.h:40
L1MuDTSecProcMap::begin
SPmap_iter begin()
return iterator which points to the first entry of the container
Definition: L1MuDTSecProcMap.h:59
L1MuDTSecProcId
Definition: L1MuDTSecProcId.h:40
L1MuDTSecProcMap::size
int size() const
return number of entries present in the container
Definition: L1MuDTSecProcMap.h:56
L1MuDTSectorProcessor
Definition: L1MuDTSectorProcessor.h:53
L1MuDTSecProcMap::L1MuDTSecProcMap
L1MuDTSecProcMap()
constructor
Definition: L1MuDTSecProcMap.cc:43
L1MuDTSecProcMap::end
SPmap_iter end()
return iterator which points to the one-past-last entry of the container
Definition: L1MuDTSecProcMap.h:62
L1MuDTSecProcMap::insert
void insert(const L1MuDTSecProcId &, L1MuDTSectorProcessor *sp)
insert a Sector Processor into the container
Definition: L1MuDTSecProcMap.cc:77
L1MuDTSecProcMap::~L1MuDTSecProcMap
virtual ~L1MuDTSecProcMap()
destructor
Definition: L1MuDTSecProcMap.cc:49