#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) |
Private Member Functions | |
reco::RecoEcalCandidate | correctEPosition (const reco::SuperCluster &original, const reco::HFEMClusterShape &shape, int nvtx) |
Private Attributes | |
bool | m_correct |
bool | m_correctForPileup |
double | m_e1e9Cuthi |
double | m_e1e9Cutlo |
double | m_e9e25Cut |
double | m_eCOREe9Cuthi |
double | m_eCOREe9Cutlo |
int | m_era |
double | m_eSeLCuthi |
double | m_eSeLCutlo |
reco::HFValueStruct | m_hfvv |
double | m_intercept2DCut |
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 22 of file HFRecoEcalCandidateAlgo.cc.
|
private |
Definition at line 45 of file HFRecoEcalCandidateAlgo.cc.
References reco::HFEMClusterShape::CellEta(), reco::HFEMClusterShape::CellPhi(), funct::cos(), reco::dp, reco::HFEMClusterShape::eLong3x3(), reco::HFValueStruct::EnCor(), reco::CaloCluster::energy(), reco::CaloCluster::eta(), create_public_lumi_plots::log, m_hfvv, p1, p2, p3, 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 | ||
) |
Analyze the hits
Definition at line 108 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(), 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 43 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 54 of file HFRecoEcalCandidateAlgo.h.
|
private |
Definition at line 47 of file HFRecoEcalCandidateAlgo.h.
|
private |
Definition at line 50 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 44 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 48 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 51 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 53 of file HFRecoEcalCandidateAlgo.h.
|
private |
Definition at line 49 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 52 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 55 of file HFRecoEcalCandidateAlgo.h.
Referenced by correctEPosition().
|
private |
Definition at line 45 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 46 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().