#include <SimG4HcalHitJetFinder.h>
Public Member Functions | |
std::vector< SimG4HcalHitCluster > * | getClusters (bool) |
double | rDist (const SimG4HcalHitCluster *, const CaloHit *) const |
double | rDist (const double, const double, const double, const double) const |
void | setCone (double) |
void | setInput (std::vector< CaloHit > *) |
SimG4HcalHitJetFinder (double cone=0.5) | |
virtual | ~SimG4HcalHitJetFinder () |
Private Attributes | |
std::vector< SimG4HcalHitCluster > | clusvector |
std::vector< CaloHit > | input |
double | jetcone |
Definition at line 13 of file SimG4HcalHitJetFinder.h.
SimG4HcalHitJetFinder::SimG4HcalHitJetFinder | ( | double | cone = 0.5 | ) |
Definition at line 13 of file SimG4HcalHitJetFinder.cc.
|
virtual |
Definition at line 15 of file SimG4HcalHitJetFinder.cc.
std::vector< SimG4HcalHitCluster > * SimG4HcalHitJetFinder::getClusters | ( | bool | hcal_only | ) |
Definition at line 21 of file SimG4HcalHitJetFinder.cc.
References GetRecoTauVFromDQM_MC_cff::cl, clusvector, edmIntegrityCheck::d, HcalBarrel, HcalEndcap, HcalForward, input, jetcone, LogDebug, rDist(), and groupFilesInBlocks::temp.
Referenced by SimG4HcalValidation::jetAnalysis().
double SimG4HcalHitJetFinder::rDist | ( | const SimG4HcalHitCluster * | cluster, |
const CaloHit * | hit | ||
) | const |
Definition at line 111 of file SimG4HcalHitJetFinder.cc.
References SimG4HcalHitCluster::eta(), CaloHit::eta(), SimG4HcalHitCluster::phi(), and CaloHit::phi().
Referenced by SimG4HcalValidation::collectEnergyRdir(), getClusters(), and SimG4HcalValidation::jetAnalysis().
double SimG4HcalHitJetFinder::rDist | ( | const double | etac, |
const double | phic, | ||
const double | etah, | ||
const double | phih | ||
) | const |
Definition at line 121 of file SimG4HcalHitJetFinder.cc.
References caloCompatibility_cff::delta_eta, caloCompatibility_cff::delta_phi, LogDebug, M_PI, mathSSE::sqrt(), and tmp.
void SimG4HcalHitJetFinder::setCone | ( | double | cone | ) |
void SimG4HcalHitJetFinder::setInput | ( | std::vector< CaloHit > * | hhit | ) |
Definition at line 19 of file SimG4HcalHitJetFinder.cc.
References input.
Referenced by SimG4HcalValidation::jetAnalysis().
|
private |
Definition at line 27 of file SimG4HcalHitJetFinder.h.
Referenced by getClusters().
|
private |
Definition at line 26 of file SimG4HcalHitJetFinder.h.
Referenced by getClusters(), and setInput().
|
private |
Definition at line 25 of file SimG4HcalHitJetFinder.h.
Referenced by getClusters(), and setCone().