CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TotemAnalysisMask.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_TotemAnalysisMask
11 #define CondFormats_TotemReadoutObjects_TotemAnalysisMask
12 
14 
15 #include <set>
16 #include <map>
17 
18 //----------------------------------------------------------------------------------------------------
19 
24 {
25  public:
27 
29  bool fullMask;
30 
32  std::set<unsigned char> maskedChannels;
33 };
34 
35 //----------------------------------------------------------------------------------------------------
36 
41 {
42  public:
43  std::map<TotemSymbID, TotemVFATAnalysisMask> analysisMask;
44 
45  void insert(const TotemSymbID &sid, const TotemVFATAnalysisMask &vam);
46 };
47 
48 #endif
Contains data on masked channels of a VFAT.
Channel-mask mapping.
std::map< TotemSymbID, TotemVFATAnalysisMask > analysisMask
void insert(const TotemSymbID &sid, const TotemVFATAnalysisMask &vam)
Symbolic ID describing an entity of a TOTEM subdetector.
Definition: TotemSymbId.h:17
bool fullMask
whether all channels of the VFAT shall be masked
std::set< unsigned char > maskedChannels
list of channels to be masked
volatile std::atomic< bool > shutdown_flag false