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
double GetCalibChargeTS45 (void) const
int GetCalibCountTS45 (void) const
double GetCalibgt15ChargeTS45 (void) const
int GetCalibgt15CountTS45 (void) const
double GetEnergyInLaserRegion (void) const
double GetEnergyInNonLaserRegion (void) const
int GetHitsInLaserRegion (void) const
int GetHitsInNonLaserRegion (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_
double calibChargegt15TS45_
double calibChargeTS45_
int calibCountgt15TS45_
int calibCountTS45_
int cnthit10_
int cnthit25_
float emenergy_
double energyInLaserRegion_
double energyInNonLaserRegion_
int filterstatus_
float flatnoisee_
float flatnoiseet_
float hadenergy_
bool hasBadRBXTS4TS5_
int hitsInLaserRegion_
int hitsInNonLaserRegion_
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 43 of file HcalNoiseSummary.cc.

{
}

Member Function Documentation

float HcalNoiseSummary::eventChargeFraction ( void  ) const

Definition at line 96 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 75 of file HcalNoiseSummary.cc.

References emenergy_.

{
  return emenergy_;
}
float HcalNoiseSummary::eventEMFraction ( void  ) const

Definition at line 90 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 80 of file HcalNoiseSummary.cc.

References hadenergy_.

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

Definition at line 85 of file HcalNoiseSummary.cc.

References trackenergy_.

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

Definition at line 227 of file HcalNoiseSummary.cc.

References flatnoisee_.

{
  return flatnoisee_;
}
float HcalNoiseSummary::flatNoiseSumEt ( void  ) const

Definition at line 232 of file HcalNoiseSummary.cc.

References flatnoiseet_.

{
  return flatnoiseet_;
}
double HcalNoiseSummary::GetCalibChargeTS45 ( void  ) const

Definition at line 322 of file HcalNoiseSummary.cc.

References calibChargeTS45_.

{
  return calibChargeTS45_;
}
int HcalNoiseSummary::GetCalibCountTS45 ( void  ) const

Definition at line 312 of file HcalNoiseSummary.cc.

References calibCountTS45_.

{
  return calibCountTS45_;
}
double HcalNoiseSummary::GetCalibgt15ChargeTS45 ( void  ) const

Definition at line 327 of file HcalNoiseSummary.cc.

References calibChargegt15TS45_.

int HcalNoiseSummary::GetCalibgt15CountTS45 ( void  ) const

Definition at line 317 of file HcalNoiseSummary.cc.

References calibCountgt15TS45_.

{
  return calibCountgt15TS45_;
}
double HcalNoiseSummary::GetEnergyInLaserRegion ( void  ) const

Definition at line 347 of file HcalNoiseSummary.cc.

References energyInLaserRegion_.

double HcalNoiseSummary::GetEnergyInNonLaserRegion ( void  ) const

Definition at line 337 of file HcalNoiseSummary.cc.

References energyInNonLaserRegion_.

int HcalNoiseSummary::GetHitsInLaserRegion ( void  ) const

Definition at line 342 of file HcalNoiseSummary.cc.

References hitsInLaserRegion_.

{
  return hitsInLaserRegion_;
}
int HcalNoiseSummary::GetHitsInNonLaserRegion ( void  ) const

Definition at line 332 of file HcalNoiseSummary.cc.

References hitsInNonLaserRegion_.

int HcalNoiseSummary::GetRecHitCount ( void  ) const

Definition at line 282 of file HcalNoiseSummary.cc.

References rechitCount_.

{
   return rechitCount_;
}
int HcalNoiseSummary::GetRecHitCount15 ( void  ) const

Definition at line 287 of file HcalNoiseSummary.cc.

References rechitCount15_.

{
   return rechitCount15_;
}
double HcalNoiseSummary::GetRecHitEnergy ( void  ) const

Definition at line 292 of file HcalNoiseSummary.cc.

References rechitEnergy_.

{
   return rechitEnergy_;
}
double HcalNoiseSummary::GetRecHitEnergy15 ( void  ) const

Definition at line 297 of file HcalNoiseSummary.cc.

References rechitEnergy15_.

{
   return rechitEnergy15_;
}
double HcalNoiseSummary::GetTotalCalibCharge ( void  ) const

Definition at line 302 of file HcalNoiseSummary.cc.

References calibCharge_.

{
   return calibCharge_;
}
bool HcalNoiseSummary::HasBadRBXTS4TS5 ( void  ) const

Definition at line 307 of file HcalNoiseSummary.cc.

References hasBadRBXTS4TS5_.

{
   return hasBadRBXTS4TS5_;
}
edm::RefVector< CaloTowerCollection > HcalNoiseSummary::highLevelNoiseTowers ( void  ) const

Definition at line 367 of file HcalNoiseSummary.cc.

References hlnoisetwrs_.

{
  return hlnoisetwrs_;
}
float HcalNoiseSummary::isolatedNoiseSumE ( void  ) const

Definition at line 212 of file HcalNoiseSummary.cc.

References isolnoisee_.

{
  return isolnoisee_;
}
float HcalNoiseSummary::isolatedNoiseSumEt ( void  ) const

Definition at line 217 of file HcalNoiseSummary.cc.

References isolnoiseet_.

{
  return isolnoiseet_;
}
edm::RefVector< CaloTowerCollection > HcalNoiseSummary::looseNoiseTowers ( void  ) const

Definition at line 357 of file HcalNoiseSummary.cc.

References loosenoisetwrs_.

{
  return loosenoisetwrs_;
}
float HcalNoiseSummary::max10GeVHitTime ( void  ) const

Definition at line 107 of file HcalNoiseSummary.cc.

References max10_.

Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables().

{
  return max10_;
}
float HcalNoiseSummary::max25GeVHitTime ( void  ) const

Definition at line 122 of file HcalNoiseSummary.cc.

References max25_.

Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().

{
  return max25_;
}
float HcalNoiseSummary::maxE10TS ( void  ) const

Definition at line 162 of file HcalNoiseSummary.cc.

References maxe10ts_.

{
  return maxe10ts_;
}
float HcalNoiseSummary::maxE2Over10TS ( void  ) const

Definition at line 167 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 157 of file HcalNoiseSummary.cc.

References maxe2ts_.

{
  return maxe2ts_;
}
int HcalNoiseSummary::maxHPDHits ( void  ) const

Definition at line 177 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 172 of file HcalNoiseSummary.cc.

References maxzeros_.

Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().

{
  return maxzeros_;
}
float HcalNoiseSummary::min10GeVHitTime ( void  ) const

Definition at line 102 of file HcalNoiseSummary.cc.

References min10_.

Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables().

{
  return min10_;
}
float HcalNoiseSummary::min25GeVHitTime ( void  ) const

Definition at line 117 of file HcalNoiseSummary.cc.

References min25_.

Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().

{
  return min25_;
}
float HcalNoiseSummary::minE10TS ( void  ) const

Definition at line 147 of file HcalNoiseSummary.cc.

References mine10ts_.

{
  return mine10ts_;
}
float HcalNoiseSummary::minE2Over10TS ( void  ) const

Definition at line 152 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 142 of file HcalNoiseSummary.cc.

References mine2ts_.

{
  return mine2ts_;
}
float HcalNoiseSummary::minHPDEMF ( void  ) const

Definition at line 192 of file HcalNoiseSummary.cc.

References minhpdemf_.

Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables().

{
  return minhpdemf_;
}
float HcalNoiseSummary::minRBXEMF ( void  ) const

Definition at line 197 of file HcalNoiseSummary.cc.

References minrbxemf_.

Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and myFilter::filter().

{
  return minrbxemf_;
}
int HcalNoiseSummary::noiseFilterStatus ( void  ) const

Definition at line 70 of file HcalNoiseSummary.cc.

References filterstatus_.

{
  return filterstatus_;
}
int HcalNoiseSummary::noiseType ( void  ) const

Definition at line 63 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 132 of file HcalNoiseSummary.cc.

References cnthit10_.

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

Definition at line 137 of file HcalNoiseSummary.cc.

References cnthit25_.

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

Definition at line 222 of file HcalNoiseSummary.cc.

References nflatnoise_.

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

Definition at line 207 of file HcalNoiseSummary.cc.

References nisolnoise_.

{
  return nisolnoise_;
}
int HcalNoiseSummary::numProblematicRBXs ( void  ) const

Definition at line 202 of file HcalNoiseSummary.cc.

References nproblemRBXs_.

{
  return nproblemRBXs_;
}
int HcalNoiseSummary::numSpikeNoiseChannels ( void  ) const

Definition at line 237 of file HcalNoiseSummary.cc.

References nspikenoise_.

{
  return nspikenoise_;
}
int HcalNoiseSummary::numTriangleNoiseChannels ( void  ) const

Definition at line 252 of file HcalNoiseSummary.cc.

References ntrianglenoise_.

{
  return ntrianglenoise_;
}
int HcalNoiseSummary::numTS4TS5NoiseChannels ( void  ) const

Definition at line 267 of file HcalNoiseSummary.cc.

References nts4ts5noise_.

{
  return nts4ts5noise_;
}
bool HcalNoiseSummary::passHighLevelNoiseFilter ( void  ) const

Definition at line 58 of file HcalNoiseSummary.cc.

References filterstatus_.

{
  return (filterstatus_ & 0xFF0000)==0;
}
bool HcalNoiseSummary::passLooseNoiseFilter ( void  ) const

Definition at line 48 of file HcalNoiseSummary.cc.

References filterstatus_.

{
  return (filterstatus_ & 0xFF)==0;
}
bool HcalNoiseSummary::passTightNoiseFilter ( void  ) const

Definition at line 53 of file HcalNoiseSummary.cc.

References filterstatus_.

{
  return (filterstatus_ & 0xFF00)==0;
}
edm::RefVector< reco::CaloJetCollection > HcalNoiseSummary::problematicJets ( void  ) const

Definition at line 352 of file HcalNoiseSummary.cc.

References problemjets_.

{
  return problemjets_;
}
float HcalNoiseSummary::rms10GeVHitTime ( void  ) const

Definition at line 112 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 127 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 242 of file HcalNoiseSummary.cc.

References spikenoisee_.

{
  return spikenoisee_;
}
float HcalNoiseSummary::spikeNoiseSumEt ( void  ) const

Definition at line 247 of file HcalNoiseSummary.cc.

References spikenoiseet_.

{
  return spikenoiseet_;
}
edm::RefVector< CaloTowerCollection > HcalNoiseSummary::tightNoiseTowers ( void  ) const

Definition at line 362 of file HcalNoiseSummary.cc.

References tightnoisetwrs_.

{
  return tightnoisetwrs_;
}
float HcalNoiseSummary::triangleNoiseSumE ( void  ) const

Definition at line 257 of file HcalNoiseSummary.cc.

References trianglenoisee_.

{
  return trianglenoisee_;
}
float HcalNoiseSummary::triangleNoiseSumEt ( void  ) const

Definition at line 262 of file HcalNoiseSummary.cc.

References trianglenoiseet_.

{
  return trianglenoiseet_;
}
float HcalNoiseSummary::TS4TS5NoiseSumE ( void  ) const

Definition at line 272 of file HcalNoiseSummary.cc.

References ts4ts5noisee_.

{
  return ts4ts5noisee_;
}
float HcalNoiseSummary::TS4TS5NoiseSumEt ( void  ) const

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

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

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

Definition at line 168 of file HcalNoiseSummary.h.

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

Definition at line 198 of file HcalNoiseSummary.h.

Referenced by problematicJets().

Definition at line 180 of file HcalNoiseSummary.h.

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

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

Definition at line 174 of file HcalNoiseSummary.h.

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