#include <RecoMET/METAlgorithms/interface/CaloSpecificAlgo.h>
Public Member Functions | |
reco::CaloMET | addInfo (edm::Handle< edm::View< reco::Candidate > > towers, const CommonMETData &met, bool noHF, double globalThreshold) |
Private Types | |
typedef math::XYZTLorentzVector | LorentzVector |
typedef math::XYZPoint | Point |
Private Member Functions | |
void | add_MET_in_HF (SpecificCaloMETData &specific, double sumEtInpHF, double MExInpHF, double MEyInpHF, double sumEtInmHF, double MExInmHF, double MEyInmHF) |
DetId | find_DetId_of_ECAL_cell_in_constituent_of (const CaloTower *calotower) |
DetId | find_DetId_of_HCAL_cell_in_constituent_of (const CaloTower *calotower) |
void | remove_HF_from_MET (CommonMETData &met, double sumEtInpHF, double MExInpHF, double MEyInpHF, double sumEtInmHF, double MExInmHF, double MEyInmHF) |
void | update_EmEtInEB_EmEtInEE (float &EmEtInEB, float &EmEtInEE, const CaloTower *calotower) |
void | update_HadEtInHB_HadEtInHE_HadEtInHO_HadEtInHF_EmEtInHF (float &HadEtInHB, float &HadEtInHE, float &HadEtInHO, float &HadEtInHF, float &EmEtInHF, const CaloTower *calotower, bool noHF) |
void | update_MaxTowerEm_MaxTowerHad (float &MaxTowerEm, float &MaxTowerHad, const CaloTower *calotower, bool noHF) |
void | update_sumEtInpHF_MExInpHF_MEyInpHF_sumEtInmHF_MExInmHF_MEyInmHF (double &sumEtInpHF, double &MExInpHF, double &MEyInpHF, double &sumEtInmHF, double &MExInmHF, double &MEyInmHF, const CaloTower *calotower) |
void | update_totalEt_totalEm (double &totalEt, double &totalEm, const CaloTower *calotower, bool noHF) |
Description: Adds Calorimeter specific information to MET base class
Implementation: [Notes on implementation]
Definition at line 37 of file CaloSpecificAlgo.h.
|
private |
Definition at line 45 of file CaloSpecificAlgo.h.
|
private |
Definition at line 46 of file CaloSpecificAlgo.h.
|
private |
reco::CaloMET CaloSpecificAlgo::addInfo | ( | edm::Handle< edm::View< reco::Candidate > > | towers, |
const CommonMETData & | met, | ||
bool | noHF, | ||
double | globalThreshold | ||
) |
Definition at line 26 of file CaloSpecificAlgo.cc.
References SpecificCaloMETData::EmEtInEB, SpecificCaloMETData::EmEtInEE, SpecificCaloMETData::EmEtInHF, CaloTower::et(), SpecificCaloMETData::EtFractionEm, SpecificCaloMETData::EtFractionHadronic, HLT_FULL_cff::globalThreshold, SpecificCaloMETData::HadEtInHB, SpecificCaloMETData::HadEtInHE, SpecificCaloMETData::HadEtInHF, SpecificCaloMETData::HadEtInHO, SpecificCaloMETData::MaxEtInEmTowers, SpecificCaloMETData::MaxEtInHadTowers, CommonMETData::met, objects.METAnalyzer::met, CommonMETData::mex, CommonMETData::mey, timingPdfMaker::specific, CommonMETData::sumet, and HLT_FULL_cff::towers.
Referenced by cms::CaloMETProducer::produce().
|
private |
Definition at line 233 of file CaloSpecificAlgo.cc.
References CaloTower::constituent(), CaloTower::constituentsSize(), DetId::Ecal, gpuClustering::id, and runTheMatrix::ret.
|
private |
Definition at line 220 of file CaloSpecificAlgo.cc.
References CaloTower::constituent(), CaloTower::constituentsSize(), DetId::Hcal, gpuClustering::id, and runTheMatrix::ret.
|
private |
Definition at line 188 of file CaloSpecificAlgo.cc.
References CommonMETData::met, CommonMETData::mex, CommonMETData::mey, mathSSE::sqrt(), and CommonMETData::sumet.
|
private |
Definition at line 119 of file CaloSpecificAlgo.cc.
References EcalBarrel, EcalEndcap, CaloTower::emEt(), DetId::null(), and DetId::subdetId().
|
private |
Definition at line 133 of file CaloSpecificAlgo.cc.
References CaloTower::emEt(), CaloTower::hadEt(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, DetId::null(), CaloTower::outerEt(), and HcalDetId::subdet().
|
private |
Definition at line 95 of file CaloSpecificAlgo.cc.
References CaloTower::emEt(), CaloTower::hadEt(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, DetId::null(), and HcalDetId::subdet().
|
private |
Definition at line 161 of file CaloSpecificAlgo.cc.
References funct::cos(), CaloTower::et(), reco::LeafCandidate::eta(), HcalForward, DetId::null(), reco::LeafCandidate::phi(), funct::sin(), and HcalDetId::subdet().
|
private |
Definition at line 80 of file CaloSpecificAlgo.cc.
References CaloTower::emEt(), CaloTower::et(), HcalForward, DetId::null(), and HcalDetId::subdet().