#include <RxCalculator.h>
Public Member Functions | |
double | getCRx (const reco::SuperClusterRef clus, double i, double threshold, double innerR=0.0) |
double | getRFx (const reco::SuperClusterRef clus, double i, double threshold) |
double | getROx (const reco::SuperClusterRef clus, double i, double threshold) |
double | getRx (const reco::SuperClusterRef clus, double i, double threshold, double innerR=0.0) |
RxCalculator (const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::InputTag &hbheLabel, const edm::InputTag &hfLabel, const edm::InputTag &hoLabel) | |
Private Attributes | |
const HBHERecHitCollection * | fHBHERecHits_ |
const HFRecHitCollection * | fHFRecHits_ |
const HORecHitCollection * | fHORecHits_ |
const CaloGeometry * | geometry_ |
Definition at line 18 of file RxCalculator.h.
RxCalculator::RxCalculator | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const edm::InputTag & | hbheLabel, | ||
const edm::InputTag & | hfLabel, | ||
const edm::InputTag & | hoLabel | ||
) |
Definition at line 20 of file RxCalculator.cc.
References edm::EventSetup::get(), edm::Event::getByLabel(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), NULL, edm::Handle< T >::product(), and edm::ESHandle< class >::product().
double RxCalculator::getCRx | ( | const reco::SuperClusterRef | clus, |
double | i, | ||
double | threshold, | ||
double | innerR = 0.0 |
||
) |
Definition at line 169 of file RxCalculator.cc.
References cond::rpcobgas::detid, dPhi(), CaloRecHit::energy(), PV3DBase< T, PVType, FrameType >::eta(), eta(), HBHERecHit::id(), cmsHarvester::index, phi, PV3DBase< T, PVType, FrameType >::phi(), PI, and dt_dqm_sourceclient_common_cff::reco.
Referenced by HiEgammaIsolationProducer::produce().
double RxCalculator::getRFx | ( | const reco::SuperClusterRef | clus, |
double | i, | ||
double | threshold | ||
) |
Definition at line 129 of file RxCalculator.cc.
References cond::rpcobgas::detid, dPhi(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, CaloRecHit::energy(), PV3DBase< T, PVType, FrameType >::eta(), eta(), HFRecHit::id(), cmsHarvester::index, phi, PV3DBase< T, PVType, FrameType >::phi(), PI, dt_dqm_sourceclient_common_cff::reco, and mathSSE::sqrt().
double RxCalculator::getROx | ( | const reco::SuperClusterRef | clus, |
double | i, | ||
double | threshold | ||
) |
Definition at line 94 of file RxCalculator.cc.
References cond::rpcobgas::detid, dPhi(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, CaloRecHit::energy(), PV3DBase< T, PVType, FrameType >::eta(), eta(), HORecHit::id(), cmsHarvester::index, phi, PV3DBase< T, PVType, FrameType >::phi(), PI, dt_dqm_sourceclient_common_cff::reco, and mathSSE::sqrt().
double RxCalculator::getRx | ( | const reco::SuperClusterRef | clus, |
double | i, | ||
double | threshold, | ||
double | innerR = 0.0 |
||
) |
Definition at line 53 of file RxCalculator.cc.
References cond::rpcobgas::detid, dPhi(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, CaloRecHit::energy(), PV3DBase< T, PVType, FrameType >::eta(), eta(), HBHERecHit::id(), cmsHarvester::index, phi, PV3DBase< T, PVType, FrameType >::phi(), PI, dt_dqm_sourceclient_common_cff::reco, and mathSSE::sqrt().
Referenced by HiEgammaIsolationProducer::produce().
|
private |
Definition at line 31 of file RxCalculator.h.
|
private |
Definition at line 33 of file RxCalculator.h.
|
private |
Definition at line 32 of file RxCalculator.h.
|
private |
Definition at line 34 of file RxCalculator.h.