CMS 3D CMS Logo

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 
15 #include <map>
16 #include <set>
17 
18 //----------------------------------------------------------------------------------------------------
19 
24 public:
26 
28  bool fullMask;
29 
31  std::set<unsigned char> maskedChannels;
32 
34 };
35 
36 //----------------------------------------------------------------------------------------------------
37 
42 public:
43  std::map<TotemSymbID, TotemVFATAnalysisMask> analysisMask;
44 
45  void insert(const TotemSymbID& sid, const TotemVFATAnalysisMask& vam);
46  void print(std::ostream& os) const;
47 
49 };
50 
51 std::ostream& operator<<(std::ostream& os, TotemAnalysisMask mask);
52 
53 #endif
Contains data on masked channels of a VFAT.
Channel-mask mapping.
std::ostream & operator<<(std::ostream &os, TotemAnalysisMask mask)
void print(std::ostream &os) const
std::map< TotemSymbID, TotemVFATAnalysisMask > analysisMask
void insert(const TotemSymbID &sid, const TotemVFATAnalysisMask &vam)
constexpr uint32_t mask
Definition: gpuClustering.h:26
Symbolic ID describing an entity of a TOTEM subdetector.
Definition: TotemSymbId.h:18
bool fullMask
whether all channels of the VFAT shall be masked
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::set< unsigned char > maskedChannels
list of channels to be masked