CMS 3D CMS Logo

Public Member Functions | Private Attributes | Friends

HcalNoiseSummary Class Reference

#include <HcalNoiseSummary.h>

List of all members.

Public Member Functions

float eventChargeFraction (void) const
float eventEMEnergy (void) const
float eventEMFraction (void) const
float eventHadEnergy (void) const
float eventTrackEnergy (void) const
float flatNoiseSumE (void) const
float flatNoiseSumEt (void) const
bool HasBadRBXTS4TS5 (void) const
 HcalNoiseSummary ()
edm::RefVector
< CaloTowerCollection
highLevelNoiseTowers (void) const
float isolatedNoiseSumE (void) const
float isolatedNoiseSumEt (void) const
edm::RefVector
< CaloTowerCollection
looseNoiseTowers (void) const
float max10GeVHitTime (void) const
float max25GeVHitTime (void) const
float maxE10TS (void) const
float maxE2Over10TS (void) const
float maxE2TS (void) const
int maxHPDHits (void) const
int maxHPDNoOtherHits (void) const
int maxRBXHits (void) const
int maxZeros (void) const
float min10GeVHitTime (void) const
float min25GeVHitTime (void) const
float minE10TS (void) const
float minE2Over10TS (void) const
float minE2TS (void) const
float minHPDEMF (void) const
float minRBXEMF (void) const
int noiseFilterStatus (void) const
int noiseType (void) const
int num10GeVHits (void) const
int num25GeVHits (void) const
int numFlatNoiseChannels (void) const
int numIsolatedNoiseChannels (void) const
int numProblematicRBXs (void) const
int numSpikeNoiseChannels (void) const
int numTriangleNoiseChannels (void) const
int numTS4TS5NoiseChannels (void) const
bool passHighLevelNoiseFilter (void) const
bool passLooseNoiseFilter (void) const
bool passTightNoiseFilter (void) const
edm::RefVector
< reco::CaloJetCollection
problematicJets (void) const
float rms10GeVHitTime (void) const
float rms25GeVHitTime (void) const
float spikeNoiseSumE (void) const
float spikeNoiseSumEt (void) const
edm::RefVector
< CaloTowerCollection
tightNoiseTowers (void) const
float triangleNoiseSumE (void) const
float triangleNoiseSumEt (void) const
float TS4TS5NoiseSumE (void) const
float TS4TS5NoiseSumEt (void) const
virtual ~HcalNoiseSummary ()

Private Attributes

int cnthit10_
int cnthit25_
float emenergy_
int filterstatus_
float flatnoisee_
float flatnoiseet_
float hadenergy_
bool hasBadRBXTS4TS5_
edm::RefVector
< CaloTowerCollection
hlnoisetwrs_
float isolnoisee_
float isolnoiseet_
edm::RefVector
< CaloTowerCollection
loosenoisetwrs_
float max10_
float max25_
float maxe10ts_
float maxe2ts_
int maxhpdhits_
int maxhpdhitsnoother_
int maxrbxhits_
int maxzeros_
float min10_
float min25_
float mine10ts_
float mine2ts_
float minhpdemf_
float minrbxemf_
int nflatnoise_
int nisolnoise_
int noisetype_
int nproblemRBXs_
int nspikenoise_
int ntrianglenoise_
int nts4ts5noise_
edm::RefVector
< reco::CaloJetCollection
problemjets_
float rms10_
float rms25_
float spikenoisee_
float spikenoiseet_
edm::RefVector
< CaloTowerCollection
tightnoisetwrs_
float trackenergy_
float trianglenoisee_
float trianglenoiseet_
float ts4ts5noisee_
float ts4ts5noiseet_

Friends

class reco::HcalNoiseInfoProducer

Detailed Description

Definition at line 31 of file HcalNoiseSummary.h.


Constructor & Destructor Documentation

HcalNoiseSummary::HcalNoiseSummary ( )
HcalNoiseSummary::~HcalNoiseSummary ( ) [virtual]

Definition at line 34 of file HcalNoiseSummary.cc.

{
}

Member Function Documentation

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

Definition at line 66 of file HcalNoiseSummary.cc.

References emenergy_.

{
  return emenergy_;
}
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

