Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/framework/PartonShower.h>
Private Attributes | |
node_map< shared_ptr< Vertex > > | vMap |
edge_map< shared_ptr< Parton > > | pMap |
vector< shared_ptr< Parton > > | pFinal |
Additional Inherited Members | |
Public Types inherited from graph | |
typedef list< node > ::const_iterator | node_iterator |
typedef list< edge > ::const_iterator | edge_iterator |
Definition at line 37 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 37 of file PartonShower.h
Jetscape::PartonShower::PartonShower | ( | ) |
Definition at line 30 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 30 of file PartonShower.cc
References VERBOSESHOWER.
|
virtual |
Definition at line 186 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 186 of file PartonShower.cc
References pFinal, and VERBOSESHOWER.
edge Jetscape::PartonShower::GetEdgeAt | ( | int | n | ) |
Definition at line 158 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 158 of file PartonShower.cc
References graph::edges_begin().
Referenced by GetNumberOfChilds(), and GetNumberOfParents().
vector< shared_ptr< Parton > > Jetscape::PartonShower::GetFinalPartons | ( | ) |
Definition at line 119 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 119 of file PartonShower.cc
References graph::edges_begin(), graph::edges_end(), pFinal, and pMap.
Referenced by GetFinalPartonsForFastJet(), and Jetscape::JetScapeWriterFinalStateStream< T >::Write().
vector< fjcore::PseudoJet > Jetscape::PartonShower::GetFinalPartonsForFastJet | ( | ) |
Definition at line 138 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 138 of file PartonShower.cc
References GetFinalPartons(), and i.
node Jetscape::PartonShower::GetNodeAt | ( | int | n | ) |
Definition at line 165 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 165 of file PartonShower.cc
References graph::nodes_begin().
int Jetscape::PartonShower::GetNumberOfChilds | ( | int | n | ) |
Definition at line 154 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 154 of file PartonShower.cc
References GetEdgeAt(), node::outdeg(), and edge::target().
int Jetscape::PartonShower::GetNumberOfParents | ( | int | n | ) |
Definition at line 150 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 150 of file PartonShower.cc
References GetEdgeAt(), node::indeg(), and edge::source().
|
inline |
Definition at line 65 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 65 of file PartonShower.h
References graph::number_of_edges().
|
inline |
Definition at line 66 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 66 of file PartonShower.h
References graph::number_of_nodes().
|
inline |
Definition at line 47 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 47 of file PartonShower.h
References Acts::UnitConstants::e, and pMap.
Referenced by GetPartonAt().
shared_ptr< Parton > Jetscape::PartonShower::GetPartonAt | ( | int | n | ) |
Definition at line 172 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 172 of file PartonShower.cc
References graph::edges_begin(), and GetParton().
|
inline |
Definition at line 46 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 46 of file PartonShower.h
Referenced by GetVertexAt().
shared_ptr< Vertex > Jetscape::PartonShower::GetVertexAt | ( | int | n | ) |
Definition at line 179 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 179 of file PartonShower.cc
References GetVertex(), and graph::nodes_begin().
Called after an edge is created. The whole list of key-value-pairs belonging to this edge is passed to this handler together with the edge itself.
<code>e</code> | edge parsed |
<code>list</code> | pointer to the list of key-value-pairs of this edge. |
Reimplemented from graph.
Definition at line 266 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 266 of file PartonShower.cc
References E, Acts::UnitConstants::e, eta, GML_pair_val::floating, if(), GML_pair_val::integer, GML_pair::key, GML_pair::next, ActsTests::PropagationDatasets::phi, train_ambiguity_solver::pid, pMap, graph_fancy::pT, ActsExamples::JsonSurfacesReader::read(), Acts::Test::tmp(), GML_pair::value, and VERBOSESHOWER.
Called after a node is created. The whole list of key-value-pairs belonging to this node is passed to this handler together with the node itself.
<code>n</code> | node parsed |
<code>list</code> | pointer to the list of key-value-pairs of this node. |
Reimplemented from graph.
Definition at line 296 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 296 of file PartonShower.cc
References GML_pair_val::floating, if(), GML_pair::key, n, GML_pair::next, ActsExamples::JsonSurfacesReader::read(), t, Acts::Test::tmp(), GML_pair::value, VERBOSESHOWER, vMap, ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.
int Jetscape::PartonShower::new_parton | ( | node | s, |
node | t, | ||
shared_ptr< Parton > | p | ||
) |
Definition at line 38 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 38 of file PartonShower.cc
References Acts::UnitConstants::e, edge::id(), graph::new_edge(), merge_hashes::p, and pMap.
node Jetscape::PartonShower::new_vertex | ( | shared_ptr< Vertex > | v | ) |
Definition at line 32 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 32 of file PartonShower.cc
References n, graph::new_node(), testSigmaEff::v, and vMap.
|
virtual |
Virtual function called before performing clear; can be redefined in a derived class for customization. Please note: Although nodes and edges are deleted during graph::clear this is not achieved by calling graph::del_node and graph::del_edge, which is why the correspondig handler will not be called.
Reimplemented from graph.
Definition at line 213 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 213 of file PartonShower.cc
References graph::edges_begin(), graph::edges_end(), graph::nodes_begin(), graph::nodes_end(), pMap, VERBOSESHOWER, and vMap.
void Jetscape::PartonShower::PrintEdges | ( | bool | verbose = true | ) |
Definition at line 243 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 243 of file PartonShower.cc
References graph::edges_begin(), graph::edges_end(), Jetscape::JetScapeLogger::Instance(), os, pMap, physmon_track_finding_ttbar::pt, and VERBOSESHOWER.
Referenced by PrintPartons().
void Jetscape::PartonShower::PrintNodes | ( | bool | verbose = true | ) |
Definition at line 226 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 226 of file PartonShower.cc
References Jetscape::JetScapeLogger::Instance(), graph::nodes_begin(), graph::nodes_end(), os, VERBOSESHOWER, and vMap.
Referenced by PrintVertices().
|
inline |
Definition at line 76 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 76 of file PartonShower.h
References PrintEdges().
|
inline |
Definition at line 75 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 75 of file PartonShower.h
References PrintNodes().
|
virtual |
Called before the closing bracket of the list belonging to the key of edge e
is written. This can be used to write information belonging to the edge e
and thus should appear within the list associated with this edge.
<code>os</code> | output stream. |
Reimplemented from graph.
Definition at line 201 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 201 of file PartonShower.cc
References Acts::UnitConstants::e, and pMap.
|
virtual |
Called before the closing bracket of the list belonging to the key of node n
is written. This can be used to write information belonging to the node n
and thus should appear within the list associated with this node.
<code>os</code> | output stream. |
Reimplemented from graph.
Definition at line 191 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 191 of file PartonShower.cc
References node::id(), n, and vMap.
|
inline |
Definition at line 80 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 80 of file PartonShower.h
References graph::save().
void Jetscape::PartonShower::SaveAsGraphML | ( | string | fName | ) |
Definition at line 401 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 401 of file PartonShower.cc
References graph::edges_begin(), graph::edges_end(), Acts::UnitConstants::g, n, graph::nodes_begin(), graph::nodes_end(), pMap, physmon_track_finding_ttbar::pt, to_string(), and vMap.
void Jetscape::PartonShower::SaveAsGV | ( | string | fName | ) |
Definition at line 325 of file PartonShower.cc.
View newest version in sPHENIX GitHub at line 325 of file PartonShower.cc
References graph::edges_begin(), graph::edges_end(), CKF_timing_vs_mu::label, n, graph::nodes_begin(), graph::nodes_end(), train_ambiguity_solver::pid, pMap, physmon_track_finding_ttbar::pt, t, to_string(), and vMap.
|
private |
Definition at line 88 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 88 of file PartonShower.h
Referenced by GetFinalPartons(), and ~PartonShower().
|
private |
Definition at line 86 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 86 of file PartonShower.h
Referenced by GetFinalPartons(), GetParton(), load_edge_info_handler(), new_parton(), pre_clear_handler(), PrintEdges(), save_edge_info_handler(), SaveAsGraphML(), and SaveAsGV().
|
private |
Definition at line 85 of file PartonShower.h.
View newest version in sPHENIX GitHub at line 85 of file PartonShower.h
Referenced by GetVertex(), load_node_info_handler(), new_vertex(), pre_clear_handler(), PrintNodes(), save_node_info_handler(), SaveAsGraphML(), and SaveAsGV().