#include <HFRecoEcalCandidateAlgo.h>
Public Member Functions | |
HFRecoEcalCandidateAlgo (bool correct, double e9e25Cut, double intercept2DCut, const std::vector< double > &e1e9Cut, const std::vector< double > &eCOREe9Cut, const std::vector< double > &eSeLCut) | |
void | produce (const edm::Handle< reco::SuperClusterCollection > &SuperClusters, const reco::HFEMClusterShapeAssociationCollection &AssocShapes, reco::RecoEcalCandidateCollection &RecoECand) |
Private Member Functions | |
reco::RecoEcalCandidate | correctEPosition (const reco::SuperCluster &original, const reco::HFEMClusterShape &shape) |
Private Attributes | |
bool | m_correct |
double | m_e1e9Cuthi |
double | m_e1e9Cutlo |
double | m_e9e25Cut |
double | m_eCOREe9Cuthi |
double | m_eCOREe9Cutlo |
double | m_eSeLCuthi |
double | m_eSeLCutlo |
double | m_intercept2DCut |
Definition at line 22 of file HFRecoEcalCandidateAlgo.h.
HFRecoEcalCandidateAlgo::HFRecoEcalCandidateAlgo | ( | bool | correct, |
double | e9e25Cut, | ||
double | intercept2DCut, | ||
const std::vector< double > & | e1e9Cut, | ||
const std::vector< double > & | eCOREe9Cut, | ||
const std::vector< double > & | eSeLCut | ||
) |
Definition at line 20 of file HFRecoEcalCandidateAlgo.cc.
|
private |
Definition at line 37 of file HFRecoEcalCandidateAlgo.cc.
References reco::HFEMClusterShape::CellEta(), reco::HFEMClusterShape::CellPhi(), funct::cos(), reco::CaloCluster::energy(), reco::CaloCluster::eta(), reco::CaloCluster::phi(), and funct::sin().
Referenced by produce().
void HFRecoEcalCandidateAlgo::produce | ( | const edm::Handle< reco::SuperClusterCollection > & | SuperClusters, |
const reco::HFEMClusterShapeAssociationCollection & | AssocShapes, | ||
reco::RecoEcalCandidateCollection & | RecoECand | ||
) |
Analyze the hits
Definition at line 57 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(), reco::CaloCluster::eta(), edm::AssociationMap< Tag >::find(), i, m_correct, m_e1e9Cutlo, m_e9e25Cut, m_eCOREe9Cuthi, m_eCOREe9Cutlo, m_eSeLCuthi, m_eSeLCutlo, m_intercept2DCut, reco::CaloCluster::phi(), funct::sin(), and edm::helpers::KeyVal< K, V >::val.
Referenced by HFRecoEcalCandidateProducer::produce().
|
private |
Definition at line 39 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 42 of file HFRecoEcalCandidateAlgo.h.
|
private |
Definition at line 45 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 40 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 43 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 46 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 44 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 47 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().
|
private |
Definition at line 41 of file HFRecoEcalCandidateAlgo.h.
Referenced by produce().