EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Compares reconstructed showers to truth particles. More...
#include <fun4all_eicdetectors/blob/master/analysis/eicevaluator/FarForwardEvaluator.h>
Public Member Functions | |
FarForwardEvaluator (const std::string &name="FARFORWARDEVALUATOR", const std::string &ffrname="FFR", const std::string &filename="g4eval_ffr.root", const std::string &ip_str="IP6") | |
~FarForwardEvaluator () override | |
int | Init (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
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 Member Functions | |
int | process_g4hits_ZDC (PHCompositeNode *) |
int | process_g4hits_RomanPots (PHCompositeNode *) |
int | process_g4hits_B0 (PHCompositeNode *) |
Private Attributes | |
std::string | _ffrname |
std::string | _ip_str |
TNtuple * | g4hitntuple |
TNtuple * | g4b0hitntuple |
TNtuple * | g4rphitntuple |
TH2F * | h2_ZDC_XY |
TH2F * | h2_ZDC_XY_double |
TH2F * | h2_B0_XY |
TH2F * | h2_RP_XY |
std::vector< TH2F * > | h2_RP_layers_XY |
std::vector< TH2F * > | h2_RP_virtlayers_XY |
Fun4AllHistoManager * | hm |
unsigned int | _ievent |
unsigned int | _towerID_debug |
int | _ieta_debug |
int | _iphi_debug |
float | _eta_debug |
float | _phi_debug |
float | _e_debug |
float | _x_debug |
float | _y_debug |
float | _z_debug |
std::set< int > | _truth_trace_embed_flags |
bool | _do_gpoint_eval |
bool | _do_gshower_eval |
bool | _do_tower_eval |
bool | _do_cluster_eval |
TNtuple * | _ntp_gpoint |
TNtuple * | _ntp_gshower |
TNtuple * | _ntp_tower |
TTree * | _tower_debug |
TNtuple * | _ntp_cluster |
int | ZDC_hit |
int | event_itt |
std::string | _filename |
TFile * | _tfile |
TH1F * | h1_E_dep_smeared |
TH1F * | h1_E_dep |
TH1F * | h1_B0_E_dep |
TH1F * | h1_B0_E |
TH1F * | h1_B0_E_abs |
TH1F * | h1_RP_E_dep |
TH1F * | h1_RP_E_abs |
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 = INT_MAX - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Compares reconstructed showers to truth particles.
Plan: This module will trace the reconstructed clusters back to the greatest contributor Monte Carlo particle and then test one against the other.
Definition at line 42 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 42 of file FarForwardEvaluator.h
FarForwardEvaluator::FarForwardEvaluator | ( | const std::string & | name = "FARFORWARDEVALUATOR" , |
const std::string & | ffrname = "FFR" , |
||
const std::string & | filename = "g4eval_ffr.root" , |
||
const std::string & | ip_str = "IP6" |
||
) |
Definition at line 45 of file FarForwardEvaluator.cc.
View newest version in sPHENIX GitHub at line 45 of file FarForwardEvaluator.cc
|
inlineoverride |
Definition at line 49 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 49 of file FarForwardEvaluator.h
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 404 of file FarForwardEvaluator.cc.
View newest version in sPHENIX GitHub at line 404 of file FarForwardEvaluator.cc
References _tfile, Fun4AllReturnCodes::EVENT_OK, g4b0hitntuple, g4hitntuple, and g4rphitntuple.
|
overridevirtual |
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 97 of file FarForwardEvaluator.cc.
View newest version in sPHENIX GitHub at line 97 of file FarForwardEvaluator.cc
References _do_cluster_eval, _do_gpoint_eval, _do_gshower_eval, _do_tower_eval, _e_debug, _eta_debug, _filename, _ieta_debug, _ievent, _ip_str, _iphi_debug, _ntp_cluster, _ntp_gpoint, _ntp_gshower, _ntp_tower, _phi_debug, _tfile, _tower_debug, _towerID_debug, _x_debug, _y_debug, _z_debug, event_itt, Fun4AllReturnCodes::EVENT_OK, g4b0hitntuple, g4hitntuple, g4rphitntuple, h1_B0_E, h1_B0_E_abs, h1_B0_E_dep, h1_E_dep, h1_E_dep_smeared, h1_RP_E_abs, h1_RP_E_dep, h2_B0_XY, h2_RP_layers_XY, h2_RP_virtlayers_XY, h2_RP_XY, h2_ZDC_XY, h2_ZDC_XY_double, hm, G4TTL::layer, and Fun4AllBase::Name().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 212 of file FarForwardEvaluator.cc.
View newest version in sPHENIX GitHub at line 212 of file FarForwardEvaluator.cc
References event_itt, Fun4AllReturnCodes::EVENT_OK, process_g4hits_B0(), process_g4hits_RomanPots(), process_g4hits_ZDC(), and ZDC_hit.
|
private |
Definition at line 359 of file FarForwardEvaluator.cc.
View newest version in sPHENIX GitHub at line 359 of file FarForwardEvaluator.cc
References Fun4AllReturnCodes::EVENT_OK, g4b0hitntuple, PHG4HitContainer::getHits(), h1_B0_E, h1_B0_E_abs, h1_B0_E_dep, and h2_B0_XY.
Referenced by process_event().
|
private |
Definition at line 298 of file FarForwardEvaluator.cc.
View newest version in sPHENIX GitHub at line 298 of file FarForwardEvaluator.cc
References Fun4AllReturnCodes::EVENT_OK, g4rphitntuple, PHG4HitContainer::getHits(), h1_RP_E_abs, h1_RP_E_dep, h2_RP_layers_XY, h2_RP_virtlayers_XY, and h2_RP_XY.
Referenced by process_event().
|
private |
Definition at line 232 of file FarForwardEvaluator.cc.
View newest version in sPHENIX GitHub at line 232 of file FarForwardEvaluator.cc
References _ip_str, Fun4AllReturnCodes::EVENT_OK, g4hitntuple, PHG4HitContainer::getHits(), h1_E_dep, h1_E_dep_smeared, h2_ZDC_XY, h2_ZDC_XY_double, and ZDC_hit.
Referenced by process_event().
|
private |
Definition at line 106 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 106 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 103 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 103 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 104 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 104 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 105 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 105 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 87 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 87 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 85 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 85 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 56 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 56 of file FarForwardEvaluator.h
|
private |
Definition at line 118 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 118 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 83 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 83 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 79 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 79 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 57 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 57 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_ZDC().
|
private |
Definition at line 84 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 84 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 112 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 112 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 108 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 108 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 109 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 109 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 110 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 110 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 86 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 86 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 119 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 119 of file FarForwardEvaluator.h
|
private |
Definition at line 111 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 111 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 82 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 82 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 92 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 92 of file FarForwardEvaluator.h
|
private |
Definition at line 88 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 88 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 89 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 89 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 90 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 90 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 115 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 115 of file FarForwardEvaluator.h
Referenced by Init(), and process_event().
|
private |
Definition at line 63 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 63 of file FarForwardEvaluator.h
Referenced by End(), Init(), and process_g4hits_B0().
|
private |
Definition at line 62 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 62 of file FarForwardEvaluator.h
Referenced by End(), Init(), and process_g4hits_ZDC().
|
private |
Definition at line 64 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 64 of file FarForwardEvaluator.h
Referenced by End(), Init(), and process_g4hits_RomanPots().
|
private |
Definition at line 129 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 129 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_B0().
|
private |
Definition at line 130 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 130 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_B0().
|
private |
Definition at line 128 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 128 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_B0().
|
private |
Definition at line 127 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 127 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_ZDC().
|
private |
Definition at line 126 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 126 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_ZDC().
|
private |
Definition at line 132 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 132 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_RomanPots().
|
private |
Definition at line 131 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 131 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_RomanPots().
|
private |
Definition at line 70 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 70 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_B0().
|
private |
Definition at line 74 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 74 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_RomanPots().
|
private |
Definition at line 75 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 75 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_RomanPots().
|
private |
Definition at line 72 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 72 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_RomanPots().
|
private |
Definition at line 67 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 67 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_ZDC().
|
private |
Definition at line 68 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 68 of file FarForwardEvaluator.h
Referenced by Init(), and process_g4hits_ZDC().
|
private |
Definition at line 77 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 77 of file FarForwardEvaluator.h
Referenced by Init().
|
private |
Definition at line 114 of file FarForwardEvaluator.h.
View newest version in sPHENIX GitHub at line 114 of file FarForwardEvaluator.h
Referenced by process_event(), and process_g4hits_ZDC().