Analysis Software
Documentation for sPHENIX simulation software
|
Light FastJet wrapper for Heavy Ion analysis program file and the functions in that file. More...
#include "fastjet/ClusterSequence.hh"
#include "fastjet/ClusterSequenceArea.hh"
#include "fastjet/ClusterSequencePassiveArea.hh"
#include "fastjet/ClusterSequenceActiveArea.hh"
#include "fastjet/ClusterSequenceActiveAreaExplicitGhosts.hh"
#include "fastjet/Selector.hh"
#include <TLorentzVector.h>
#include <TClonesArray.h>
#include "fastjet/tools/JetMedianBackgroundEstimator.hh"
#include "fastjet/tools/Subtractor.hh"
#include "fastjet/tools/Filter.hh"
#include "fastjet/FunctionOfPseudoJet.hh"
#include <iostream>
#include <string>
#include <sstream>
#include <utility>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | JetAnalyzer |
class | SelectorDijetWorker |
struct | sort_IntDoubleByDouble |
class | JetAnalysisUserInfo |
class | SelectorChargeWorker |
Functions | |
fastjet::Selector | SelectorDijets (const double dPhi=0.4) |
bool | IsMatched (const std::vector< fastjet::PseudoJet > &jetset1, const std::vector< fastjet::PseudoJet > &jetset2, const double Rmax) |
bool | IsMatched (const std::vector< fastjet::PseudoJet > &jetset1, const fastjet::PseudoJet &reference, const double Rmax) |
bool | IsMatched (const fastjet::PseudoJet &jet1, const fastjet::PseudoJet &jet2, const double Rmax) |
TLorentzVector | MakeTLorentzVector (const fastjet::PseudoJet &pj) |
fastjet::PseudoJet | MakePseudoJet (const TLorentzVector *const lv) |
fastjet::Selector | SelectorChargeRange (const int cmin=-999, const int cmax=999) |
fastjet::JetAlgorithm | AlgoFromString (std::string s) |
Light FastJet wrapper for Heavy Ion analysis program file and the functions in that file.
Light FastJet wrapper for Heavy Ion analysis program file and the functions in that file.
Definition in file JetAnalyzer.hh.
fastjet::JetAlgorithm AlgoFromString | ( | std::string | s | ) |
Helper to get an enum from a string we'll allow some more generous spellings and abbreviations
Definition at line 281 of file JetAnalyzer.cxx.
View newest version in sPHENIX GitHub at line 281 of file JetAnalyzer.cxx
References antikt_algorithm, cambridge_algorithm, kt_algorithm, Acts::Test::transform, and undefined_jet_algorithm.
bool IsMatched | ( | const std::vector< fastjet::PseudoJet > & | jetset1, |
const std::vector< fastjet::PseudoJet > & | jetset2, | ||
const double | Rmax | ||
) |
Determines whether two vector sets are matched 1 to 1. Could return something like lists of matches, but for now it's using a primitive 1-to-1 matching. Enforcing 1-to-1 to avoid pathologies. For dijet A_J, the implementation is already overkill, but I want to lay the groundwork for more complex tasks
Definition at line 204 of file JetAnalyzer.cxx.
View newest version in sPHENIX GitHub at line 204 of file JetAnalyzer.cxx
bool IsMatched | ( | const std::vector< fastjet::PseudoJet > & | jetset1, |
const fastjet::PseudoJet & | reference, | ||
const double | Rmax | ||
) |
Check if one of the jets in jetset1 matches the reference. TODO: Could use this in the vector-vector version
Definition at line 241 of file JetAnalyzer.cxx.
View newest version in sPHENIX GitHub at line 241 of file JetAnalyzer.cxx
bool IsMatched | ( | const fastjet::PseudoJet & | jet1, |
const fastjet::PseudoJet & | jet2, | ||
const double | Rmax | ||
) |
Check if jet and jet2 are matched TODO: Could use this in the vector versions
Definition at line 253 of file JetAnalyzer.cxx.
View newest version in sPHENIX GitHub at line 253 of file JetAnalyzer.cxx
fastjet::PseudoJet MakePseudoJet | ( | const TLorentzVector *const | lv | ) |
The best way to interface vector<PseudoJet> with ROOT seems to be via TClonesArray<TLorentzVector>, so we'll provide some ways to go back and forth between them. Pretty redundant, PseudoJet is a smart class and does all the work.
Definition at line 268 of file JetAnalyzer.cxx.
View newest version in sPHENIX GitHub at line 268 of file JetAnalyzer.cxx
TLorentzVector MakeTLorentzVector | ( | const fastjet::PseudoJet & | pj | ) |
The best way to interface vector<PseudoJet> with ROOT seems to be via TClonesArray<TLorentzVector>, so we'll provide some ways to go back and forth between them.
Definition at line 259 of file JetAnalyzer.cxx.
View newest version in sPHENIX GitHub at line 259 of file JetAnalyzer.cxx
fastjet::Selector SelectorChargeRange | ( | const int | cmin = -999 , |
const int | cmax = 999 |
||
) |
the function that allows to write simply
Selector sel = SelectorChargeRange( cmin, cmax );
Definition at line 276 of file JetAnalyzer.cxx.
View newest version in sPHENIX GitHub at line 276 of file JetAnalyzer.cxx
fastjet::Selector SelectorDijets | ( | const double | dPhi = 0.4 | ) |
Determines whether two vector sets are matched 1 to 1. Actual Dijet selector
dPhi,: | Dijet acceptance angle Δφ |
Definition at line 176 of file JetAnalyzer.cxx.
View newest version in sPHENIX GitHub at line 176 of file JetAnalyzer.cxx
Referenced by PHAJMaker::process_event().