CMS 3D CMS Logo

HTrackDetMatchInfo Class Reference

#include <Calibration/Tools/interface/TrackDetMatchInfo.h>

List of all members.

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< HBHERecHitboxHcalRecHits
std::vector< CaloTowerboxTowers
std::vector< EcalRecHitconeEcalRecHits
std::vector< HBHERecHitconeHcalRecHits
std::vector< CaloTowerconeTowers
std::vector< EcalRecHitcrossedEcalRecHits
std::vector< HBHERecHitcrossedHcalRecHits
std::vector< CaloTowercrossedTowers
bool isGoodCalo
bool isGoodEcal
bool isGoodHcal
std::vector< HBHERecHitregionHcalRecHits
std::vector< CaloTowerregionTowers
math::XYZPoint trkGlobPosAtEcal
math::XYZPoint trkGlobPosAtHcal


Detailed Description

Definition at line 10 of file TrackDetMatchInfo.h.


Member Function Documentation

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 }


Member Data Documentation

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().

bool HTrackDetMatchInfo::isGoodCalo

Definition at line 43 of file TrackDetMatchInfo.h.

Referenced by HTrackAssociator::fillCaloTowers(), and HTrackAssociator::fillHcalTowers().

bool HTrackDetMatchInfo::isGoodEcal

Definition at line 41 of file TrackDetMatchInfo.h.

Referenced by HTrackAssociator::fillCaloTowers(), and HTrackAssociator::fillEcal().

bool HTrackDetMatchInfo::isGoodHcal

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().

math::XYZPoint HTrackDetMatchInfo::trkGlobPosAtEcal

Definition at line 27 of file TrackDetMatchInfo.h.

Referenced by HTrackAssociator::fillCaloTowers(), and HTrackAssociator::fillEcal().

math::XYZPoint HTrackDetMatchInfo::trkGlobPosAtHcal

Definition at line 31 of file TrackDetMatchInfo.h.

Referenced by HTrackAssociator::fillCaloTowers(), HTrackAssociator::fillHcal(), and HTrackAssociator::fillHcalTowers().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:24:48 2009 for CMSSW by  doxygen 1.5.4