Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/sPhenixAj/src/PHAJMaker.h>
Public Member Functions | |
PHAJMaker (const std::string &name="PHAJMaker", double R=0.4, double jet_ptmin=10.0, double jet_ptmax=100.0, double LeadPtMin=20.0, double SubLeadPtMin=10, double max_track_rap=1.0, double PtConsLo=0.2, double PtConsHi=2.0, double dPhiCut=0.4) | |
int | Init (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
double | GetR () |
Get jet radius. | |
void | SetR (const double newv) |
Set jet radius. | |
double | GetJet_ptmin () |
Get minimum jet pT | |
void | SetJet_ptmin (const double newv) |
Set minimum jet pT | |
double | GetJet_ptmax () |
Get maximum jet pT | |
void | SetJet_ptmax (const double newv) |
Set maximum jet pT | |
double | GetMax_rap () |
Get jet rapidity acceptance. | |
void | SetMax_rap (const double newv) |
Set jet rapidity acceptance. | |
double | GetGhost_maxrap () |
Get ghosted area rapidity cut, should be >= max_rap + 2*R. | |
void | SetGhost_maxrap (const double newv) |
Set ghosted area rapidity cut, should be >= max_rap + 2*R. | |
double | GetDPhiCut () |
Get dijet opening angle. | |
void | SetDPhiCut (const double newv) |
Set dijet opening angle. | |
virtual | ~PHAJMaker () |
double | CalcAj (std::vector< fastjet::PseudoJet > &jets) |
fastjet::JetDefinition & | GetJet_def () |
Handle to jet definition. | |
fastjet::Selector & | GetLoConsSelector () |
Handle to selector for low pT constituents. | |
fastjet::Selector & | GetHiConsSelector () |
Handle to selector for high pT constituents. | |
fastjet::Selector & | GetJetSelector () |
Handle to selector for jet candidates. | |
fastjet::GhostedAreaSpec & | GetArea_spec () |
Handle to ghosted area specification. | |
fastjet::AreaDefinition & | GetArea_def () |
Handle to jet area definition. | |
JetAnalyzer * | GetJAhi () |
Handle to JetAnalyzer for high pT constituents. | |
JetAnalyzer * | GetJAlo () |
Handle to JetAnalyzer for low pT constituents. | |
std::vector< fastjet::PseudoJet > | GetJAhiResult () |
Handle to unaltered clustering result with high pT constituents. | |
std::vector< fastjet::PseudoJet > | GetJAloResult () |
Handle to unaltered clustering result with low pT constituents. | |
std::vector< fastjet::PseudoJet > | GetLoConstituents () |
Handle to high pT constituents. | |
std::vector< fastjet::PseudoJet > | GetHiConstituents () |
Handle to low pT constituents. | |
std::vector< fastjet::PseudoJet > | GetDiJetsHi () |
Handle to Dijet result with high pT constituents. | |
std::vector< fastjet::PseudoJet > | GetDiJetsLo () |
Handle to Dijet result with low pT constituents. | |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | InitRun (PHCompositeNode *) |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Public Attributes | |
bool | Has10Gev |
Private Attributes | |
Fun4AllHistoManager * | MyHistos |
TH2D * | UnmatchedAJ_hi |
TH2D * | AJ_hi |
TH2D * | AJ_lo |
double | R |
Resolution parameter ("jet radius") | |
double | jet_ptmin |
minimum jet pT | |
double | jet_ptmax |
maximum jet pT | |
double | LeadPtMin |
leading jet minimum pT | |
double | SubLeadPtMin |
subleading jet minimum pT | |
double | max_rap |
jet rapidity acceptance | |
double | ghost_maxrap |
for ghosted area, should be >= max_rap + 2*R | |
double | max_track_rap |
constituent rapidity cut | |
double | PtConsLo |
constituent minimum pT | |
double | PtConsHi |
constituent maximum pT | |
double | dPhiCut |
opening angle for dijet requirement. Accept only |φ1 - φ2 - π| < Δφ. | |
fastjet::JetDefinition | jet_def |
jet definition | |
fastjet::JetDefinition | other_jet_def |
jet definition with a different radius | |
fastjet::Selector | select_track_rap |
constituent rapidity selector | |
fastjet::Selector | select_lopt |
constituent pT selector | |
fastjet::Selector | select_hipt |
constituent pT selector | |
fastjet::Selector | slo |
compound selector for low pT constituents | |
fastjet::Selector | shi |
compound selector for high pT constituents | |
fastjet::Selector | select_jet_rap |
jet rapidity selector | |
fastjet::Selector | select_jet_pt_min |
jet pT selector | |
fastjet::Selector | select_jet_pt_max |
jet pT selector | |
fastjet::Selector | sjet |
compound jet selector | |
fastjet::GhostedAreaSpec | area_spec |
ghosted area specification | |
fastjet::AreaDefinition | area_def |
jet area definition | |
JetAnalyzer * | pJAhi |
JetAnalyzer object for high pT. | |
JetAnalyzer * | pJAlo |
JetAnalyzer object for low pT. | |
JetAnalyzer * | pOtherJAlo |
JetAnalyzer object for low pT with different R. | |
std::vector< fastjet::PseudoJet > | pHi |
High pT constituents. | |
std::vector< fastjet::PseudoJet > | pLo |
Low pT constituents. | |
std::vector< fastjet::PseudoJet > | JAhiResult |
Unaltered clustering result with high pT constituents. | |
std::vector< fastjet::PseudoJet > | JAloResult |
Unaltered clustering result with low pT constituents. | |
std::vector< fastjet::PseudoJet > | OtherJAloResult |
Unaltered clustering result with low pT constituents, different R. | |
std::vector< fastjet::PseudoJet > | DiJetsHi |
Dijet result with high pT constituents. | |
std::vector< fastjet::PseudoJet > | DiJetsLo |
Dijet result with low pT constituents. | |
std::vector< fastjet::PseudoJet > | OtherDiJetsLo |
Dijet result with low pT constituents and different R. | |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = std::numeric_limits<int>::max() - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 50 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 50 of file PHAJMaker.h
PHAJMaker::PHAJMaker | ( | const std::string & | name = "PHAJMaker" , |
double | R = 0.4 , |
||
double | jet_ptmin = 10.0 , |
||
double | jet_ptmax = 100.0 , |
||
double | LeadPtMin = 20.0 , |
||
double | SubLeadPtMin = 10 , |
||
double | max_track_rap = 1.0 , |
||
double | PtConsLo = 0.2 , |
||
double | PtConsHi = 2.0 , |
||
double | dPhiCut = 0.4 |
||
) |
Standard constructor. Set up analysis parameters.
name,: | Name |
R,: | jet resolution parameter (radius) |
jet_ptmin,: | minimum jet pT |
jet_ptmax,: | maximum jet pT |
LeadPtMin,: | leading jet minimum pT |
SubLeadPtMin,: | subleading jet minimum pT |
max_track_rap,: | constituent rapidity cut |
PtConsLo,: | constituent minimum pT |
PtConsHi,: | constituent maximum pT |
dPhiCut,: | opening angle for dijet requirement. Accept only |φ1 - φ2 - π| < dPhiCut. |
Definition at line 44 of file PHAJMaker.cc.
View newest version in sPHENIX GitHub at line 44 of file PHAJMaker.cc
References antikt_algorithm, area_def, area_spec, AjParameters::ghost_area, ghost_maxrap, AjParameters::ghost_repeat, jet_def, max_rap, R, select_hipt, select_jet_pt_max, select_jet_pt_min, select_jet_rap, select_lopt, select_track_rap, SelectorAbsRapMax(), SelectorIdentity(), SelectorPtMax(), SelectorPtMin(), shi, sjet, and slo.
|
virtual |
Standard dtor (empty)
Definition at line 120 of file PHAJMaker.cc.
View newest version in sPHENIX GitHub at line 120 of file PHAJMaker.cc
|
inline |
Dijet asymmetry AJ = ΔpT / ΣpT
Definition at line 125 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 125 of file PHAJMaker.h
Referenced by process_event().
|
inline |
Handle to jet area definition.
Definition at line 147 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 147 of file PHAJMaker.h
References area_def.
|
inline |
Handle to ghosted area specification.
Definition at line 145 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 145 of file PHAJMaker.h
References area_spec.
|
inline |
Handle to Dijet result with high pT constituents.
Definition at line 167 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 167 of file PHAJMaker.h
References DiJetsHi.
|
inline |
Handle to Dijet result with low pT constituents.
Definition at line 169 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 169 of file PHAJMaker.h
|
inline |
Get dijet opening angle.
Definition at line 115 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 115 of file PHAJMaker.h
References dPhiCut.
|
inline |
Get ghosted area rapidity cut, should be >= max_rap + 2*R.
Definition at line 110 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 110 of file PHAJMaker.h
References ghost_maxrap.
|
inline |
Handle to selector for high pT constituents.
Definition at line 139 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 139 of file PHAJMaker.h
References shi.
|
inline |
Handle to low pT constituents.
Definition at line 163 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 163 of file PHAJMaker.h
References pHi.
|
inline |
Handle to JetAnalyzer for high pT constituents.
Definition at line 151 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 151 of file PHAJMaker.h
References pJAhi.
|
inline |
Handle to unaltered clustering result with high pT constituents.
Definition at line 156 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 156 of file PHAJMaker.h
References JAhiResult.
|
inline |
Handle to JetAnalyzer for low pT constituents.
Definition at line 153 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 153 of file PHAJMaker.h
References pJAlo.
|
inline |
Handle to unaltered clustering result with low pT constituents.
Definition at line 158 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 158 of file PHAJMaker.h
References JAloResult.
|
inline |
Handle to jet definition.
Definition at line 135 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 135 of file PHAJMaker.h
References jet_def.
|
inline |
Get maximum jet pT
Definition at line 100 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 100 of file PHAJMaker.h
References jet_ptmax.
|
inline |
Get minimum jet pT
Definition at line 95 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 95 of file PHAJMaker.h
References jet_ptmin.
|
inline |
Handle to selector for jet candidates.
Definition at line 142 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 142 of file PHAJMaker.h
References sjet.
|
inline |
Handle to selector for low pT constituents.
Definition at line 137 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 137 of file PHAJMaker.h
References slo.
|
inline |
Handle to high pT constituents.
Definition at line 161 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 161 of file PHAJMaker.h
References pLo.
|
inline |
Get jet rapidity acceptance.
Definition at line 105 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 105 of file PHAJMaker.h
References max_rap.
|
inline |
Get jet radius.
Definition at line 90 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 90 of file PHAJMaker.h
References R.
|
virtual |
Initializer, called ONCE
Reimplemented from SubsysReco.
Definition at line 127 of file PHAJMaker.cc.
View newest version in sPHENIX GitHub at line 127 of file PHAJMaker.cc
References AJ_hi, AJ_lo, Fun4AllServer::instance(), MyHistos, Fun4AllHistoManager::registerHisto(), Fun4AllServer::registerHistoManager(), Fun4AllHistoManager::setOutfileName(), and UnmatchedAJ_hi.
|
virtual |
Main analysis routine, called for EVERY EVENT
Reimplemented from SubsysReco.
Definition at line 158 of file PHAJMaker.cc.
View newest version in sPHENIX GitHub at line 158 of file PHAJMaker.cc
References AJ_hi, AJ_lo, area_def, assert, CalcAj(), PJContainer::data, DiJetsHi, DiJetsLo, dPhiCut, JetAnalyzer::GetBackgroundSubtractor(), Has10Gev, i, JAhiResult, JAloResult, jet_def, LeadPtMin, max_rap, OtherDiJetsLo, particles, pHi, pJAhi, pJAlo, pLo, pOtherJAlo, R, SelectorAbsRapMax(), SelectorCircle(), SelectorDijets(), SelectorNHardest(), shi, sjet, slo, sorted_by_pt(), SubLeadPtMin, and UnmatchedAJ_hi.
|
inline |
Set dijet opening angle.
Definition at line 117 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 117 of file PHAJMaker.h
References dPhiCut.
|
inline |
Set ghosted area rapidity cut, should be >= max_rap + 2*R.
Definition at line 112 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 112 of file PHAJMaker.h
References ghost_maxrap.
|
inline |
Set maximum jet pT
Definition at line 102 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 102 of file PHAJMaker.h
References jet_ptmax.
|
inline |
Set minimum jet pT
Definition at line 97 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 97 of file PHAJMaker.h
References jet_ptmin.
|
inline |
Set jet rapidity acceptance.
Definition at line 107 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 107 of file PHAJMaker.h
References max_rap.
|
inline |
Set jet radius.
Definition at line 92 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 92 of file PHAJMaker.h
References R.
|
private |
Definition at line 185 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 185 of file PHAJMaker.h
Referenced by Init(), and process_event().
|
private |
Definition at line 186 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 186 of file PHAJMaker.h
Referenced by Init(), and process_event().
|
private |
jet area definition
Definition at line 220 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 220 of file PHAJMaker.h
Referenced by GetArea_def(), PHAJMaker(), and process_event().
|
private |
ghosted area specification
Definition at line 219 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 219 of file PHAJMaker.h
Referenced by GetArea_spec(), and PHAJMaker().
|
private |
Dijet result with high pT constituents.
Definition at line 233 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 233 of file PHAJMaker.h
Referenced by GetDiJetsHi(), and process_event().
|
private |
Dijet result with low pT constituents.
Definition at line 234 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 234 of file PHAJMaker.h
Referenced by process_event().
|
private |
opening angle for dijet requirement. Accept only |φ1 - φ2 - π| < Δφ.
Definition at line 200 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 200 of file PHAJMaker.h
Referenced by GetDPhiCut(), process_event(), and SetDPhiCut().
|
private |
for ghosted area, should be >= max_rap + 2*R
Definition at line 194 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 194 of file PHAJMaker.h
Referenced by GetGhost_maxrap(), PHAJMaker(), and SetGhost_maxrap().
bool PHAJMaker::Has10Gev |
This little helper is true if there's at least one 10 GeV jet
Definition at line 85 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 85 of file PHAJMaker.h
Referenced by process_event().
|
private |
Unaltered clustering result with high pT constituents.
Definition at line 229 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 229 of file PHAJMaker.h
Referenced by GetJAhiResult(), and process_event().
|
private |
Unaltered clustering result with low pT constituents.
Definition at line 230 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 230 of file PHAJMaker.h
Referenced by GetJAloResult(), and process_event().
|
private |
jet definition
Definition at line 203 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 203 of file PHAJMaker.h
Referenced by GetJet_def(), PHAJMaker(), and process_event().
|
private |
maximum jet pT
Definition at line 190 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 190 of file PHAJMaker.h
Referenced by GetJet_ptmax(), and SetJet_ptmax().
|
private |
minimum jet pT
Definition at line 189 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 189 of file PHAJMaker.h
Referenced by GetJet_ptmin(), and SetJet_ptmin().
|
private |
leading jet minimum pT
Definition at line 191 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 191 of file PHAJMaker.h
Referenced by process_event().
|
private |
jet rapidity acceptance
Definition at line 193 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 193 of file PHAJMaker.h
Referenced by GetMax_rap(), PHAJMaker(), process_event(), and SetMax_rap().
|
private |
constituent rapidity cut
Definition at line 196 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 196 of file PHAJMaker.h
|
private |
Definition at line 169 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 169 of file PHAJMaker.h
Referenced by Init().
|
private |
jet definition with a different radius
Definition at line 204 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 204 of file PHAJMaker.h
|
private |
Dijet result with low pT constituents and different R.
Definition at line 235 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 235 of file PHAJMaker.h
Referenced by process_event().
|
private |
Unaltered clustering result with low pT constituents, different R.
Definition at line 231 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 231 of file PHAJMaker.h
|
private |
High pT constituents.
Definition at line 226 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 226 of file PHAJMaker.h
Referenced by GetHiConstituents(), and process_event().
|
private |
JetAnalyzer object for high pT.
Definition at line 222 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 222 of file PHAJMaker.h
Referenced by GetJAhi(), and process_event().
|
private |
JetAnalyzer object for low pT.
Definition at line 223 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 223 of file PHAJMaker.h
Referenced by GetJAlo(), and process_event().
|
private |
Low pT constituents.
Definition at line 227 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 227 of file PHAJMaker.h
Referenced by GetLoConstituents(), and process_event().
|
private |
JetAnalyzer object for low pT with different R.
Definition at line 224 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 224 of file PHAJMaker.h
Referenced by process_event().
|
private |
constituent maximum pT
Definition at line 198 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 198 of file PHAJMaker.h
|
private |
constituent minimum pT
Definition at line 197 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 197 of file PHAJMaker.h
|
private |
Resolution parameter ("jet radius")
Definition at line 188 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 188 of file PHAJMaker.h
Referenced by GetR(), PHAJMaker(), process_event(), and SetR().
|
private |
constituent pT selector
Definition at line 208 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 208 of file PHAJMaker.h
Referenced by PHAJMaker().
|
private |
jet pT selector
Definition at line 216 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 216 of file PHAJMaker.h
Referenced by PHAJMaker().
|
private |
jet pT selector
Definition at line 215 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 215 of file PHAJMaker.h
Referenced by PHAJMaker().
|
private |
jet rapidity selector
Definition at line 214 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 214 of file PHAJMaker.h
Referenced by PHAJMaker().
|
private |
constituent pT selector
Definition at line 207 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 207 of file PHAJMaker.h
Referenced by PHAJMaker().
|
private |
constituent rapidity selector
Definition at line 206 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 206 of file PHAJMaker.h
Referenced by PHAJMaker().
|
private |
compound selector for high pT constituents
Definition at line 211 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 211 of file PHAJMaker.h
Referenced by GetHiConsSelector(), PHAJMaker(), and process_event().
|
private |
compound jet selector
Definition at line 217 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 217 of file PHAJMaker.h
Referenced by GetJetSelector(), PHAJMaker(), and process_event().
|
private |
compound selector for low pT constituents
Definition at line 210 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 210 of file PHAJMaker.h
Referenced by GetLoConsSelector(), PHAJMaker(), and process_event().
|
private |
subleading jet minimum pT
Definition at line 192 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 192 of file PHAJMaker.h
Referenced by process_event().
|
private |
Definition at line 184 of file PHAJMaker.h.
View newest version in sPHENIX GitHub at line 184 of file PHAJMaker.h
Referenced by Init(), and process_event().