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
int GetRecHitCount (void) const
int GetRecHitCount15 (void) const
double GetRecHitEnergy (void) const
double GetRecHitEnergy15 (void) const
double GetTotalCalibCharge (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

double calibCharge_
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_
int rechitCount15_
int rechitCount_
double rechitEnergy15_
double rechitEnergy_
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 35 of file HcalNoiseSummary.cc.

{
}

Member Function Documentation

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

Definition at line 67 of file HcalNoiseSummary.cc.

References emenergy_.

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

Definition at line 72 of file HcalNoiseSummary.cc.

References hadenergy_.

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

Definition at line 77 of file HcalNoiseSummary.cc.

References trackenergy_.

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

Definition at line 219 of file HcalNoiseSummary.cc.

References flatnoisee_.

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

Definition at line 204 of file HcalNoiseSummary.cc.

References isolnoisee_.

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

Definition at line 154 of file HcalNoiseSummary.cc.

References maxe10ts_.

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

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

Definition at line 149 of file HcalNoiseSummary.cc.

References maxe2ts_.

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

Definition at line 139 of file HcalNoiseSummary.cc.

References mine10ts_.

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

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

Definition at line 134 of file HcalNoiseSummary.cc.

References mine2ts_.

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

Definition at line 124 of file HcalNoiseSummary.cc.

References cnthit10_.

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

Definition at line 129 of file HcalNoiseSummary.cc.

References cnthit25_.

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

Definition at line 214 of file HcalNoiseSummary.cc.

References nflatnoise_.

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

Definition at line 199 of file HcalNoiseSummary.cc.

References nisolnoise_.

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

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

Definition at line 119 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 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_;
}

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 161 of file HcalNoiseSummary.h.

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

Definition at line 161 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 147 of file HcalNoiseSummary.h.

Definition at line 157 of file HcalNoiseSummary.h.

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

Definition at line 177 of file HcalNoiseSummary.h.

Referenced by problematicJets().

Definition at line 169 of file HcalNoiseSummary.h.

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

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

Definition at line 163 of file HcalNoiseSummary.h.

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