SimPPS
RPDigiProducer
plugins
DeadChannelsManager.h
Go to the documentation of this file.
1
#ifndef SimPPS_RPDigiProducer_DEAD_CHANNELS_MANAGER
2
#define SimPPS_RPDigiProducer_DEAD_CHANNELS_MANAGER
3
4
#include "
FWCore/Framework/interface/ESHandle.h
"
5
#include "
SimPPS/RPDigiProducer/interface/RPSimTypes.h
"
6
#include "
CondFormats/PPSObjects/interface/TotemAnalysisMask.h
"
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
*/
14
class
DeadChannelsManager
{
15
private
:
16
edm::ESHandle<TotemAnalysisMask>
analysisMask
;
17
bool
analysisMaskPresent
;
//this variable indicates whether analysisMask is present or not
18
19
public
:
24
DeadChannelsManager
(
edm::ESHandle<TotemAnalysisMask>
analysisMask
);
25
DeadChannelsManager
();
38
bool
isChannelDead
(
RPDetId
detectorId,
unsigned
short
stripNumber);
39
void
displayMap
();
40
static
uint32_t
rawToDecId
(uint32_t raw);
41
};
42
43
#endif
ESHandle.h
DeadChannelsManager::analysisMask
edm::ESHandle< TotemAnalysisMask > analysisMask
Definition:
DeadChannelsManager.h:16
DeadChannelsManager::analysisMaskPresent
bool analysisMaskPresent
Definition:
DeadChannelsManager.h:17
DeadChannelsManager
Definition:
DeadChannelsManager.h:14
edm::ESHandle< TotemAnalysisMask >
TotemAnalysisMask.h
DeadChannelsManager::isChannelDead
bool isChannelDead(RPDetId detectorId, unsigned short stripNumber)
Definition:
DeadChannelsManager.cc:16
DeadChannelsManager::rawToDecId
static uint32_t rawToDecId(uint32_t raw)
DeadChannelsManager::DeadChannelsManager
DeadChannelsManager()
Definition:
DeadChannelsManager.cc:9
RPDetId
uint32_t RPDetId
Definition:
RPSimTypes.h:11
RPSimTypes.h
DeadChannelsManager::displayMap
void displayMap()
Definition:
DeadChannelsManager.cc:38
Generated for CMSSW Reference Manual by
1.8.16