Go to the documentation of this file. 1 #ifndef CSCCalibration_CSCConditions_h
2 #define CSCCalibration_CSCConditions_h
edm::ESHandle< CSCDBPedestals > thePedestals
const CSCDBNoiseMatrix::Item & noiseMatrix(const CSCDetId &detId, int channel) const
raw noise matrix (unscaled short int elements)
edm::ESHandle< CSCBadWires > theBadWires
edm::ESHandle< CSCIndexerBase > indexer_
edm::ESWatcher< CSCDBGainsRcd > gainsWatcher_
CSCDetId idOfBadChannelWords_
edm::ESGetToken< CSCDBCrosstalk, CSCDBCrosstalkRcd > crosstalkToken_
bool useTimingCorrections_
CSCConditions(const edm::ParameterSet &ps, edm::ConsumesCollector)
edm::ESGetToken< CSCDBNoiseMatrix, CSCDBNoiseMatrixRcd > noiseMatrixToken_
float gainSigma(const CSCDetId &detId, int channel) const
overall calibration precision
bool readBadChambers() const
did we request reading bad chamber info from db?
const CSCDetId & idOfBadChannelWords() const
the offline CSCDetId of current bad channel words
edm::ESHandle< CSCBadStrips > theBadStrips
edm::ESGetToken< CSCIndexerBase, CSCIndexerRecord > indexerToken_
edm::ESHandle< CSCDBNoiseMatrix > theNoiseMatrix
bool readBadChannels() const
did we request reading bad channel info from db?
std::bitset< 112 > badStripWord_
bool useTimingCorrections() const
did we request reading timing correction info from db?
float pedestal(const CSCDetId &detId, int channel) const
static ped in ADC counts
int channelFromStrip(const CSCDetId &id, int geomStrip) const
feedthrough for external access
void fillBadWireWord(const CSCDetId &id)
void fillBadChannelWords(const CSCDetId &id)
bool isInBadChamber(const CSCDetId &id) const
Is the gven chamber flagged as bad?
edm::ESHandle< CSCChamberTimeCorrections > theChamberTimingCorrections
float gain(const CSCDetId &detId, int channel) const
gain per channel
void noiseMatrixElements(const CSCDetId &id, int channel, std::vector< float > &me) const
const std::bitset< 112 > & badWireWord() const
bad wiregroup channel word for a CSCLayer - 1 bit per channel
edm::ESGetToken< CSCBadStrips, CSCBadStripsRcd > badStripsToken_
float crosstalkIntercept(const CSCDetId &detId, int channel, bool leftRight) const
crosstalk intercept for left and right
float chipCorrection(const CSCDetId &detId, int channel) const
chip speed correction in ns given detId (w/layer) and strip channel
edm::ESGetToken< CSCBadWires, CSCBadWiresRcd > badWiresToken_
edm::ESHandle< CSCBadChambers > theBadChambers
edm::ESHandle< CSCDBGains > theGains
std::bitset< 112 > badWireWord_
edm::ESGetToken< CSCDBGains, CSCDBGainsRcd > gainsToken_
edm::ESGetToken< CSCDBPedestals, CSCDBPedestalsRcd > pedestalsToken_
edm::ESHandle< CSCChannelMapperBase > mapper_
edm::ESGetToken< CSCBadChambers, CSCBadChambersRcd > badChambersToken_
void setIdOfBadChannelWords(const CSCDetId &id)
float gasGainCorrection(const CSCDetId &detId, int strip, int wire) const
bool useGasGainCorrections() const
did we request reading gas gain correction info from db?
float anodeBXoffset(const CSCDetId &detId) const
anode bx offset in bx given detId of chamber
float averageGain() const
int rawStripChannel(const CSCDetId &id, int geomChannel) const
edm::ESGetToken< CSCChamberTimeCorrections, CSCChamberTimeCorrectionsRcd > chamberTimingCorrectionsToken_
void initializeEvent(const edm::EventSetup &es)
fetch database content via EventSetup
edm::ESGetToken< CSCDBGasGainCorrection, CSCDBGasGainCorrectionRcd > gasGainCorrectionsToken_
float pedestalSigma(const CSCDetId &detId, int channel) const
static ped rms in ADC counts
edm::ESGetToken< CSCDBChipSpeedCorrection, CSCDBChipSpeedCorrectionRcd > chipCorrectionsToken_
void fillBadStripWord(const CSCDetId &id)
fill bad channel words for offline id
float chamberTimingCorrection(const CSCDetId &detId) const
chamber timing correction in ns given detId of chamber
bool useGasGainCorrections_
float crosstalkSlope(const CSCDetId &detId, int channel, bool leftRight) const
crosstalk slope for left and right
edm::ESHandle< CSCDBChipSpeedCorrection > theChipCorrections
edm::ESHandle< CSCDBCrosstalk > theCrosstalk
const std::bitset< 112 > & badStripWord() const
bad strip channel word for a CSCLayer - 1 bit per channel
edm::ESGetToken< CSCChannelMapperBase, CSCChannelMapperRecord > mapperToken_
edm::ESHandle< CSCDBGasGainCorrection > theGasGainCorrections
void crossTalk(const CSCDetId &id, int channel, std::vector< float > &ct) const