#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 27 of file SimG4HcalHitJetFinder.cc.
References clusvector, HcalBarrel, HcalEndcap, HcalForward, input, j, jetcone, LogDebug, rDist(), python.multivaluedict::sort(), and groupFilesInBlocks::temp.
Referenced by SimG4HcalValidation::jetAnalysis().
double SimG4HcalHitJetFinder::rDist | ( | const SimG4HcalHitCluster * | cluster, |
const CaloHit * | hit | ||
) | const |
Definition at line 120 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 133 of file SimG4HcalHitJetFinder.cc.
References kinem::delta_eta(), kinem::delta_phi(), LogDebug, M_PI, mathSSE::sqrt(), and tmp.
void SimG4HcalHitJetFinder::setCone | ( | double | cone | ) |
void SimG4HcalHitJetFinder::setInput | ( | std::vector< CaloHit > * | hhit | ) |
Definition at line 23 of file SimG4HcalHitJetFinder.cc.
References input.
Referenced by SimG4HcalValidation::jetAnalysis().
|
private |
Definition at line 30 of file SimG4HcalHitJetFinder.h.
Referenced by getClusters().
|
private |
Definition at line 29 of file SimG4HcalHitJetFinder.h.
Referenced by getClusters(), and setInput().
|
private |
Definition at line 28 of file SimG4HcalHitJetFinder.h.
Referenced by getClusters(), and setCone().