CMS 3D CMS Logo

DeadChannelsManager.h
Go to the documentation of this file.
1 #ifndef SimPPS_RPDigiProducer_DEAD_CHANNELS_MANAGER
2 #define SimPPS_RPDigiProducer_DEAD_CHANNELS_MANAGER
3 
6 
7 /*
8  * This purpose of this class is to answer the question whether a channel (given by detectorId
9  * and stripNumber) is dead or not. This class uses analysisMask which is provided
10  * by DAQMappingSourceXML.
11  * @author Jakub Smajek
12  */
14 private:
16  bool analysisMaskPresent; //this variable indicates whether analysisMask is present or not
17 
18 public:
37  bool isChannelDead(RPDetId detectorId, unsigned short stripNumber);
38  void displayMap();
39 };
40 
41 #endif
Channel-mask mapping.
uint32_t RPDetId
Definition: RPSimTypes.h:11
const TotemAnalysisMask * analysisMask
bool isChannelDead(RPDetId detectorId, unsigned short stripNumber)