#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), rechitCount_(0), rechitCount15_(0), rechitEnergy_(0), rechitEnergy15_(0), calibCharge_(0), hasBadRBXTS4TS5_(false) { }
HcalNoiseSummary::~HcalNoiseSummary | ( | ) | [virtual] |
Definition at line 35 of file HcalNoiseSummary.cc.
{ }
float HcalNoiseSummary::eventChargeFraction | ( | void | ) | const |
Definition at line 88 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 82 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 77 of file HcalNoiseSummary.cc.
References trackenergy_.
{ return trackenergy_; }
float HcalNoiseSummary::flatNoiseSumE | ( | void | ) | const |
float HcalNoiseSummary::flatNoiseSumEt | ( | void | ) | const |
Definition at line 224 of file HcalNoiseSummary.cc.
References flatnoiseet_.
{ return flatnoiseet_; }
int HcalNoiseSummary::GetRecHitCount | ( | void | ) | const |
Definition at line 274 of file HcalNoiseSummary.cc.
References rechitCount_.
{ return rechitCount_; }
int HcalNoiseSummary::GetRecHitCount15 | ( | void | ) | const |
Definition at line 279 of file HcalNoiseSummary.cc.
References rechitCount15_.
{ return rechitCount15_; }
double HcalNoiseSummary::GetRecHitEnergy | ( | void | ) | const |
Definition at line 284 of file HcalNoiseSummary.cc.
References rechitEnergy_.
{ return rechitEnergy_; }
double HcalNoiseSummary::GetRecHitEnergy15 | ( | void | ) | const |
Definition at line 289 of file HcalNoiseSummary.cc.
References rechitEnergy15_.
{ return rechitEnergy15_; }
double HcalNoiseSummary::GetTotalCalibCharge | ( | void | ) | const |
Definition at line 294 of file HcalNoiseSummary.cc.
References calibCharge_.
{ return calibCharge_; }
bool HcalNoiseSummary::HasBadRBXTS4TS5 | ( | void | ) | const |
Definition at line 299 of file HcalNoiseSummary.cc.
References hasBadRBXTS4TS5_.
{ return hasBadRBXTS4TS5_; }
edm::RefVector< CaloTowerCollection > HcalNoiseSummary::highLevelNoiseTowers | ( | void | ) | const |
Definition at line 319 of file HcalNoiseSummary.cc.
References hlnoisetwrs_.
{ return hlnoisetwrs_; }
float HcalNoiseSummary::isolatedNoiseSumE | ( | void | ) | const |
float HcalNoiseSummary::isolatedNoiseSumEt | ( | void | ) | const |
Definition at line 209 of file HcalNoiseSummary.cc.
References isolnoiseet_.
{ return isolnoiseet_; }
edm::RefVector< CaloTowerCollection > HcalNoiseSummary::looseNoiseTowers | ( | void | ) | const |
Definition at line 309 of file HcalNoiseSummary.cc.
References loosenoisetwrs_.
{ return loosenoisetwrs_; }
float HcalNoiseSummary::max10GeVHitTime | ( | void | ) | const |
Definition at line 99 of file HcalNoiseSummary.cc.
References max10_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables().
{ return max10_; }
float HcalNoiseSummary::max25GeVHitTime | ( | void | ) | const |
Definition at line 114 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 159 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 169 of file HcalNoiseSummary.cc.
References maxhpdhits_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
{ return maxhpdhits_; }
int HcalNoiseSummary::maxHPDNoOtherHits | ( | void | ) | const |
Definition at line 174 of file HcalNoiseSummary.cc.
References maxhpdhitsnoother_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
{ return maxhpdhitsnoother_; }
int HcalNoiseSummary::maxRBXHits | ( | void | ) | const |
Definition at line 179 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 164 of file HcalNoiseSummary.cc.
References maxzeros_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
{ return maxzeros_; }
float HcalNoiseSummary::min10GeVHitTime | ( | void | ) | const |
Definition at line 94 of file HcalNoiseSummary.cc.
References min10_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables().
{ return min10_; }
float HcalNoiseSummary::min25GeVHitTime | ( | void | ) | const |
Definition at line 109 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 144 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 184 of file HcalNoiseSummary.cc.
References minhpdemf_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables().
{ return minhpdemf_; }
float HcalNoiseSummary::minRBXEMF | ( | void | ) | const |
Definition at line 189 of file HcalNoiseSummary.cc.
References minrbxemf_.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().
{ return minrbxemf_; }
int HcalNoiseSummary::noiseFilterStatus | ( | void | ) | const |
Definition at line 62 of file HcalNoiseSummary.cc.
References filterstatus_.
{ return filterstatus_; }
int HcalNoiseSummary::noiseType | ( | void | ) | const |
Definition at line 55 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 194 of file HcalNoiseSummary.cc.
References nproblemRBXs_.
{ return nproblemRBXs_; }
int HcalNoiseSummary::numSpikeNoiseChannels | ( | void | ) | const |
Definition at line 229 of file HcalNoiseSummary.cc.
References nspikenoise_.
{ return nspikenoise_; }
int HcalNoiseSummary::numTriangleNoiseChannels | ( | void | ) | const |
Definition at line 244 of file HcalNoiseSummary.cc.
References ntrianglenoise_.
{ return ntrianglenoise_; }
int HcalNoiseSummary::numTS4TS5NoiseChannels | ( | void | ) | const |
Definition at line 259 of file HcalNoiseSummary.cc.
References nts4ts5noise_.
{ return nts4ts5noise_; }
bool HcalNoiseSummary::passHighLevelNoiseFilter | ( | void | ) | const |
Definition at line 50 of file HcalNoiseSummary.cc.
References filterstatus_.
{ return (filterstatus_ & 0xFF0000)==0; }
bool HcalNoiseSummary::passLooseNoiseFilter | ( | void | ) | const |
Definition at line 40 of file HcalNoiseSummary.cc.
References filterstatus_.
{ return (filterstatus_ & 0xFF)==0; }
bool HcalNoiseSummary::passTightNoiseFilter | ( | void | ) | const |
Definition at line 45 of file HcalNoiseSummary.cc.
References filterstatus_.
{ return (filterstatus_ & 0xFF00)==0; }
edm::RefVector< reco::CaloJetCollection > HcalNoiseSummary::problematicJets | ( | void | ) | const |
Definition at line 304 of file HcalNoiseSummary.cc.
References problemjets_.
{ return problemjets_; }
float HcalNoiseSummary::rms10GeVHitTime | ( | void | ) | const |
Definition at line 104 of file HcalNoiseSummary.cc.
References cnthit10_, rms10_, and mathSSE::sqrt().
float HcalNoiseSummary::rms25GeVHitTime | ( | void | ) | const |
Definition at line 119 of file HcalNoiseSummary.cc.
References cnthit25_, rms25_, and mathSSE::sqrt().
float HcalNoiseSummary::spikeNoiseSumE | ( | void | ) | const |
Definition at line 234 of file HcalNoiseSummary.cc.
References spikenoisee_.
{ return spikenoisee_; }
float HcalNoiseSummary::spikeNoiseSumEt | ( | void | ) | const |
Definition at line 239 of file HcalNoiseSummary.cc.
References spikenoiseet_.
{ return spikenoiseet_; }
edm::RefVector< CaloTowerCollection > HcalNoiseSummary::tightNoiseTowers | ( | void | ) | const |
Definition at line 314 of file HcalNoiseSummary.cc.
References tightnoisetwrs_.
{ return tightnoisetwrs_; }
float HcalNoiseSummary::triangleNoiseSumE | ( | void | ) | const |
Definition at line 249 of file HcalNoiseSummary.cc.
References trianglenoisee_.
{ return trianglenoisee_; }
float HcalNoiseSummary::triangleNoiseSumEt | ( | void | ) | const |
Definition at line 254 of file HcalNoiseSummary.cc.
References trianglenoiseet_.
{ return trianglenoiseet_; }
float HcalNoiseSummary::TS4TS5NoiseSumE | ( | void | ) | const |
Definition at line 264 of file HcalNoiseSummary.cc.
References ts4ts5noisee_.
{ return ts4ts5noisee_; }
float HcalNoiseSummary::TS4TS5NoiseSumEt | ( | void | ) | const |
Definition at line 269 of file HcalNoiseSummary.cc.
References ts4ts5noiseet_.
{ return ts4ts5noiseet_; }
friend class reco::HcalNoiseInfoProducer [friend] |
Definition at line 33 of file HcalNoiseSummary.h.
double HcalNoiseSummary::calibCharge_ [private] |
Definition at line 173 of file HcalNoiseSummary.h.
Referenced by GetTotalCalibCharge(), and reco::HcalNoiseInfoProducer::produce().
int HcalNoiseSummary::cnthit10_ [private] |
Definition at line 151 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), num10GeVHits(), and rms10GeVHitTime().
int HcalNoiseSummary::cnthit25_ [private] |
Definition at line 151 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), num25GeVHits(), and rms25GeVHitTime().
float HcalNoiseSummary::emenergy_ [private] |
Definition at line 148 of file HcalNoiseSummary.h.
Referenced by eventChargeFraction(), eventEMEnergy(), eventEMFraction(), and reco::HcalNoiseInfoProducer::fillcalotwrs().
int HcalNoiseSummary::filterstatus_ [private] |
Definition at line 147 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), noiseFilterStatus(), passHighLevelNoiseFilter(), passLooseNoiseFilter(), and passTightNoiseFilter().
float HcalNoiseSummary::flatnoisee_ [private] |
Definition at line 161 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and flatNoiseSumE().
float HcalNoiseSummary::flatnoiseet_ [private] |
Definition at line 161 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and flatNoiseSumEt().
float HcalNoiseSummary::hadenergy_ [private] |
Definition at line 148 of file HcalNoiseSummary.h.
Referenced by eventChargeFraction(), eventEMFraction(), eventHadEnergy(), and reco::HcalNoiseInfoProducer::fillcalotwrs().
bool HcalNoiseSummary::hasBadRBXTS4TS5_ [private] |
Definition at line 175 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and HasBadRBXTS4TS5().
Definition at line 181 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and highLevelNoiseTowers().
float HcalNoiseSummary::isolnoisee_ [private] |
Definition at line 159 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and isolatedNoiseSumE().
float HcalNoiseSummary::isolnoiseet_ [private] |
Definition at line 159 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and isolatedNoiseSumEt().
Definition at line 179 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and looseNoiseTowers().
float HcalNoiseSummary::max10_ [private] |
Definition at line 149 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and max10GeVHitTime().
float HcalNoiseSummary::max25_ [private] |
Definition at line 150 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and max25GeVHitTime().
float HcalNoiseSummary::maxe10ts_ [private] |
Definition at line 153 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), maxE10TS(), and maxE2Over10TS().
float HcalNoiseSummary::maxe2ts_ [private] |
Definition at line 153 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), maxE2Over10TS(), and maxE2TS().
int HcalNoiseSummary::maxhpdhits_ [private] |
Definition at line 155 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and maxHPDHits().
int HcalNoiseSummary::maxhpdhitsnoother_ [private] |
Definition at line 155 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and maxHPDNoOtherHits().
int HcalNoiseSummary::maxrbxhits_ [private] |
Definition at line 155 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and maxRBXHits().
int HcalNoiseSummary::maxzeros_ [private] |
Definition at line 154 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and maxZeros().
float HcalNoiseSummary::min10_ [private] |
Definition at line 149 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and min10GeVHitTime().
float HcalNoiseSummary::min25_ [private] |
Definition at line 150 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and min25GeVHitTime().
float HcalNoiseSummary::mine10ts_ [private] |
Definition at line 152 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), minE10TS(), and minE2Over10TS().
float HcalNoiseSummary::mine2ts_ [private] |
Definition at line 152 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), minE2Over10TS(), and minE2TS().
float HcalNoiseSummary::minhpdemf_ [private] |
Definition at line 156 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and minHPDEMF().
float HcalNoiseSummary::minrbxemf_ [private] |
Definition at line 156 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and minRBXEMF().
int HcalNoiseSummary::nflatnoise_ [private] |
Definition at line 160 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and numFlatNoiseChannels().
int HcalNoiseSummary::nisolnoise_ [private] |
Definition at line 158 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and numIsolatedNoiseChannels().
int HcalNoiseSummary::noisetype_ [private] |
Definition at line 147 of file HcalNoiseSummary.h.
int HcalNoiseSummary::nproblemRBXs_ [private] |
Definition at line 157 of file HcalNoiseSummary.h.
Referenced by numProblematicRBXs(), and reco::HcalNoiseInfoProducer::produce().
int HcalNoiseSummary::nspikenoise_ [private] |
Definition at line 162 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and numSpikeNoiseChannels().
int HcalNoiseSummary::ntrianglenoise_ [private] |
Definition at line 164 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and numTriangleNoiseChannels().
int HcalNoiseSummary::nts4ts5noise_ [private] |
Definition at line 166 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and numTS4TS5NoiseChannels().
Definition at line 177 of file HcalNoiseSummary.h.
Referenced by problematicJets().
int HcalNoiseSummary::rechitCount15_ [private] |
Definition at line 170 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and GetRecHitCount15().
int HcalNoiseSummary::rechitCount_ [private] |
Definition at line 169 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and GetRecHitCount().
double HcalNoiseSummary::rechitEnergy15_ [private] |
Definition at line 172 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and GetRecHitEnergy15().
double HcalNoiseSummary::rechitEnergy_ [private] |
Definition at line 171 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and GetRecHitEnergy().
float HcalNoiseSummary::rms10_ [private] |
Definition at line 149 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and rms10GeVHitTime().
float HcalNoiseSummary::rms25_ [private] |
Definition at line 150 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and rms25GeVHitTime().
float HcalNoiseSummary::spikenoisee_ [private] |
Definition at line 163 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and spikeNoiseSumE().
float HcalNoiseSummary::spikenoiseet_ [private] |
Definition at line 163 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and spikeNoiseSumEt().
Definition at line 180 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and tightNoiseTowers().
float HcalNoiseSummary::trackenergy_ [private] |
Definition at line 148 of file HcalNoiseSummary.h.
Referenced by eventChargeFraction(), eventTrackEnergy(), and reco::HcalNoiseInfoProducer::filltracks().
float HcalNoiseSummary::trianglenoisee_ [private] |
Definition at line 165 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and triangleNoiseSumE().
float HcalNoiseSummary::trianglenoiseet_ [private] |
Definition at line 165 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and triangleNoiseSumEt().
float HcalNoiseSummary::ts4ts5noisee_ [private] |
Definition at line 167 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and TS4TS5NoiseSumE().
float HcalNoiseSummary::ts4ts5noiseet_ [private] |
Definition at line 167 of file HcalNoiseSummary.h.
Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and TS4TS5NoiseSumEt().