#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 44 of file CaloSpecificAlgo.h.
|
private |
Definition at line 45 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_25ns10e33_v2_cff::globalThreshold, SpecificCaloMETData::HadEtInHB, SpecificCaloMETData::HadEtInHE, SpecificCaloMETData::HadEtInHF, SpecificCaloMETData::HadEtInHO, SpecificCaloMETData::MaxEtInEmTowers, SpecificCaloMETData::MaxEtInHadTowers, CommonMETData::met, objects.METAnalyzer::met, CommonMETData::mex, CommonMETData::mey, p4, timingPdfMaker::specific, CommonMETData::sumet, and HLT_25ns10e33_v2_cff::towers.
Referenced by cms::CaloMETProducer::produce().
|
private |
Definition at line 211 of file CaloSpecificAlgo.cc.
References CaloTower::constituent(), CaloTower::constituentsSize(), DetId::Ecal, and runTheMatrix::ret.
|
private |
Definition at line 195 of file CaloSpecificAlgo.cc.
References CaloTower::constituent(), CaloTower::constituentsSize(), DetId::Hcal, and runTheMatrix::ret.
|
private |
Definition at line 173 of file CaloSpecificAlgo.cc.
References CommonMETData::met, CommonMETData::mex, CommonMETData::mey, mathSSE::sqrt(), and CommonMETData::sumet.
|
private |
Definition at line 108 of file CaloSpecificAlgo.cc.
References EcalBarrel, EcalEndcap, CaloTower::emEt(), DetId::null(), and DetId::subdetId().
|
private |
Definition at line 125 of file CaloSpecificAlgo.cc.
References CaloTower::emEt(), CaloTower::hadEt(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, DetId::null(), CaloTower::outerEt(), and HcalDetId::subdet().
|
private |
Definition at line 85 of file CaloSpecificAlgo.cc.
References CaloTower::emEt(), CaloTower::hadEt(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, DetId::null(), and HcalDetId::subdet().
|
private |
Definition at line 150 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 68 of file CaloSpecificAlgo.cc.
References CaloTower::emEt(), CaloTower::et(), HcalForward, DetId::null(), and HcalDetId::subdet().