CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TotemDAQMapping.h
Go to the documentation of this file.
1 /****************************************************************************
2 *
3 * This is a part of TOTEM offline software.
4 * Authors:
5 * Maciej Wróbel (wroblisko@gmail.com)
6 * Jan Kašpar (jan.kaspar@cern.ch)
7 *
8 ****************************************************************************/
9 
10 #ifndef CondFormats_TotemReadoutObjects_TotemDAQMapping
11 #define CondFormats_TotemReadoutObjects_TotemDAQMapping
12 
14 
16 
17 #include <map>
18 
19 //----------------------------------------------------------------------------------------------------
20 
25 {
26  public:
28  enum {data, CC} type;
29 
32 
34  unsigned int hwID;
35 
36  friend std::ostream& operator << (std::ostream& s, const TotemVFATInfo &fp);
37 };
38 
39 //----------------------------------------------------------------------------------------------------
40 
45 {
46  public:
47  std::map<TotemFramePosition, TotemVFATInfo> VFATMapping;
48 
49  void insert(const TotemFramePosition &fp, const TotemVFATInfo &vi);
50 };
51 
52 #endif
friend std::ostream & operator<<(std::ostream &s, const TotemVFATInfo &fp)
TotemSymbID symbolicID
the symbolic id
void insert(const TotemFramePosition &fp, const TotemVFATInfo &vi)
Symbolic ID describing an entity of a TOTEM subdetector.
Definition: TotemSymbId.h:17
The mapping between FramePosition and VFATInfo.
enum TotemVFATInfo::@178 type
is data of coincidence-chip VFAT
unsigned int hwID
the hardware ID (16 bit)
std::map< TotemFramePosition, TotemVFATInfo > VFATMapping
Contains mappind data related to a VFAT.