Go to the documentation of this file. 1 #ifndef CSCRecRecHitD_CSCRecoConditions_h
2 #define CSCRecRecHitD_CSCRecoConditions_h
59 void crossTalk(
const CSCDetId&
id,
int centralStrip, std::vector<float>& xtalks)
const;
float chipCorrection(const CSCDetId &detId, int channel) const
All other functions are accessed by geometrical strip label (i.e. strip number according to local coo...
void initializeEvent(const edm::EventSetup &es)
fetch the cond data from the database
float pedestalSigma(const CSCDetId &id, int channel) const
sigma of static pedestal in ADC counts for strip channel (e.g. 1-16 for ganged ME1a,...
float gain(const CSCDetId &id, int geomStrip) const
channels and geomstrips count from 1
void noiseMatrix(const CSCDetId &id, int centralStrip, std::vector< float > &nme) const
float averageGain() const
return average gain over entire CSC system
const std::bitset< 112 > & badWireWord(const CSCDetId &id) const
Get bad wiregroup word.
float chamberTimingCorrection(const CSCDetId &id) const
CSCRecoConditions(const edm::ParameterSet &pset, edm::ConsumesCollector)
void crossTalk(const CSCDetId &id, int centralStrip, std::vector< float > &xtalks) const
float stripWeight(const CSCDetId &id, int geomStrip) const
return gain weight for given strip channel
bool badStrip(const CSCDetId &id, int geomStrip, int nstrips) const
Is the strip bad?
bool nearBadStrip(const CSCDetId &id, int geomStrip, int nstrips) const
Is a neighbour bad?
float averageGain() const
CSCConditions theConditions
float pedestal(const CSCDetId &id, int channel) const
static pedestal in ADC counts for strip channel (e.g. 1-16 for ganged ME1a, 1-48 for unganged ME1a)
void fillBadChannelWords(const CSCDetId &id)
fill bad strip & bad wiregroup bitsets from conditions data
float gasGainCorrection(const CSCDetId &id, int strip, int wireGroup) const
returns gas-gain correction
float anodeBXoffset(const CSCDetId &detId) const
void stripWeights(const CSCDetId &id, short int nstrips, float *weights) const