Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/jetbase/Jetv2.h>
Classes | |
struct | CompareSRC |
Public Member Functions | |
Jetv2 ()=default | |
Jetv2 (unsigned int) | |
void | identify (std::ostream &os=std::cout) const override |
void | Reset () override |
Clear Event. | |
int | isValid () const override |
isValid returns non zero if object contains vailid data | |
PHObject * | CloneMe () const override |
Virtual copy constructor. | |
unsigned int | get_id () const override |
void | set_id (unsigned int id) override |
float | get_px () const override |
void | set_px (float px) override |
float | get_py () const override |
void | set_py (float py) override |
float | get_pz () const override |
void | set_pz (float pz) override |
float | get_e () const override |
void | set_e (float e) override |
float | get_p () const override |
float | get_pt () const override |
float | get_et () const override |
float | get_eta () const override |
float | get_phi () const override |
float | get_mass () const override |
float | get_mass2 () const override |
void | resize_properties (size_t size) override |
std::vector< float > & | get_property_vec () override |
size_t | size_properties () const override |
float | get_property (Jet::PROPERTY index) const override |
void | set_property (Jet::PROPERTY index, float value) override |
size_t | size_comp () const override |
void | clear_comp () override |
void | insert_comp (SRC iSRC, unsigned int compid) override |
void | insert_comp (Jet::SRC, unsigned int compid, bool) override |
void | insert_comp (TYPE_comp_vec &) override |
void | insert_comp (TYPE_comp_vec &, bool) override |
void | set_comp_sort_flag (bool f=false) override |
void | print_comp (std::ostream &os=std::cout, bool single_line=false) override |
size_t | num_comp (SRC iSRC=Jet::SRC::VOID) override |
std::vector< Jet::SRC > | comp_src_vec () override |
std::map< Jet::SRC, size_t > | comp_src_sizemap () override |
ITER_comp_vec | comp_begin () override |
ITER_comp_vec | comp_begin (Jet::SRC) override |
ITER_comp_vec | comp_end () override |
ITER_comp_vec | comp_end (Jet::SRC) override |
TYPE_comp_vec & | get_comp_vec () override |
void | Clear (Option_t *=nullptr) override |
Public Member Functions inherited from Jet | |
Jet () | |
~Jet () override | |
ClassDefOverride (Jet, 1) | |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Private Member Functions | |
void | ensure_sorted () |
bool | empty_comp () const override |
size_t | count_comp (SRC source) const override |
void | msg_dep_fn (const std::string &method_name) const |
bool | has_property (Jet::PROPERTY) const override |
void | print_property (std::ostream &) const override |
ConstIter | begin_comp () const override |
ConstIter | lower_bound_comp (SRC source) const override |
ConstIter | upper_bound_comp (SRC source) const override |
ConstIter | find (Jet::SRC source) const override |
ConstIter | end_comp () const override |
Iter | begin_comp () override |
Iter | lower_bound_comp (SRC source) override |
Iter | upper_bound_comp (SRC source) override |
Iter | find (SRC source) override |
Iter | end_comp () override |
size_t | erase_comp (Jet::SRC) override |
void | erase_comp (Iter) override |
void | erase_comp (Iter, Iter) override |
ClassDefOverride (Jetv2, 1) | |
Private Attributes | |
unsigned int | _id = ~0x0 |
unique identifier within container | |
bool | _is_sorted { false } |
std::array< float, 3 > | _mom {{ NAN, NAN, NAN}} |
jet momentum vector (px,py,pz) | |
float | _e = NAN |
jet energy | |
std::vector< std::pair < Jet::SRC, unsigned int > > | _comp_ids |
source id -> component id | |
std::vector< float > | _properties {} |
Definition at line 26 of file Jetv2.h.
View newest version in sPHENIX GitHub at line 26 of file Jetv2.h
|
default |
Jetv2::Jetv2 | ( | unsigned int | n_prop | ) |
|
overrideprivatevirtual |
Reimplemented from Jet.
Definition at line 228 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 228 of file Jetv2.cc
References Jet::begin_comp(), and msg_dep_fn().
|
overrideprivatevirtual |
Reimplemented from Jet.
Definition at line 253 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 253 of file Jetv2.cc
References Jet::begin_comp(), and msg_dep_fn().
|
private |
|
inlineoverride |
|
inlineoverridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
Reimplemented from Jet.
Definition at line 110 of file Jetv2.h.
View newest version in sPHENIX GitHub at line 110 of file Jetv2.h
References _comp_ids.
Referenced by comp_src_sizemap(), comp_src_vec(), num_comp(), and print_comp().
|
overridevirtual |
|
inlineoverridevirtual |
Reimplemented from Jet.
Definition at line 112 of file Jetv2.h.
View newest version in sPHENIX GitHub at line 112 of file Jetv2.h
References _comp_ids.
Referenced by comp_src_sizemap(), comp_src_vec(), num_comp(), and print_comp().
|
overridevirtual |
|
overridevirtual |
Reimplemented from Jet.
Definition at line 66 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 66 of file Jetv2.cc
References comp_begin(), and comp_end().
|
overridevirtual |
Reimplemented from Jet.
Definition at line 51 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 51 of file Jetv2.cc
References comp_begin(), comp_end(), and vec.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from Jet.
Definition at line 248 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 248 of file Jetv2.cc
References Jet::end_comp(), and msg_dep_fn().
|
overrideprivatevirtual |
Reimplemented from Jet.
Definition at line 273 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 273 of file Jetv2.cc
References Jet::end_comp(), and msg_dep_fn().
|
private |
Definition at line 176 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 176 of file Jetv2.cc
References _comp_ids, _is_sorted, and Acts::Experimental::detail::BlueprintHelper::sort().
Referenced by comp_begin(), and comp_end().
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from Jet.
Definition at line 243 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 243 of file Jetv2.cc
References Jet::find(), and msg_dep_fn().
Reimplemented from Jet.
Definition at line 268 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 268 of file Jetv2.cc
References Jet::find(), and msg_dep_fn().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from Jet.
Definition at line 75 of file Jetv2.h.
View newest version in sPHENIX GitHub at line 75 of file Jetv2.h
References _e.
Referenced by get_et(), get_mass2(), and identify().
|
overridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from Jet.
Definition at line 72 of file Jetv2.h.
View newest version in sPHENIX GitHub at line 72 of file Jetv2.h
References _mom.
Referenced by get_eta(), get_mass2(), get_p(), and identify().
|
overrideprivatevirtual |
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from Jet.
Definition at line 22 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 22 of file Jetv2.cc
References _comp_ids, _properties, get_e(), get_id(), get_px(), get_py(), and get_pz().
|
overridevirtual |
Reimplemented from Jet.
Definition at line 157 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 157 of file Jetv2.cc
References _comp_ids, and _is_sorted.
Referenced by JetProbeMaker::process_event().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overrideprivatevirtual |
Reimplemented from Jet.
Definition at line 233 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 233 of file Jetv2.cc
References Jet::lower_bound_comp(), and msg_dep_fn().
Reimplemented from Jet.
Definition at line 258 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 258 of file Jetv2.cc
References Jet::lower_bound_comp(), and msg_dep_fn().
|
private |
Definition at line 196 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 196 of file Jetv2.cc
Referenced by begin_comp(), count_comp(), empty_comp(), end_comp(), erase_comp(), find(), has_property(), lower_bound_comp(), print_property(), and upper_bound_comp().
|
overridevirtual |
Reimplemented from Jet.
Definition at line 151 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 151 of file Jetv2.cc
References comp_begin(), and comp_end().
|
overridevirtual |
Reimplemented from Jet.
Definition at line 41 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 41 of file Jetv2.cc
References comp_begin(), and comp_end().
|
overrideprivatevirtual |
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 82 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 82 of file Jetv2.cc
References _comp_ids, _e, _id, _mom, _properties, parse_cmake_options::begin, and end.
Referenced by Clear().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from Jet.
Definition at line 76 of file Jetv2.h.
View newest version in sPHENIX GitHub at line 76 of file Jetv2.h
References _e, and Acts::UnitConstants::e.
Referenced by JetProbeMaker::process_event().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overrideprivatevirtual |
Reimplemented from Jet.
Definition at line 238 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 238 of file Jetv2.cc
References msg_dep_fn(), and Jet::upper_bound_comp().
Reimplemented from Jet.
Definition at line 263 of file Jetv2.cc.
View newest version in sPHENIX GitHub at line 263 of file Jetv2.cc
References msg_dep_fn(), and Jet::upper_bound_comp().
|
private |
source id -> component id
Definition at line 132 of file Jetv2.h.
View newest version in sPHENIX GitHub at line 132 of file Jetv2.h
Referenced by clear_comp(), comp_begin(), comp_end(), ensure_sorted(), get_comp_vec(), identify(), insert_comp(), isValid(), Reset(), and size_comp().
|
private |
|
private |
|
private |
Definition at line 122 of file Jetv2.h.
View newest version in sPHENIX GitHub at line 122 of file Jetv2.h
Referenced by ensure_sorted(), insert_comp(), and set_comp_sort_flag().
|
private |
|
private |
Definition at line 134 of file Jetv2.h.
View newest version in sPHENIX GitHub at line 134 of file Jetv2.h
Referenced by get_property(), get_property_vec(), identify(), Reset(), resize_properties(), set_property(), and size_properties().