Definition at line 71 of file HcalNoiseSummary.cc.

References hadenergy_.

{
  return hadenergy_;
}
float HcalNoiseSummary::eventTrackEnergy ( void  ) const

Definition at line 76 of file HcalNoiseSummary.cc.

References trackenergy_.

{
  return trackenergy_;
}
float HcalNoiseSummary::flatNoiseSumE ( void  ) const

Definition at line 218 of file HcalNoiseSummary.cc.

References flatnoisee_.

{
  return flatnoisee_;
}
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

Definition at line 203 of file HcalNoiseSummary.cc.

References isolnoisee_.

{
  return isolnoisee_;
}
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

Definition at line 153 of file HcalNoiseSummary.cc.

References maxe10ts_.

{
  return maxe10ts_;
}
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().

{
  return maxe10ts_==0 ? -999999. : maxe2ts_/maxe10ts_;
}
float HcalNoiseSummary::maxE2TS ( void  ) const

Definition at line 148 of file HcalNoiseSummary.cc.

References maxe2ts_.

{
  return maxe2ts_;
}
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
int HcalNoiseSummary::maxRBXHits ( void  ) const
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

Definition at line 138 of file HcalNoiseSummary.cc.

References mine10ts_.

{
  return mine10ts_;
}
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().

{
  return mine10ts_==0 ? 999999. : mine2ts_/mine10ts_;
}
float HcalNoiseSummary::minE2TS ( void  ) const

Definition at line 133 of file HcalNoiseSummary.cc.

References mine2ts_.

{
  return mine2ts_;
}
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

Definition at line 123 of file HcalNoiseSummary.cc.

References cnthit10_.

{
  return cnthit10_;
}
int HcalNoiseSummary::num25GeVHits ( void  ) const

Definition at line 128 of file HcalNoiseSummary.cc.

References cnthit25_.

{
  return cnthit25_;
}
int HcalNoiseSummary::numFlatNoiseChannels ( void  ) const

Definition at line 213 of file HcalNoiseSummary.cc.

References nflatnoise_.

{
  return nflatnoise_;
}
int HcalNoiseSummary::numIsolatedNoiseChannels ( void  ) const

Definition at line 198 of file HcalNoiseSummary.cc.

References nisolnoise_.

{
  return nisolnoise_;
}
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().

{
  return cnthit10_>0 ? std::sqrt(rms10_/cnthit10_) : 999;
}
float HcalNoiseSummary::rms25GeVHitTime ( void  ) const

Definition at line 118 of file HcalNoiseSummary.cc.

References cnthit25_, rms25_, and mathSSE::sqrt().

{
  return cnthit25_>0 ? std::sqrt(rms25_/cnthit25_) : 999;
}
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_;
}

Friends And Related Function Documentation

friend class reco::HcalNoiseInfoProducer [friend]

Definition at line 33 of file HcalNoiseSummary.h.


Member Data Documentation

float HcalNoiseSummary::emenergy_ [private]

Definition at line 154 of file HcalNoiseSummary.h.

Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and flatNoiseSumE().

Definition at line 154 of file HcalNoiseSummary.h.

Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and flatNoiseSumEt().

float HcalNoiseSummary::max10_ [private]
float HcalNoiseSummary::max25_ [private]
float HcalNoiseSummary::maxe10ts_ [private]
float HcalNoiseSummary::maxe2ts_ [private]
float HcalNoiseSummary::min10_ [private]
float HcalNoiseSummary::min25_ [private]
float HcalNoiseSummary::mine10ts_ [private]
float HcalNoiseSummary::mine2ts_ [private]

Definition at line 140 of file HcalNoiseSummary.h.

Definition at line 150 of file HcalNoiseSummary.h.

Referenced by numProblematicRBXs(), and reco::HcalNoiseInfoProducer::produce().

Definition at line 164 of file HcalNoiseSummary.h.

Referenced by problematicJets().

float HcalNoiseSummary::rms10_ [private]
float HcalNoiseSummary::rms25_ [private]

Definition at line 156 of file HcalNoiseSummary.h.

Referenced by reco::HcalNoiseInfoProducer::fillrechits(), and spikeNoiseSumE().