#include <HFRecoEcalCandidateAlgo.h>
Public Member Functions | |
HFRecoEcalCandidateAlgo (bool correct, double e9e25Cut, double intercept2DCut, double intercept2DSlope, const std::vector< double > &e1e9Cut, const std::vector< double > &eCOREe9Cut, const std::vector< double > &eSeLCut, const reco::HFValueStruct hfvv) | |
void | produce (const edm::Handle< reco::SuperClusterCollection > &SuperClusters, const reco::HFEMClusterShapeAssociationCollection &AssocShapes, reco::RecoEcalCandidateCollection &RecoECand, int nvtx) const |
Private Member Functions | |
reco::RecoEcalCandidate | correctEPosition (const reco::SuperCluster &original, const reco::HFEMClusterShape &shape, int nvtx) const |
Private Attributes | |
const bool | m_correct |
const double | m_e1e9Cuthi |
const double | m_e1e9Cutlo |
const double | m_e9e25Cut |
const double | m_eCOREe9Cuthi |
const double | m_eCOREe9Cutlo |
const int | m_era |
const double | m_eSeLCuthi |
const double | m_eSeLCutlo |
const reco::HFValueStruct | m_hfvv |
const double | m_intercept2DCut |
const double | m_intercept2DSlope |
Definition at line 23 of file HFRecoEcalCandidateAlgo.h.
HFRecoEcalCandidateAlgo::HFRecoEcalCandidateAlgo | ( | bool | correct, |
double | e9e25Cut, | ||
double | intercept2DCut, | ||
double | intercept2DSlope, | ||
const std::vector< double > & | e1e9Cut, | ||
const std::vector< double > & | eCOREe9Cut, | ||
const std::vector< double > & | eSeLCut, | ||
const reco::HFValueStruct | hfvv | ||
) |
Definition at line 17 of file HFRecoEcalCandidateAlgo.cc.
|
private |
Definition at line 38 of file HFRecoEcalCandidateAlgo.cc.
References reco::HFEMClusterShape::CellEta(), reco::HFEMClusterShape::CellPhi(), funct::cos(), reco::HFEMClusterShape::eLong3x3(), reco::HFValueStruct::EnCor(), reco::CaloCluster::energy(), reco::CaloCluster::eta(), GetRecoTauVFromDQM_MC_cff::kk, log, m_hfvv, fireworks::p1, fireworks::p2, reco::CaloCluster::phi(), reco::HFValueStruct::PUIntercept(), reco::HFValueStruct::PUSlope(), FWPFMaths::sgn(), and funct::sin().
Referenced by produce().
void HFRecoEcalCandidateAlgo::produce | ( | const edm::Handle< reco::SuperClusterCollection > & | SuperClusters, |
const reco::HFEMClusterShapeAssociationCollection & | AssocShapes, | ||
reco::RecoEcalCandidateCollection & | RecoECand, | ||
int | nvtx | ||
) | const |
Analyze the hits
Definition at line 105 of file HFRecoEcalCandidateAlgo.cc.
References correctEPosition(), funct::cos(), reco::HFEMClusterShape::eCOREe9(), reco::HFEMClusterShape::eLong1x1(), reco::HFEMClusterShape::eLong3x3(), reco::HFEMClusterShape::eLong5x5(), reco::CaloCluster::energy(), reco::HFEMClusterShape::eSeL(), hf_egamma::eSeLCorrected(), reco::HFEMClusterShape::eShort3x3(), reco::CaloCluster::eta(), edm::AssociationMap< Tag >::find(), mps_fire::i, m_correct, m_e1e9Cutlo, m_e9e25Cut, m_eCOREe9Cuthi, m_eCOREe9Cutlo, m_eSeLCuthi, m_eSeLCutlo, m_intercept2DCut, m_intercept2DSlope, reco::CaloCluster::phi(), funct::sin(), and edm::helpers::KeyVal< K, V >::val.
Referenced by HFRecoEcalCandidateProducer::produce(), and HLTHFRecoEcalCandidateProducer::produce().
|
private |
Definition at line 45 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 49 of file HFRecoEcalCandidateAlgo.h.
|
private |
Definition at line 52 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 46 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 50 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 53 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 55 of file HFRecoEcalCandidateAlgo.h.
|
private |
Definition at line 51 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 54 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 56 of file HFRecoEcalCandidateAlgo.h.
Referenced by correctEPosition().
|
private |
Definition at line 47 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 48 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().