Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/PHFlowJetMaker/PHFlowJetMaker.h>
Public Member Functions | |
PHFlowJetMaker (const std::string &name="PHFlowJetMaker", const std::string algorithm="AntiKt", double r_param=0.3) | |
virtual | ~PHFlowJetMaker () |
int | Init (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
void | run_particle_flow (std::vector< fastjet::PseudoJet > &flow_particles, RawClusterContainer *emc_clusters, RawClusterContainer *hci_clusters, RawClusterContainer *hco_clusters, SvtxTrackMap *reco_tracks, GlobalVertex *vtx) |
int | get_matched (double clus_energy, double track_energy) |
int | create_node_tree (PHCompositeNode *) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
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. | |
Private Attributes | |
char * | outfile |
std::string | algorithm |
double | r_param |
JetMap * | flow_jet_map |
TF1 * | match_tolerance_low |
TF1 * | match_tolerance_high |
fastjet::JetDefinition * | fJetAlgorithm |
double | min_jet_pT |
Static Private Attributes | |
static const float | sfEMCAL = 0.03 |
static const float | sfHCALIN = 0.071 |
static const float | sfHCALOUT = 0.04 |
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 42 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 42 of file PHFlowJetMaker.h
PHFlowJetMaker::PHFlowJetMaker | ( | const std::string & | name = "PHFlowJetMaker" , |
const std::string | algorithm = "AntiKt" , |
||
double | r_param = 0.3 |
||
) |
Definition at line 59 of file PHFlowJetMaker.C.
View newest version in sPHENIX GitHub at line 59 of file PHFlowJetMaker.C
References algorithm, antikt_algorithm, Best, E_scheme, fJetAlgorithm, flow_jet_map, kt_algorithm, match_tolerance_high, match_tolerance_low, min_jet_pT, and r_param.
|
virtual |
Definition at line 94 of file PHFlowJetMaker.C.
View newest version in sPHENIX GitHub at line 94 of file PHFlowJetMaker.C
int PHFlowJetMaker::create_node_tree | ( | PHCompositeNode * | topNode | ) |
Definition at line 112 of file PHFlowJetMaker.C.
View newest version in sPHENIX GitHub at line 112 of file PHFlowJetMaker.C
References Fun4AllReturnCodes::ABORTEVENT, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), flow_jet_map, and r_param.
Referenced by Init().
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 624 of file PHFlowJetMaker.C.
View newest version in sPHENIX GitHub at line 624 of file PHFlowJetMaker.C
References Fun4AllReturnCodes::EVENT_OK.
Definition at line 595 of file PHFlowJetMaker.C.
View newest version in sPHENIX GitHub at line 595 of file PHFlowJetMaker.C
References match_tolerance_high, and match_tolerance_low.
Referenced by run_particle_flow().
|
virtual |
Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).
Reimplemented from SubsysReco.
Definition at line 101 of file PHFlowJetMaker.C.
View newest version in sPHENIX GitHub at line 101 of file PHFlowJetMaker.C
References create_node_tree(), and Fun4AllReturnCodes::EVENT_OK.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 170 of file PHFlowJetMaker.C.
View newest version in sPHENIX GitHub at line 170 of file PHFlowJetMaker.C
References Fun4AllReturnCodes::ABORTRUN, Jet::ANTIKT, assert, Jet::CEMC_CLUSTER, energy, Fun4AllReturnCodes::EVENT_OK, fJetAlgorithm, flow_jet_map, Jet::HCALIN_CLUSTER, Jet::HCALOUT_CLUSTER, i, JetMap::insert(), JetMap::insert_src(), j, Jet::KT, min_jet_pT, r_param, run_particle_flow(), JetMap::set_algo(), JetMap::set_par(), and Jet::TRACK.
void PHFlowJetMaker::run_particle_flow | ( | std::vector< fastjet::PseudoJet > & | flow_particles, |
RawClusterContainer * | emc_clusters, | ||
RawClusterContainer * | hci_clusters, | ||
RawClusterContainer * | hco_clusters, | ||
SvtxTrackMap * | reco_tracks, | ||
GlobalVertex * | vtx | ||
) |
Definition at line 267 of file PHFlowJetMaker.C.
View newest version in sPHENIX GitHub at line 267 of file PHFlowJetMaker.C
References SvtxTrackMap::begin(), SvtxTrack::CEMC, SvtxTrackMap::end(), eta, Eta, SvtxTrack::get_cal_cluster_id(), get_matched(), SvtxTrack::get_px(), SvtxTrack::get_py(), SvtxTrack::get_pz(), SvtxTrack::get_quality(), GlobalVertex::get_x(), GlobalVertex::get_y(), GlobalVertex::get_z(), RawClusterContainer::getCluster(), RawClusterUtility::GetEVec(), SvtxTrack::HCALIN, SvtxTrack::HCALOUT, i, it, merge_hashes::p, ActsTests::PropagationDatasets::phi, and RawClusterContainer::size().
Referenced by process_event().
|
private |
Definition at line 71 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 71 of file PHFlowJetMaker.h
Referenced by PHFlowJetMaker().
|
private |
Definition at line 80 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 80 of file PHFlowJetMaker.h
Referenced by PHFlowJetMaker(), and process_event().
|
private |
Definition at line 74 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 74 of file PHFlowJetMaker.h
Referenced by create_node_tree(), PHFlowJetMaker(), and process_event().
|
private |
Definition at line 78 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 78 of file PHFlowJetMaker.h
Referenced by get_matched(), and PHFlowJetMaker().
|
private |
Definition at line 77 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 77 of file PHFlowJetMaker.h
Referenced by get_matched(), and PHFlowJetMaker().
|
private |
Definition at line 81 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 81 of file PHFlowJetMaker.h
Referenced by PHFlowJetMaker(), and process_event().
|
private |
Definition at line 70 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 70 of file PHFlowJetMaker.h
|
private |
Definition at line 72 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 72 of file PHFlowJetMaker.h
Referenced by create_node_tree(), PHFlowJetMaker(), and process_event().
|
staticprivate |
Definition at line 66 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 66 of file PHFlowJetMaker.h
|
staticprivate |
Definition at line 67 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 67 of file PHFlowJetMaker.h
|
staticprivate |
Definition at line 68 of file PHFlowJetMaker.h.
View newest version in sPHENIX GitHub at line 68 of file PHFlowJetMaker.h