LCFIPlus
0.6.5
|
Finds jets using various jet clustering algorithms. More...
#include <JetFinder.h>
Public Member Functions | |
JetFinder (const JetConfig &cfg) | |
Constructor. More... | |
~JetFinder () | |
Destructor. More... | |
void | Configure (const JetConfig &cfg) |
Replace JetConfig. More... | |
vector< Jet * > | run (TrackVec &tracks) |
Perform jet clustering with charged tracks only. More... | |
vector< Jet * > | run (TrackVec &tracks, NeutralVec &neutrals, double *pymin=0, int ynjetmax=10) |
Perform jet clustering using both charged tracks and neutral particles. More... | |
vector< Jet * > | run (TrackVec &tracks, NeutralVec &neutrals, VertexVec &vertices, double *pymin=0, int ynjetmax=10) |
Perform jet clustering using charged tracks and neutral particles with the contraint that the given vertices are not merged. More... | |
vector< Jet * > | prerun (TrackVec &tracks, NeutralVec &neutrals, VertexVec &vertices, int *pnVertexJets=0) |
Lepton finder and vertex isolator/combiner, called from run() with vertices. More... | |
vector< Jet * > | run (vector< Jet * > input, double *pymin=0, int ynjetmax=10) |
Main function of jet clustering, called from other run() functions. More... | |
Static Public Member Functions | |
static double | funcDurham (Jet &jet1, Jet &jet2, double Evis2, JetConfig &cfg) |
static double | funcJade (Jet &jet1, Jet &jet2, double Evis2, JetConfig &cfg) |
static double | funcJadeE (Jet &jet1, Jet &jet2, double Evis2, JetConfig &cfg) |
static double | funcDurhamCheat (Jet &jet1, Jet &jet2, double Evis2, JetConfig &cfg) |
static double | funcKt (Jet &jet1, Jet &jet2, double Evis2, JetConfig &cfg) |
static double | funcValencia (Jet &jet1, Jet &jet2, double Evis2, JetConfig &cfg) |
static double | funcVertex (Jet &jet1, Jet &jet2, double Evis2, JetConfig &cfg, double(*func)(Jet &, Jet &, double, JetConfig &)) |
static double | funcDurhamVertex (Jet &jet1, Jet &jet2, double Evis2, JetConfig &cfg) |
static double | funcKtVertex (Jet &jet1, Jet &jet2, double Evis2, JetConfig &cfg) |
static double | funcValenciaVertex (Jet &jet1, Jet &jet2, double Evis2, JetConfig &cfg) |
static double | funcDurhamBeamDistance (Jet &jet, double Evis2, JetConfig &cfg) |
static double | funcKtBeamDistance (Jet &jet, double Evis2, JetConfig &cfg) |
static double | funcValenciaBeamDistance (Jet &jet, double Evis2, JetConfig &cfg) |
Finds jets using various jet clustering algorithms.
lcfiplus::JetFinder::JetFinder | ( | const JetConfig & | cfg | ) |
Constructor.
[in] | cfg | specify the algorithm and the parameters |
|
inline |
Destructor.
void lcfiplus::JetFinder::Configure | ( | const JetConfig & | cfg | ) |
Replace JetConfig.
[in] | cfg | specify the algorithm and the parameters |
Referenced by lcfiplus::JetClustering::process().
|
static |
References lcfiplus::algoEtc::min().
Referenced by prerun().
|
static |
References lcfiplus::JetConfig::alphaParameter.
Referenced by prerun().
|
static |
References lcfiplus::algoEtc::min().
|
static |
Referenced by prerun().
|
static |
|
static |
References lcfiplus::algoEtc::min(), and lcfiplus::JetConfig::rParameter.
Referenced by prerun().
Referenced by prerun().
|
static |
Referenced by prerun().
|
static |
References lcfiplus::JetConfig::betaParameter, lcfiplus::algoEtc::min(), and lcfiplus::JetConfig::rParameter.
Referenced by prerun().
|
static |
References lcfiplus::JetConfig::betaParameter.
Referenced by prerun().
|
static |
Referenced by prerun().
vector< Jet * > lcfiplus::JetFinder::prerun | ( | TrackVec & | tracks, |
NeutralVec & | neutrals, | ||
VertexVec & | vertices, | ||
int * | pnVertexJets = 0 |
||
) |
Lepton finder and vertex isolator/combiner, called from run() with vertices.
References lcfiplus::Vertex::add(), lcfiplus::Jet::add(), lcfiplus::JetConfig::algo, funcDurham(), funcDurhamBeamDistance(), funcDurhamVertex(), funcKt(), funcKtBeamDistance(), funcKtVertex(), funcValencia(), funcValenciaBeamDistance(), funcValenciaVertex(), lcfiplus::Vertex::getMcp(), lcfiplus::Track::getParticleIDProbability(), lcfiplus::MCParticle::getPDG(), lcfiplus::Vertex::getPos(), lcfiplus::Jet::getVertices(), lcfiplus::Vertex::getX(), lcfiplus::Vertex::getY(), lcfiplus::Vertex::getZ(), lcfiplus::MCParticle::isParent(), lcfiplus::JetConfig::muonIDExternal, lcfiplus::JetConfig::muonIDMaxDist, lcfiplus::JetConfig::muonIDMinD0Sig, lcfiplus::JetConfig::muonIDMinEnergy, lcfiplus::JetConfig::muonIDMinProb, lcfiplus::JetConfig::muonIDMinZ0Sig, lcfiplus::JetConfig::nJet, lcfiplus::algoEtc::SimpleSecMuonFinder(), and lcfiplus::JetConfig::useMuonID.
Referenced by lcfiplus::JetClustering::process(), and run().
Perform jet clustering with charged tracks only.
Referenced by lcfiplus::JetClustering::process(), and run().
vector< Jet * > lcfiplus::JetFinder::run | ( | TrackVec & | tracks, |
NeutralVec & | neutrals, | ||
double * | pymin = 0 , |
||
int | ynjetmax = 10 |
||
) |
Perform jet clustering using both charged tracks and neutral particles.
References run().
vector< Jet * > lcfiplus::JetFinder::run | ( | TrackVec & | tracks, |
NeutralVec & | neutrals, | ||
VertexVec & | vertices, | ||
double * | pymin = 0 , |
||
int | ynjetmax = 10 |
||
) |
vector< Jet * > lcfiplus::JetFinder::run | ( | vector< Jet * > | input, |
double * | pymin = 0 , |
||
int | ynjetmax = 10 |
||
) |
Main function of jet clustering, called from other run() functions.
References lcfiplus::algoEtc::min(), lcfiplus::JetConfig::nJet, lcfiplus::Jet::sort_by_energy(), lcfiplus::JetConfig::useBeamJets, and lcfiplus::JetConfig::Ycut.