CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CTPPSPixelDAQMapping.h
Go to the documentation of this file.
1 /****************************************************************************
2  *
3  *
4  * Authors:
5  * F.Ferro ferro@ge.infn.it
6  *
7  ****************************************************************************/
8 
9 #ifndef CondFormats_PPSObjects_CTPPSPixelDAQMapping
10 #define CondFormats_PPSObjects_CTPPSPixelDAQMapping
11 
15 
16 #include <map>
17 #include <set>
18 
19 //----------------------------------------------------------------------------------------------------
20 
25 public:
27  uint32_t iD;
28 
29  unsigned int roc;
30 
31  friend std::ostream &operator<<(std::ostream &s, const CTPPSPixelROCInfo &fp);
32 
34 };
35 
36 //----------------------------------------------------------------------------------------------------
37 
42 public:
43  std::map<CTPPSPixelFramePosition, CTPPSPixelROCInfo> ROCMapping;
44 
45  void insert(const CTPPSPixelFramePosition &fp, const CTPPSPixelROCInfo &vi);
46 
47  std::set<unsigned int> fedIds() const;
48 
50 };
51 
52 #endif
Contains mappind data related to a ROC.
std::set< unsigned int > fedIds() const
uint32_t iD
the symbolic id
friend std::ostream & operator<<(std::ostream &s, const CTPPSPixelROCInfo &fp)
std::map< CTPPSPixelFramePosition, CTPPSPixelROCInfo > ROCMapping
#define COND_SERIALIZABLE
Definition: Serializable.h:39
void insert(const CTPPSPixelFramePosition &fp, const CTPPSPixelROCInfo &vi)
The mapping between FramePosition and ROCInfo.