#include <HcalNoiseSummary.h>
Definition at line 31 of file HcalNoiseSummary.h.
HcalNoiseSummary::HcalNoiseSummary | ( | ) |
Definition at line 13 of file HcalNoiseSummary.cc.
: filterstatus_(0), noisetype_(0), emenergy_(0.0), hadenergy_(0.0), trackenergy_(0.0), min10_(999999.), max10_(-999999.), rms10_(0.0), min25_(999999.), max25_(-999999.), rms25_(0.0), cnthit10_(0), cnthit25_(0), mine2ts_(0.), mine10ts_(0.), maxe2ts_(0.), maxe10ts_(0.), maxzeros_(0), maxhpdhits_(0), maxhpdhitsnoother_(0), maxrbxhits_(0), minhpdemf_(999999.), minrbxemf_(999999.), nproblemRBXs_(0), nisolnoise_(0), isolnoisee_(0), isolnoiseet_(0), nflatnoise_(0), flatnoisee_(0), flatnoiseet_(0), nspikenoise_(0), spikenoisee_(0), spikenoiseet_(0), ntrianglenoise_(0), trianglenoisee_(0), trianglenoiseet_(0), nts4ts5noise_(0), ts4ts5noisee_(0), ts4ts5noiseet_(0), hasBadRBXTS4TS5_(false) { }
HcalNoiseSummary::~HcalNoiseSummary | ( | ) | [virtual] |
Definition at line 34 of file HcalNoiseSummary.cc.
{ }
float HcalNoiseSummary::eventChargeFraction | ( | void | ) | const |
Definition at line 87 of file HcalNoiseSummary.cc.
References emenergy_, hadenergy_, and trackenergy_.
{ if(hadenergy_+emenergy_==0.0) return -999.; else return trackenergy_/(hadenergy_+emenergy_); }
float HcalNoiseSummary::eventEMEnergy | ( | void | ) | const |
float HcalNoiseSummary::eventEMFraction | ( | void | ) | const |
Definition at line 81 of file HcalNoiseSummary.cc.
References emenergy_, and hadenergy_.
{ if(hadenergy_+emenergy_==0.0) return -999.; else return emenergy_/(hadenergy_+emenergy_); }
float HcalNoiseSummary::eventHadEnergy | ( | void | ) | const |
float HcalNoiseSummary::eventTrackEnergy | ( | void | ) | const |
Definition at line 76 of file HcalNoiseSummary.cc.
References trackenergy_.
{ return trackenergy_; }
float HcalNoiseSummary::flatNoiseSumE | ( | void | ) | const |
float HcalNoiseSummary::flatNoiseSumEt | ( | void | ) | const |
Definition at line 223 of file HcalNoiseSummary.cc.
References flatnoiseet_.
{ return flatnoiseet_; }
bool HcalNoiseSummary::HasBadRBXTS4TS5 | ( | void | ) | const |
Definition at line 273 of file HcalNoiseSummary.cc.
References hasBadRBXTS4TS5_.
{ return hasBadRBXTS4TS5_; }
edm::RefVector< CaloTowerCollection > HcalNoiseSummary::highLevelNoiseTowers | ( | void | ) | const |
Definition at line 293 of file HcalNoiseSummary.cc.
References hlnoisetwrs_.
{ return hlnoisetwrs_; }
float HcalNoiseSummary::isolatedNoiseSumE | ( | void | ) | const |
float HcalNoiseSummary::isolatedNoiseSumEt | ( | void | ) | const |
Definition at line 208 of file HcalNoiseSummary.cc.
References isolnoiseet_.
{ return isolnoiseet_; }
edm::RefVector< CaloTowerCollection > HcalNoiseSummary::looseNoiseTowers | ( | void | ) | const |
Definition at line 283 of file HcalNoiseSummary.cc.
References loosenoisetwrs_.
{ return loosenoisetwrs_; }
float HcalNoiseSummary::max10GeVHitTime | ( | void | ) | const |
Definition at line 98 of file HcalNoiseSummary.cc.
References max10_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables().
{ return max10_; }
float HcalNoiseSummary::max25GeVHitTime | ( | void | ) | const |
Definition at line 113 of file HcalNoiseSummary.cc.
References max25_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
{ return max25_; }
float HcalNoiseSummary::maxE10TS | ( | void | ) | const |
float HcalNoiseSummary::maxE2Over10TS | ( | void | ) | const |
Definition at line 158 of file HcalNoiseSummary.cc.
References maxe10ts_, and maxe2ts_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
float HcalNoiseSummary::maxE2TS | ( | void | ) | const |
int HcalNoiseSummary::maxHPDHits | ( | void | ) | const |
Definition at line 168 of file HcalNoiseSummary.cc.
References maxhpdhits_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
{ return maxhpdhits_; }
int HcalNoiseSummary::maxHPDNoOtherHits | ( | void | ) | const |
Definition at line 173 of file HcalNoiseSummary.cc.
References maxhpdhitsnoother_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
{ return maxhpdhitsnoother_; }
int HcalNoiseSummary::maxRBXHits | ( | void | ) | const |
Definition at line 178 of file HcalNoiseSummary.cc.
References maxrbxhits_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), myFilter::filter(), and noiseType().
{ return maxrbxhits_; }
int HcalNoiseSummary::maxZeros | ( | void | ) | const |
Definition at line 163 of file HcalNoiseSummary.cc.
References maxzeros_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
{ return maxzeros_; }
float HcalNoiseSummary::min10GeVHitTime | ( | void | ) | const |
Definition at line 93 of file HcalNoiseSummary.cc.
References min10_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables().
{ return min10_; }
float HcalNoiseSummary::min25GeVHitTime | ( | void | ) | const |
Definition at line 108 of file HcalNoiseSummary.cc.
References min25_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
{ return min25_; }
float HcalNoiseSummary::minE10TS | ( | void | ) | const |
float HcalNoiseSummary::minE2Over10TS | ( | void | ) | const |
Definition at line 143 of file HcalNoiseSummary.cc.
References mine10ts_, and mine2ts_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
float HcalNoiseSummary::minE2TS | ( | void | ) | const |
float HcalNoiseSummary::minHPDEMF | ( | void | ) | const |
Definition at line 183 of file HcalNoiseSummary.cc.
References minhpdemf_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables().
{ return minhpdemf_; }
float HcalNoiseSummary::minRBXEMF | ( | void | ) | const |
Definition at line 188 of file HcalNoiseSummary.cc.
References minrbxemf_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
{ return minrbxemf_; }
int HcalNoiseSummary::noiseFilterStatus | ( | void | ) | const |
Definition at line 61 of file HcalNoiseSummary.cc.
References filterstatus_.
{ return filterstatus_; }
int HcalNoiseSummary::noiseType | ( | void | ) | const |
Definition at line 54 of file HcalNoiseSummary.cc.
References maxRBXHits().
{ if(maxRBXHits()>18) return 3; else if(maxRBXHits()>8) return 2; return 1; }
int HcalNoiseSummary::num10GeVHits | ( | void | ) | const |
int HcalNoiseSummary::num25GeVHits | ( | void | ) | const |
int HcalNoiseSummary::numFlatNoiseChannels | ( | void | ) | const |
int HcalNoiseSummary::numIsolatedNoiseChannels | ( | void | ) | const |
int HcalNoiseSummary::numProblematicRBXs | ( | void | ) | const |
Definition at line 193 of file HcalNoiseSummary.cc.
References nproblemRBXs_.
{ return nproblemRBXs_; }
int HcalNoiseSummary::numSpikeNoiseChannels | ( | void | ) | const |
Definition at line 228 of file HcalNoiseSummary.cc.
References nspikenoise_.
{ return nspikenoise_; }
int HcalNoiseSummary::numTriangleNoiseChannels | ( | void | ) | const |
Definition at line 243 of file HcalNoiseSummary.cc.
References ntrianglenoise_.
{ return ntrianglenoise_; }
int HcalNoiseSummary::numTS4TS5NoiseChannels | ( | void | ) | const |
Definition at line 258 of file HcalNoiseSummary.cc.
References nts4ts5noise_.
{ return nts4ts5noise_; }
bool HcalNoiseSummary::passHighLevelNoiseFilter | ( | void | ) | const |
Definition at line 49 of file HcalNoiseSummary.cc.
References filterstatus_.
{ return (filterstatus_ & 0xFF0000)==0; }
bool HcalNoiseSummary::passLooseNoiseFilter | ( | void | ) | const |
Definition at line 39 of file HcalNoiseSummary.cc.
References filterstatus_.
{ return (filterstatus_ & 0xFF)==0; }
bool HcalNoiseSummary::passTightNoiseFilter | ( | void | ) | const |
Definition at line 44 of file HcalNoiseSummary.cc.
References filterstatus_.
{ return (filterstatus_ & 0xFF00)==0; }
edm::RefVector< reco::CaloJetCollection > HcalNoiseSummary::problematicJets | ( | void | ) | const |
Definition at line 278 of file HcalNoiseSummary.cc.
References problemjets_.
{ return problemjets_; }
float HcalNoiseSummary::rms10GeVHitTime | ( | void | ) | const |
Definition at line 103 of file HcalNoiseSummary.cc.
References cnthit10_, rms10_, and mathSSE::sqrt().
float HcalNoiseSummary::rms25GeVHitTime | ( | void | ) | const |
Definition at line 118 of file HcalNoiseSummary.cc.
References cnthit25_, rms25_, and mathSSE::sqrt().
float HcalNoiseSummary::spikeNoiseSumE | ( | void | ) | const |
Definition at line 233 of file HcalNoiseSummary.cc.
References spikenoisee_.
{ return spikenoisee_; }
float HcalNoiseSummary::spikeNoiseSumEt | ( | void | ) | const |
Definition at line 238 of file HcalNoiseSummary.cc.
References spikenoiseet_.
{ return spikenoiseet_; }
edm::RefVector< CaloTowerCollection > HcalNoiseSummary::tightNoiseTowers | ( | void | ) | const |
Definition at line 288 of file HcalNoiseSummary.cc.
References tightnoisetwrs_.
{ return tightnoisetwrs_; }
float HcalNoiseSummary::triangleNoiseSumE | ( | void | ) | const |
Definition at line 248 of file HcalNoiseSummary.cc.
References trianglenoisee_.
{ return trianglenoisee_; }
float HcalNoiseSummary::triangleNoiseSumEt | ( | void | ) | const |
Definition at line 253 of file HcalNoiseSummary.cc.
References trianglenoiseet_.
{ return trianglenoiseet_; }
float HcalNoiseSummary::TS4TS5NoiseSumE | ( | void | ) | const |
Definition at line 263 of file HcalNoiseSummary.cc.
References ts4ts5noisee_.
{ return ts4ts5noisee_; }
float HcalNoiseSummary::TS4TS5NoiseSumEt | ( | void | ) | const |
Definition at line 268 of file HcalNoiseSummary.cc.
References ts4ts5noiseet_.
{ return ts4ts5noiseet_; }
friend class reco::HcalNoiseInfoProducer [friend] |
Definition at line 33 of file HcalNoiseSummary.h.
int HcalNoiseSummary::cnthit10_ [private] |
Definition at line 144 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), num10GeVHits(), and rms10GeVHitTime().
int HcalNoiseSummary::cnthit25_ [private] |
Definition at line 144 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), num25GeVHits(), and rms25GeVHitTime().
float HcalNoiseSummary::emenergy_ [private] |
Definition at line 141 of file HcalNoiseSummary.h.
Referenced by eventChargeFraction(), eventEMEnergy(), eventEMFraction(), and reco::HcalNoiseInfoProducer::fillcalotwrs().
int HcalNoiseSummary::filterstatus_ [private] |
Definition at line 140 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), noiseFilterStatus(), passHighLevelNoiseFilter(), passLooseNoiseFilter(), and passTightNoiseFilter().
float HcalNoiseSummary::flatnoisee_ [private] |
Definition at line 154 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and flatNoiseSumE().
float HcalNoiseSummary::flatnoiseet_ [private] |
Definition at line 154 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and flatNoiseSumEt().
float HcalNoiseSummary::hadenergy_ [private] |
Definition at line 141 of file HcalNoiseSummary.h.
Referenced by eventChargeFraction(), eventEMFraction(), eventHadEnergy(), and reco::HcalNoiseInfoProducer::fillcalotwrs().
bool HcalNoiseSummary::hasBadRBXTS4TS5_ [private] |
Definition at line 162 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and HasBadRBXTS4TS5().
Definition at line 168 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and highLevelNoiseTowers().
float HcalNoiseSummary::isolnoisee_ [private] |
Definition at line 152 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and isolatedNoiseSumE().
float HcalNoiseSummary::isolnoiseet_ [private] |
Definition at line 152 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and isolatedNoiseSumEt().
Definition at line 166 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and looseNoiseTowers().
float HcalNoiseSummary::max10_ [private] |
Definition at line 142 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and max10GeVHitTime().
float HcalNoiseSummary::max25_ [private] |
Definition at line 143 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and max25GeVHitTime().
float HcalNoiseSummary::maxe10ts_ [private] |
Definition at line 146 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), maxE10TS(), and maxE2Over10TS().
float HcalNoiseSummary::maxe2ts_ [private] |
Definition at line 146 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), maxE2Over10TS(), and maxE2TS().
int HcalNoiseSummary::maxhpdhits_ [private] |
Definition at line 148 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and maxHPDHits().
int HcalNoiseSummary::maxhpdhitsnoother_ [private] |
Definition at line 148 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and maxHPDNoOtherHits().
int HcalNoiseSummary::maxrbxhits_ [private] |
Definition at line 148 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and maxRBXHits().
int HcalNoiseSummary::maxzeros_ [private] |
Definition at line 147 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and maxZeros().
float HcalNoiseSummary::min10_ [private] |
Definition at line 142 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and min10GeVHitTime().
float HcalNoiseSummary::min25_ [private] |
Definition at line 143 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and min25GeVHitTime().
float HcalNoiseSummary::mine10ts_ [private] |
Definition at line 145 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), minE10TS(), and minE2Over10TS().
float HcalNoiseSummary::mine2ts_ [private] |
Definition at line 145 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), minE2Over10TS(), and minE2TS().
float HcalNoiseSummary::minhpdemf_ [private] |
Definition at line 149 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and minHPDEMF().
float HcalNoiseSummary::minrbxemf_ [private] |
Definition at line 149 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and minRBXEMF().
int HcalNoiseSummary::nflatnoise_ [private] |
Definition at line 153 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and numFlatNoiseChannels().
int HcalNoiseSummary::nisolnoise_ [private] |
Definition at line 151 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and numIsolatedNoiseChannels().
int HcalNoiseSummary::noisetype_ [private] |
Definition at line 140 of file HcalNoiseSummary.h.
int HcalNoiseSummary::nproblemRBXs_ [private] |
Definition at line 150 of file HcalNoiseSummary.h.
Referenced by numProblematicRBXs(), and reco::HcalNoiseInfoProducer::produce().
int HcalNoiseSummary::nspikenoise_ [private] |
Definition at line 155 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and numSpikeNoiseChannels().
int HcalNoiseSummary::ntrianglenoise_ [private] |
Definition at line 157 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and numTriangleNoiseChannels().
int HcalNoiseSummary::nts4ts5noise_ [private] |
Definition at line 159 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and numTS4TS5NoiseChannels().
Definition at line 164 of file HcalNoiseSummary.h.
Referenced by problematicJets().
float HcalNoiseSummary::rms10_ [private] |
Definition at line 142 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and rms10GeVHitTime().
float HcalNoiseSummary::rms25_ [private] |
Definition at line 143 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and rms25GeVHitTime().
float HcalNoiseSummary::spikenoisee_ [private] |
Definition at line 156 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and spikeNoiseSumE().
float HcalNoiseSummary::spikenoiseet_ [private] |
Definition at line 156 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and spikeNoiseSumEt().
Definition at line 167 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and tightNoiseTowers().
float HcalNoiseSummary::trackenergy_ [private] |
Definition at line 141 of file HcalNoiseSummary.h.
Referenced by eventChargeFraction(), eventTrackEnergy(), and reco::HcalNoiseInfoProducer::filltracks().
float HcalNoiseSummary::trianglenoisee_ [private] |
Definition at line 158 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and triangleNoiseSumE().
float HcalNoiseSummary::trianglenoiseet_ [private] |
Definition at line 158 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and triangleNoiseSumEt().
float HcalNoiseSummary::ts4ts5noisee_ [private] |
Definition at line 160 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and TS4TS5NoiseSumE().
float HcalNoiseSummary::ts4ts5noiseet_ [private] |
Definition at line 160 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and TS4TS5NoiseSumEt().