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
 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 numIsolatedNoiseChannels (void) const
int numProblematicRBXs (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
edm::RefVector
< CaloTowerCollection
tightNoiseTowers (void) const
virtual ~HcalNoiseSummary ()

Private Attributes

int cnthit10_
int cnthit25_
float emenergy_
int filterstatus_
float hadenergy_
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 nisolnoise_
int noisetype_
int nproblemRBXs_
edm::RefVector
< reco::CaloJetCollection
problemjets_
float rms10_
float rms25_
edm::RefVector
< CaloTowerCollection
tightnoisetwrs_
float trackenergy_

Friends

class reco::HcalNoiseInfoProducer

Detailed Description

Definition at line 31 of file HcalNoiseSummary.h.


Constructor & Destructor Documentation

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)
{
}
HcalNoiseSummary::~HcalNoiseSummary ( ) [virtual]

Definition at line 29 of file HcalNoiseSummary.cc.

{
}

Member Function Documentation

float HcalNoiseSummary::eventChargeFraction ( void  ) const

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

References emenergy_.

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

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

References hadenergy_.

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

Definition at line 71 of file HcalNoiseSummary.cc.

References trackenergy_.

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

Definition at line 223 of file HcalNoiseSummary.cc.

References hlnoisetwrs_.

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

Definition at line 198 of file HcalNoiseSummary.cc.

References isolnoisee_.

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

Definition at line 203 of file HcalNoiseSummary.cc.

References isolnoiseet_.

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

Definition at line 213 of file HcalNoiseSummary.cc.

References loosenoisetwrs_.

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

Definition at line 93 of file HcalNoiseSummary.cc.

References max10_.

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

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

Definition at line 108 of file HcalNoiseSummary.cc.

References max25_.

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

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

Definition at line 148 of file HcalNoiseSummary.cc.

References maxe10ts_.

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

Definition at line 153 of file HcalNoiseSummary.cc.

References maxe10ts_, and maxe2ts_.

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

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

Definition at line 143 of file HcalNoiseSummary.cc.

References maxe2ts_.

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

Definition at line 163 of file HcalNoiseSummary.cc.

References maxhpdhits_.

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

{
  return maxhpdhits_;
}
int HcalNoiseSummary::maxHPDNoOtherHits ( void  ) const
int HcalNoiseSummary::maxRBXHits ( void  ) const

Definition at line 173 of file HcalNoiseSummary.cc.

References maxrbxhits_.

Referenced by reco::HcalNoiseInfoProducer::fillOtherSummaryVariables(), and noiseType().

{
  return maxrbxhits_;
}
int HcalNoiseSummary::maxZeros ( void  ) const

Definition at line 158 of file HcalNoiseSummary.cc.

References maxzeros_.

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

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

Definition at line 88 of file HcalNoiseSummary.cc.

References min10_.

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

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

Definition at line 103 of file HcalNoiseSummary.cc.

References min25_.

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

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

Definition at line 133 of file HcalNoiseSummary.cc.

References mine10ts_.

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

Definition at line 138 of file HcalNoiseSummary.cc.

References mine10ts_, and mine2ts_.

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

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

Definition at line 128 of file HcalNoiseSummary.cc.

References mine2ts_.

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

Definition at line 178 of file HcalNoiseSummary.cc.

References minhpdemf_.

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

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

Definition at line 183 of file HcalNoiseSummary.cc.

References minrbxemf_.

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

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

Definition at line 56 of file HcalNoiseSummary.cc.

References filterstatus_.

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

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

References cnthit10_.

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

Definition at line 123 of file HcalNoiseSummary.cc.

References cnthit25_.

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

Definition at line 193 of file HcalNoiseSummary.cc.

References nisolnoise_.

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

Definition at line 188 of file HcalNoiseSummary.cc.

References nproblemRBXs_.

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

Definition at line 44 of file HcalNoiseSummary.cc.

References filterstatus_.

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

Definition at line 34 of file HcalNoiseSummary.cc.

References filterstatus_.

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

Definition at line 39 of file HcalNoiseSummary.cc.

References filterstatus_.

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

Definition at line 208 of file HcalNoiseSummary.cc.

References problemjets_.

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

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

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

{
  return cnthit25_>0 ? std::sqrt(rms25_/cnthit25_) : 999;
}
edm::RefVector< CaloTowerCollection > HcalNoiseSummary::tightNoiseTowers ( void  ) const

Definition at line 218 of file HcalNoiseSummary.cc.

References tightnoisetwrs_.

{
  return tightnoisetwrs_;
}

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

Definition at line 132 of file HcalNoiseSummary.h.

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

Definition at line 136 of file HcalNoiseSummary.h.

Referenced by problematicJets().

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