src
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 "
SimPPS/RPDigiProducer/interface/RPSimTypes.h
"
5
#include "
CondFormats/PPSObjects/interface/TotemAnalysisMask.h
"
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
*/
13
class
DeadChannelsManager
{
14
private
:
15
const
TotemAnalysisMask
*
analysisMask
;
16
bool
analysisMaskPresent
;
//this variable indicates whether analysisMask is present or not
17
18
public
:
23
DeadChannelsManager
(
const
TotemAnalysisMask
*
analysisMask
);
24
DeadChannelsManager
();
37
bool
isChannelDead
(
RPDetId
detectorId,
unsigned
short
stripNumber);
38
void
displayMap
();
39
};
40
41
#endif
TotemAnalysisMask
Channel-mask mapping.
Definition:
TotemAnalysisMask.h:41
DeadChannelsManager::analysisMaskPresent
bool analysisMaskPresent
Definition:
DeadChannelsManager.h:16
RPSimTypes.h
DeadChannelsManager::DeadChannelsManager
DeadChannelsManager()
Definition:
DeadChannelsManager.cc:9
DeadChannelsManager::displayMap
void displayMap()
Definition:
DeadChannelsManager.cc:38
RPDetId
uint32_t RPDetId
Definition:
RPSimTypes.h:12
TotemAnalysisMask.h
DeadChannelsManager
Definition:
DeadChannelsManager.h:13
DeadChannelsManager::analysisMask
const TotemAnalysisMask * analysisMask
Definition:
DeadChannelsManager.h:15
DeadChannelsManager::isChannelDead
bool isChannelDead(RPDetId detectorId, unsigned short stripNumber)
Definition:
DeadChannelsManager.cc:16
Generated for CMSSW Reference Manual by
1.8.14