#include <CxCalculator.h>
Public Member Functions | |
bool | checkUsed (const reco::SuperClusterRef clus, const reco::BasicCluster *clu) |
CxCalculator (const edm::Event &iEvent, const edm::EventSetup &iSetup, const edm::InputTag &barrelLabel, const edm::InputTag &endcapLabel) | |
double | getAvgBCEt (const reco::SuperClusterRef clus, double eta, double phi1, double phi2, double threshold) |
double | getBCMax (const reco::SuperClusterRef clus, int i) |
double | getCCx (const reco::SuperClusterRef clus, double i, double threshold) |
double | getCCxRemoveSC (const reco::SuperClusterRef clus, double i, double threshold) |
double | getCorrection (const reco::SuperClusterRef clus, double i, double j, double threshold) |
double | getCx (const reco::SuperClusterRef clus, double i, double threshold) |
double | getCxRemoveSC (const reco::SuperClusterRef clus, double i, double threshold) |
double | getJc (const reco::SuperClusterRef cluster, double r1=0.4, double r2=0.06, double jWidth=0.04, double threshold=0) |
double | getJcc (const reco::SuperClusterRef cluster, double r1=0.4, double r2=0.06, double jWidth=0.04, double threshold=0) |
double | getJurassicArea (double r1, double r2, double width) |
double | getNBC (const reco::SuperClusterRef clus, double eta, double phi1, double phi2, double threshold) |
Private Attributes | |
const reco::BasicClusterCollection * | fEBclusters_ |
const reco::BasicClusterCollection * | fEEclusters_ |
const CaloGeometry * | geometry_ |
Definition at line 18 of file CxCalculator.h.
CxCalculator::CxCalculator | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const edm::InputTag & | barrelLabel, | ||
const edm::InputTag & | endcapLabel | ||
) |
Definition at line 38 of file CxCalculator.cc.
References edm::EventSetup::get(), edm::Event::getByLabel(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), NULL, edm::Handle< T >::product(), and edm::ESHandle< class >::product().
bool CxCalculator::checkUsed | ( | const reco::SuperClusterRef | clus, |
const reco::BasicCluster * | clu | ||
) |
Definition at line 459 of file CxCalculator.cc.
double CxCalculator::getAvgBCEt | ( | const reco::SuperClusterRef | clus, |
double | eta, | ||
double | phi1, | ||
double | phi2, | ||
double | threshold | ||
) |
Definition at line 561 of file CxCalculator.cc.
References dPhi(), eta(), phi, PI, and dt_dqm_sourceclient_common_cff::reco.
double CxCalculator::getBCMax | ( | const reco::SuperClusterRef | clus, |
int | i | ||
) |
Definition at line 470 of file CxCalculator.cc.
double CxCalculator::getCCx | ( | const reco::SuperClusterRef | clus, |
double | i, | ||
double | threshold | ||
) |
Definition at line 190 of file CxCalculator.cc.
References dPhi(), eta(), phi, PI, dt_dqm_sourceclient_common_cff::reco, and x.
double CxCalculator::getCCxRemoveSC | ( | const reco::SuperClusterRef | clus, |
double | i, | ||
double | threshold | ||
) |
Definition at line 390 of file CxCalculator.cc.
References dPhi(), eta(), phi, PI, dt_dqm_sourceclient_common_cff::reco, and x.
double CxCalculator::getCorrection | ( | const reco::SuperClusterRef | clus, |
double | i, | ||
double | j, | ||
double | threshold | ||
) |
Definition at line 489 of file CxCalculator.cc.
References dPhi(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, alignCSCRings::e, eta(), phi, PI, dt_dqm_sourceclient_common_cff::reco, mathSSE::sqrt(), and detailsBasic3DVector::y.
double CxCalculator::getCx | ( | const reco::SuperClusterRef | clus, |
double | i, | ||
double | threshold | ||
) |
Definition at line 65 of file CxCalculator.cc.
References PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, eta(), and dt_dqm_sourceclient_common_cff::reco.
double CxCalculator::getCxRemoveSC | ( | const reco::SuperClusterRef | clus, |
double | i, | ||
double | threshold | ||
) |
Definition at line 123 of file CxCalculator.cc.
References PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, eta(), and dt_dqm_sourceclient_common_cff::reco.
double CxCalculator::getJc | ( | const reco::SuperClusterRef | cluster, |
double | r1 = 0.4 , |
||
double | r2 = 0.06 , |
||
double | jWidth = 0.04 , |
||
double | threshold = 0 |
||
) |
Definition at line 255 of file CxCalculator.cc.
References gather_cfg::cout, dPhi(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, eta(), phi, PI, dt_dqm_sourceclient_common_cff::reco, and mathSSE::sqrt().
double CxCalculator::getJcc | ( | const reco::SuperClusterRef | cluster, |
double | r1 = 0.4 , |
||
double | r2 = 0.06 , |
||
double | jWidth = 0.04 , |
||
double | threshold = 0 |
||
) |
Definition at line 319 of file CxCalculator.cc.
References dPhi(), eta(), phi, PI, diffTwoXMLs::r1, and dt_dqm_sourceclient_common_cff::reco.
double CxCalculator::getJurassicArea | ( | double | r1, |
double | r2, | ||
double | width | ||
) |
double CxCalculator::getNBC | ( | const reco::SuperClusterRef | clus, |
double | eta, | ||
double | phi1, | ||
double | phi2, | ||
double | threshold | ||
) |
Definition at line 634 of file CxCalculator.cc.
References dPhi(), eta(), phi, PI, and dt_dqm_sourceclient_common_cff::reco.
|
private |
Definition at line 39 of file CxCalculator.h.
|
private |
Definition at line 40 of file CxCalculator.h.
|
private |
Definition at line 41 of file CxCalculator.h.