#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 haddnano::cl, clusvector, ztail::d, HcalBarrel, HcalEndcap, HcalForward, input, dqmiolumiharvest::j, jetcone, rDist(), jetsAK4_CHS_cff::sort, and groupFilesInBlocks::temp.
double SimG4HcalHitJetFinder::rDist | ( | const SimG4HcalHitCluster * | cluster, |
const CaloHit * | hit | ||
) | const |
Definition at line 106 of file SimG4HcalHitJetFinder.cc.
References SimG4HcalHitCluster::eta(), and SimG4HcalHitCluster::phi().
Referenced by getClusters().
double SimG4HcalHitJetFinder::rDist | ( | const double | etac, |
const double | phic, | ||
const double | etah, | ||
const double | phih | ||
) | const |
Definition at line 116 of file SimG4HcalHitJetFinder.cc.
References HLT_2022v15_cff::delta_eta, HLT_2022v15_cff::delta_phi, M_PI, mathSSE::sqrt(), and createJobs::tmp.
void SimG4HcalHitJetFinder::setCone | ( | double | cone | ) |
Definition at line 17 of file SimG4HcalHitJetFinder.cc.
References hltPFPuppi_cfi::cone, and jetcone.
void SimG4HcalHitJetFinder::setInput | ( | std::vector< CaloHit > * | hhit | ) |
|
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().