![]() |
![]() |
#include <Calibration/Tools/interface/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.
00032 { 00033 double energy(0); 00034 for(std::vector<CaloTower>::const_iterator hit=coneTowers.begin(); hit!=coneTowers.end(); hit++) 00035 energy += hit->emEnergy(); 00036 return energy; 00037 }
double HTrackDetMatchInfo::ecalConeEnergyFromRecHits | ( | ) |
Definition at line 12 of file TrackDetMatchInfo.cc.
References coneEcalRecHits, and relval_parameters_module::energy.
Referenced by HTrackAssociator::getEcalEnergy().
00013 { 00014 double energy(0); 00015 for(std::vector<EcalRecHit>::const_iterator hit=coneEcalRecHits.begin(); hit!=coneEcalRecHits.end(); hit++) { 00016 energy += hit->energy(); 00017 // std::cout<< hit->detid().rawId()<<" "<<hit->energy()<<" "<<energy<<std::endl; 00018 } 00019 return energy; 00020 }
double HTrackDetMatchInfo::ecalEnergyFromCaloTowers | ( | ) |
Definition at line 22 of file TrackDetMatchInfo.cc.
References crossedTowers, and relval_parameters_module::energy.
00023 { 00024 double energy(0); 00025 for(std::vector<CaloTower>::const_iterator hit=crossedTowers.begin(); hit!=crossedTowers.end(); hit++) { 00026 energy += hit->emEnergy(); 00027 } 00028 return energy; 00029 }
double HTrackDetMatchInfo::ecalEnergyFromRecHits | ( | ) |
ECAL energy.
Definition at line 4 of file TrackDetMatchInfo.cc.
References crossedEcalRecHits, and relval_parameters_module::energy.
Referenced by HTrackAssociator::getEcalEnergy().
00005 { 00006 double energy(0); 00007 for(std::vector<EcalRecHit>::const_iterator hit=crossedEcalRecHits.begin(); hit!=crossedEcalRecHits.end(); hit++) 00008 energy += hit->energy(); 00009 return energy; 00010 }
double HTrackDetMatchInfo::hcalBoxEnergyFromCaloTowers | ( | ) |
Definition at line 81 of file TrackDetMatchInfo.cc.
References boxTowers, and relval_parameters_module::energy.
00082 { 00083 double energy(0); 00084 for(std::vector<CaloTower>::const_iterator hit=boxTowers.begin(); hit!=boxTowers.end(); hit++) 00085 energy += hit->hadEnergy(); 00086 return energy; 00087 }
double HTrackDetMatchInfo::hcalBoxEnergyFromRecHits | ( | ) |
Definition at line 56 of file TrackDetMatchInfo.cc.
References boxHcalRecHits, and relval_parameters_module::energy.
00057 { 00058 double energy(0); 00059 for(std::vector<HBHERecHit>::const_iterator hit=boxHcalRecHits.begin(); hit!=boxHcalRecHits.end(); hit++) 00060 energy += hit->energy(); 00061 return energy; 00062 }
double HTrackDetMatchInfo::hcalConeEnergyFromCaloTowers | ( | ) |
Definition at line 72 of file TrackDetMatchInfo.cc.
References coneTowers, and relval_parameters_module::energy.
00073 { 00074 double energy(0); 00075 for(std::vector<CaloTower>::const_iterator hit=coneTowers.begin(); hit!=coneTowers.end(); hit++) { 00076 energy += hit->hadEnergy(); 00077 } 00078 return energy; 00079 }
double HTrackDetMatchInfo::hcalConeEnergyFromRecHits | ( | ) |
Definition at line 47 of file TrackDetMatchInfo.cc.
References coneHcalRecHits, and relval_parameters_module::energy.
Referenced by HTrackAssociator::getHcalEnergy().
00048 { 00049 double energy(0); 00050 for(std::vector<HBHERecHit>::const_iterator hit=coneHcalRecHits.begin(); hit!=coneHcalRecHits.end(); hit++) { 00051 energy += hit->energy(); 00052 } 00053 return energy; 00054 }
double HTrackDetMatchInfo::hcalEnergyFromCaloTowers | ( | ) |
Definition at line 64 of file TrackDetMatchInfo.cc.
References crossedTowers, and relval_parameters_module::energy.
00065 { 00066 double energy(0); 00067 for(std::vector<CaloTower>::const_iterator tower=crossedTowers.begin(); tower!=crossedTowers.end(); tower++) 00068 energy += tower->hadEnergy(); 00069 return energy; 00070 }
double HTrackDetMatchInfo::hcalEnergyFromRecHits | ( | ) |
HCAL energy.
Definition at line 39 of file TrackDetMatchInfo.cc.
References crossedHcalRecHits, and relval_parameters_module::energy.
Referenced by HTrackAssociator::getHcalEnergy().
00040 { 00041 double energy(0); 00042 for(std::vector<HBHERecHit>::const_iterator hit=crossedHcalRecHits.begin(); hit!=crossedHcalRecHits.end(); hit++) 00043 energy += hit->energy(); 00044 return energy; 00045 }
double HTrackDetMatchInfo::outerHcalEnergy | ( | ) |
Definition at line 89 of file TrackDetMatchInfo.cc.
References crossedTowers, and relval_parameters_module::energy.
00090 { 00091 double energy(0); 00092 for(std::vector<CaloTower>::const_iterator tower=crossedTowers.begin(); tower!=crossedTowers.end(); tower++) 00093 energy += tower->outerEnergy(); 00094 return energy; 00095 }
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 |
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().