CMS 3D CMS Logo

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_CTPPSReadoutObjects_CTPPSPixelDAQMapping
10 #define CondFormats_CTPPSReadoutObjects_CTPPSPixelDAQMapping
11 
15 
16 #include <map>
17 #include <set>
18 
19 //----------------------------------------------------------------------------------------------------
20 
25 {
26 public:
28  uint32_t iD;
29 
30  unsigned int roc;
31 
32  friend std::ostream& operator << (std::ostream& s, const CTPPSPixelROCInfo &fp);
33 
35 };
36 
37 //----------------------------------------------------------------------------------------------------
38 
43 {
44 public:
45  std::map<CTPPSPixelFramePosition, CTPPSPixelROCInfo> ROCMapping;
46 
47  void insert(const CTPPSPixelFramePosition &fp, const CTPPSPixelROCInfo &vi);
48 
49  std::set<unsigned int> fedIds() const;
50 
52 
53 };
54 
55 #endif
Contains mappind data related to a ROC.
uint32_t iD
the symbolic id
bool insert(Storage &iStorage, ItemType *iItem, const IdTag &iIdTag)
Definition: HCMethods.h:50
friend std::ostream & operator<<(std::ostream &s, const CTPPSPixelROCInfo &fp)
std::map< CTPPSPixelFramePosition, CTPPSPixelROCInfo > ROCMapping
#define COND_SERIALIZABLE
Definition: Serializable.h:38
The mapping between FramePosition and ROCInfo.