#include <HcalNoiseRBX.h>
Definition at line 35 of file HcalNoiseRBX.h.
HcalNoiseRBX::HcalNoiseRBX |
( |
| ) |
|
Definition at line 16 of file HcalNoiseRBX.cc.
static const int MAXSAMPLES
std::vector< HcalNoiseHPD > hpds_
std::vector< float > allCharge_
HcalNoiseRBX::~HcalNoiseRBX |
( |
| ) |
|
|
virtual |
const std::vector< float > HcalNoiseRBX::allCharge |
( |
void |
| ) |
const |
float HcalNoiseRBX::allChargeHighest2TS |
( |
unsigned int |
firstts = 4 | ) |
const |
float HcalNoiseRBX::allChargeHighest3TS |
( |
unsigned int |
firstts = 4 | ) |
const |
float HcalNoiseRBX::allChargeTotal |
( |
void |
| ) |
const |
double HcalNoiseRBX::caloTowerEmE |
( |
void |
| ) |
const |
Definition at line 162 of file HcalNoiseRBX.cc.
References alignCSCRings::e, and uniqueTowers().
167 for(towerset_t::const_iterator it=twrs.begin(); it!=twrs.end(); ++it) {
std::set< CaloTower, twrcomp > towerset_t
void uniqueTowers(towerset_t &twrs_) const
double HcalNoiseRBX::caloTowerEmFraction |
( |
void |
| ) |
const |
Definition at line 184 of file HcalNoiseRBX.cc.
References alignCSCRings::e, h, and uniqueTowers().
189 for(towerset_t::const_iterator it=twrs.begin(); it!=twrs.end(); ++it) {
190 h += it->hadEnergy();
193 return (e+
h)==0 ? 999 : e/(e+
h);
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::set< CaloTower, twrcomp > towerset_t
void uniqueTowers(towerset_t &twrs_) const
double HcalNoiseRBX::caloTowerHadE |
( |
void |
| ) |
const |
Definition at line 151 of file HcalNoiseRBX.cc.
References h, and uniqueTowers().
156 for(towerset_t::const_iterator it=twrs.begin(); it!=twrs.end(); ++it) {
157 h += it->hadEnergy();
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::set< CaloTower, twrcomp > towerset_t
void uniqueTowers(towerset_t &twrs_) const
double HcalNoiseRBX::caloTowerTotalE |
( |
void |
| ) |
const |
Definition at line 173 of file HcalNoiseRBX.cc.
References alignCSCRings::e, and uniqueTowers().
178 for(towerset_t::const_iterator it=twrs.begin(); it!=twrs.end(); ++it) {
179 e += it->hadEnergy() + it->emEnergy();
std::set< CaloTower, twrcomp > towerset_t
void uniqueTowers(towerset_t &twrs_) const
const std::vector< HcalNoiseHPD > HcalNoiseRBX::HPDs |
( |
void |
| ) |
const |
std::vector<HcalNoiseHPD>::const_iterator reco::HcalNoiseRBX::HPDsBegin |
( |
void |
| ) |
const |
|
inline |
std::vector<HcalNoiseHPD>::const_iterator reco::HcalNoiseRBX::HPDsEnd |
( |
void |
| ) |
const |
|
inline |
int HcalNoiseRBX::idnumber |
( |
void |
| ) |
const |
std::vector< HcalNoiseHPD >::const_iterator HcalNoiseRBX::maxHPD |
( |
double |
threshold = 1.5 | ) |
const |
Definition at line 38 of file HcalNoiseRBX.cc.
References hpds_.
40 std::vector<HcalNoiseHPD>::const_iterator maxit=
hpds_.end();
41 double maxenergy=-99999999.;
42 for(std::vector<HcalNoiseHPD>::const_iterator it=
hpds_.begin(); it!=
hpds_.end(); ++it) {
43 double tempenergy=it->recHitEnergy();
44 if(tempenergy>maxenergy) {
std::vector< HcalNoiseHPD > hpds_
double HcalNoiseRBX::maxRecHitTime |
( |
double |
threshold = 20.0 | ) |
const |
Definition at line 125 of file HcalNoiseRBX.cc.
References hpds_, and i.
127 double maxtime=-9999999.;
128 for(
unsigned int i=0;
i<
hpds_.size();
i++) {
130 if(temptime>maxtime) maxtime=temptime;
std::vector< HcalNoiseHPD > hpds_
int HcalNoiseRBX::maxZeros |
( |
void |
| ) |
const |
double HcalNoiseRBX::minRecHitTime |
( |
double |
threshold = 20.0 | ) |
const |
Definition at line 115 of file HcalNoiseRBX.cc.
References hpds_, and i.
117 double mintime=9999999.;
118 for(
unsigned int i=0;
i<
hpds_.size();
i++) {
120 if(temptime<mintime) mintime=temptime;
std::vector< HcalNoiseHPD > hpds_
int HcalNoiseRBX::numRecHits |
( |
double |
threshold = 1.5 | ) |
const |
int HcalNoiseRBX::numRecHitsFailR45 |
( |
double |
threshold = 1.5 | ) |
const |
double HcalNoiseRBX::recHitEnergy |
( |
double |
theshold = 1.5 | ) |
const |
double HcalNoiseRBX::recHitEnergyFailR45 |
( |
double |
threshold = 1.5 | ) |
const |
int HcalNoiseRBX::totalZeros |
( |
void |
| ) |
const |
Definition at line 82 of file HcalNoiseRBX.cc.
References hpds_, and i.
85 for(
unsigned int i=0;
i<
hpds_.size();
i++)
std::vector< HcalNoiseHPD > hpds_
int totalZeros(void) const
void HcalNoiseRBX::uniqueTowers |
( |
towerset_t & |
twrs_ | ) |
const |
|
private |
std::vector<float> reco::HcalNoiseRBX::allCharge_ |
|
private |
Definition at line 112 of file HcalNoiseRBX.h.
Referenced by HPDs(), HPDsBegin(), HPDsEnd(), maxHPD(), maxRecHitTime(), maxZeros(), minRecHitTime(), numRecHits(), numRecHitsFailR45(), recHitEnergy(), recHitEnergyFailR45(), totalZeros(), and uniqueTowers().
int reco::HcalNoiseRBX::idnumber_ |
|
private |