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