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_CTPPSReadoutObjects_TotemDAQMapping
11 #define CondFormats_CTPPSReadoutObjects_TotemDAQMapping
12 
14 
16 
17 #include <map>
18 
19 //----------------------------------------------------------------------------------------------------
20 
25 {
26  public:
29 
31  unsigned int hwID;
32 
33  friend std::ostream& operator << (std::ostream& s, const TotemVFATInfo &fp);
34 };
35 
36 //----------------------------------------------------------------------------------------------------
37 
42 {
43  public:
44  std::map<TotemFramePosition, TotemVFATInfo> VFATMapping;
45 
46  void insert(const TotemFramePosition &fp, const TotemVFATInfo &vi);
47 };
48 
49 #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.
unsigned int hwID
the hardware ID (16 bit)
std::map< TotemFramePosition, TotemVFATInfo > VFATMapping
Contains mappind data related to a VFAT.