#include <TrackDetMatchInfo.h>
Public Member Functions | |
double | ecalConeEnergyFromCaloTowers () |
double | ecalConeEnergyFromRecHits () |
double | ecalEnergyFromCaloTowers () |
double | ecalEnergyFromRecHits () |
ECAL energy. | |
double | hcalBoxEnergyFromCaloTowers () |
double | hcalBoxEnergyFromRecHits () |
double | hcalConeEnergyFromCaloTowers () |
double | hcalConeEnergyFromRecHits () |
double | hcalEnergyFromCaloTowers () |
double | hcalEnergyFromRecHits () |
HCAL energy. | |
double | outerHcalEnergy () |
Public Attributes | |
std::vector< HBHERecHit > | boxHcalRecHits |
std::vector< CaloTower > | boxTowers |
std::vector< EcalRecHit > | coneEcalRecHits |
std::vector< HBHERecHit > | coneHcalRecHits |
std::vector< CaloTower > | coneTowers |
std::vector< EcalRecHit > | crossedEcalRecHits |
std::vector< HBHERecHit > | crossedHcalRecHits |
std::vector< CaloTower > | crossedTowers |
bool | isGoodCalo |
bool | isGoodEcal |
bool | isGoodHcal |
std::vector< HBHERecHit > | regionHcalRecHits |
std::vector< CaloTower > | regionTowers |
math::XYZPoint | trkGlobPosAtEcal |
math::XYZPoint | trkGlobPosAtHcal |
Definition at line 10 of file TrackDetMatchInfo.h.
double HTrackDetMatchInfo::ecalConeEnergyFromCaloTowers | ( | ) |
Definition at line 31 of file TrackDetMatchInfo.cc.
References coneTowers, and relval_parameters_module::energy.
{ double energy(0); for(std::vector<CaloTower>::const_iterator hit=coneTowers.begin(); hit!=coneTowers.end(); hit++) energy += hit->emEnergy(); return energy; }
double HTrackDetMatchInfo::ecalConeEnergyFromRecHits | ( | ) |
Definition at line 12 of file TrackDetMatchInfo.cc.
References coneEcalRecHits, and relval_parameters_module::energy.
Referenced by HTrackAssociator::getEcalEnergy().
{ double energy(0); for(std::vector<EcalRecHit>::const_iterator hit=coneEcalRecHits.begin(); hit!=coneEcalRecHits.end(); hit++) { energy += hit->energy(); // std::cout<< hit->detid().rawId()<<" "<<hit->energy()<<" "<<energy<<std::endl; } return energy; }
double HTrackDetMatchInfo::ecalEnergyFromCaloTowers | ( | ) |
Definition at line 22 of file TrackDetMatchInfo.cc.
References crossedTowers, and relval_parameters_module::energy.
{ double energy(0); for(std::vector<CaloTower>::const_iterator hit=crossedTowers.begin(); hit!=crossedTowers.end(); hit++) { energy += hit->emEnergy(); } return energy; }
double HTrackDetMatchInfo::ecalEnergyFromRecHits | ( | ) |
ECAL energy.
Definition at line 4 of file TrackDetMatchInfo.cc.
References crossedEcalRecHits, and relval_parameters_module::energy.
Referenced by HTrackAssociator::getEcalEnergy().
{ double energy(0); for(std::vector<EcalRecHit>::const_iterator hit=crossedEcalRecHits.begin(); hit!=crossedEcalRecHits.end(); hit++) energy += hit->energy(); return energy; }
double HTrackDetMatchInfo::hcalBoxEnergyFromCaloTowers | ( | ) |
double HTrackDetMatchInfo::hcalBoxEnergyFromRecHits | ( | ) |
Definition at line 56 of file TrackDetMatchInfo.cc.
References boxHcalRecHits, and relval_parameters_module::energy.
{ double energy(0); for(std::vector<HBHERecHit>::const_iterator hit=boxHcalRecHits.begin(); hit!=boxHcalRecHits.end(); hit++) energy += hit->energy(); return energy; }
double HTrackDetMatchInfo::hcalConeEnergyFromCaloTowers | ( | ) |
Definition at line 72 of file TrackDetMatchInfo.cc.
References coneTowers, and relval_parameters_module::energy.
{ double energy(0); for(std::vector<CaloTower>::const_iterator hit=coneTowers.begin(); hit!=coneTowers.end(); hit++) { energy += hit->hadEnergy(); } return energy; }
double HTrackDetMatchInfo::hcalConeEnergyFromRecHits | ( | ) |
Definition at line 47 of file TrackDetMatchInfo.cc.
References coneHcalRecHits, and relval_parameters_module::energy.
Referenced by HTrackAssociator::getHcalEnergy().
{ double energy(0); for(std::vector<HBHERecHit>::const_iterator hit=coneHcalRecHits.begin(); hit!=coneHcalRecHits.end(); hit++) { energy += hit->energy(); } return energy; }
double HTrackDetMatchInfo::hcalEnergyFromCaloTowers | ( | ) |
Definition at line 64 of file TrackDetMatchInfo.cc.
References crossedTowers, and relval_parameters_module::energy.
{ double energy(0); for(std::vector<CaloTower>::const_iterator tower=crossedTowers.begin(); tower!=crossedTowers.end(); tower++) energy += tower->hadEnergy(); return energy; }
double HTrackDetMatchInfo::hcalEnergyFromRecHits | ( | ) |
HCAL energy.
Definition at line 39 of file TrackDetMatchInfo.cc.
References crossedHcalRecHits, and relval_parameters_module::energy.
Referenced by HTrackAssociator::getHcalEnergy().
{ double energy(0); for(std::vector<HBHERecHit>::const_iterator hit=crossedHcalRecHits.begin(); hit!=crossedHcalRecHits.end(); hit++) energy += hit->energy(); return energy; }
double HTrackDetMatchInfo::outerHcalEnergy | ( | ) |
Definition at line 89 of file TrackDetMatchInfo.cc.
References crossedTowers, and relval_parameters_module::energy.
{ double energy(0); for(std::vector<CaloTower>::const_iterator tower=crossedTowers.begin(); tower!=crossedTowers.end(); tower++) energy += tower->outerEnergy(); return energy; }
std::vector<HBHERecHit> HTrackDetMatchInfo::boxHcalRecHits |
Definition at line 38 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillHcal(), and hcalBoxEnergyFromRecHits().
std::vector<CaloTower> HTrackDetMatchInfo::boxTowers |
Definition at line 34 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillCaloTowers(), and hcalBoxEnergyFromCaloTowers().
std::vector<EcalRecHit> HTrackDetMatchInfo::coneEcalRecHits |
Definition at line 29 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::associateEcal(), ecalConeEnergyFromRecHits(), and HTrackAssociator::fillEcal().
std::vector<HBHERecHit> HTrackDetMatchInfo::coneHcalRecHits |
Definition at line 37 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillHcal(), and hcalConeEnergyFromRecHits().
std::vector<CaloTower> HTrackDetMatchInfo::coneTowers |
Definition at line 33 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::associateHcal(), ecalConeEnergyFromCaloTowers(), HTrackAssociator::fillCaloTowers(), HTrackAssociator::fillHcalTowers(), and hcalConeEnergyFromCaloTowers().
std::vector<EcalRecHit> HTrackDetMatchInfo::crossedEcalRecHits |
Definition at line 28 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::associateEcal(), ecalEnergyFromRecHits(), and HTrackAssociator::fillEcal().
std::vector<HBHERecHit> HTrackDetMatchInfo::crossedHcalRecHits |
Definition at line 36 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillHcal(), and hcalEnergyFromRecHits().
std::vector<CaloTower> HTrackDetMatchInfo::crossedTowers |
Definition at line 32 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::associateHcal(), ecalEnergyFromCaloTowers(), HTrackAssociator::fillCaloTowers(), HTrackAssociator::fillHcalTowers(), hcalEnergyFromCaloTowers(), and outerHcalEnergy().
Definition at line 43 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillCaloTowers(), and HTrackAssociator::fillHcalTowers().
Definition at line 41 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillCaloTowers(), and HTrackAssociator::fillEcal().
Definition at line 42 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillCaloTowers(), and HTrackAssociator::fillHcal().
std::vector<HBHERecHit> HTrackDetMatchInfo::regionHcalRecHits |
Definition at line 39 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillHcal().
std::vector<CaloTower> HTrackDetMatchInfo::regionTowers |
Definition at line 35 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillCaloTowers().
Definition at line 27 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillCaloTowers(), and HTrackAssociator::fillEcal().
Definition at line 31 of file TrackDetMatchInfo.h.
Referenced by HTrackAssociator::fillCaloTowers(), HTrackAssociator::fillHcal(), and HTrackAssociator::fillHcalTowers().