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 
7 
8 /*
9  * This purpose of this class is to answer the question whether a channel (given by detectorId
10  * and stripNumber) is dead or not. This class uses analysisMask which is provided
11  * by DAQMappingSourceXML.
12  * @author Jakub Smajek
13  */
15 private:
17  bool analysisMaskPresent; //this variable indicates whether analysisMask is present or not
18 
19 public:
38  bool isChannelDead(RPDetId detectorId, unsigned short stripNumber);
39  void displayMap();
40  static uint32_t rawToDecId(uint32_t raw);
41 };
42 
43 #endif
edm::ESHandle< TotemAnalysisMask > analysisMask
static uint32_t rawToDecId(uint32_t raw)
uint32_t RPDetId
Definition: RPSimTypes.h:11
bool isChannelDead(RPDetId detectorId, unsigned short stripNumber)