CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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_PPSObjects_TotemAnalysisMask
11 #define CondFormats_PPSObjects_TotemAnalysisMask
12 
14 
15 #include <set>
16 #include <map>
17 
18 //----------------------------------------------------------------------------------------------------
19 
24 public:
26 
28  bool fullMask;
29 
31  std::set<unsigned char> maskedChannels;
32 };
33 
34 //----------------------------------------------------------------------------------------------------
35 
40 public:
41  std::map<TotemSymbID, TotemVFATAnalysisMask> analysisMask;
42 
43  void insert(const TotemSymbID &sid, const TotemVFATAnalysisMask &vam);
44 };
45 
46 #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