Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/EICAnalysis/ExclusiveReco.h>
Public Member Functions | |
ExclusiveReco (std::string filename) | |
int | Init (PHCompositeNode *) |
int | InitRun (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
void | set_beam_energies (float beam_electron, float beam_proton) |
void | set_do_process_dvmp (bool select) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
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 | AddInvariantMassInformation () |
Private Attributes | |
const float | _mproton |
bool | _verbose |
bool | _save_towers |
bool | _save_tracks |
bool | _do_process_dvmp |
int | _ievent |
int | _total_pass |
std::string | _filename |
TFile * | _tfile |
TTree * | _tree_invariant_mass |
TTree * | _tree_event_reco |
TTree * | _tree_event_truth |
float | _beam_electron_ptotal |
float | _beam_hadron_ptotal |
TrackProjectorPlaneECAL * | _trackproj |
PHCompositeNode * | _topNode |
std::vector< float > | true_eta |
std::vector< float > | true_phi |
std::vector< float > | true_ptotal |
std::vector< int > | true_pid |
std::vector< bool > | is_scattered_lepton |
std::vector< float > | reco_eta |
std::vector< float > | reco_phi |
std::vector< float > | reco_ptotal |
std::vector< float > | reco_cluster_e |
std::vector< int > | reco_charge |
std::vector< bool > | reco_is_scattered_lepton |
std::vector< float > | _vect1 |
std::vector< float > | _vect2 |
std::vector< float > | _vect3 |
std::vector< float > | _vect4 |
std::vector< float > | _vect5 |
std::vector< float > | _vect6 |
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 32 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 32 of file ExclusiveReco.h
ExclusiveReco::ExclusiveReco | ( | std::string | filename | ) |
Definition at line 36 of file ExclusiveReco.C.
View newest version in sPHENIX GitHub at line 36 of file ExclusiveReco.C
|
private |
Definition at line 119 of file ExclusiveReco.C.
View newest version in sPHENIX GitHub at line 119 of file ExclusiveReco.C
References _topNode, _trackproj, _tree_event_reco, _tree_event_truth, _tree_invariant_mass, _vect1, _vect2, _vect3, _vect4, _vect5, _vect6, KFPMath::b, DVMPHelper::calculateInvariantMass_1(), DVMPHelper::calculateInvariantMass_2(), DVMPHelper::calculateInvariantMass_3(), DVMPHelper::calculateInvariantMass_4(), DVMPHelper::calculateInvariantMass_5(), DVMPHelper::calculateInvariantMass_6(), RawTowerDefs::convert_caloid_to_name(), RawTowerDefs::decode_caloid(), TruthTrackerHepMC::FindScatteredLepton(), PHHepMCGenEventMap::get(), TrackProjectorPlaneECAL::get_best_track(), SvtxTrack::get_charge(), TrackProjectorPlaneECAL::get_detector_from_cluster(), RawCluster::get_energy(), SvtxTrack::get_eta(), SvtxTrack::get_p(), SvtxTrack::get_phi(), RawCluster::get_towers(), RawClusterContainer::getCluster(), PHHepMCGenEvent::getEvent(), i, PHHepMCGenEventMap::identify(), ambiguity_solver_full_chain::idx, is_scattered_lepton, k, merge_hashes::p, PHWHERE, reco_charge, reco_cluster_e, reco_eta, reco_is_scattered_lepton, reco_phi, reco_ptotal, TrackProjectorPlaneECAL::set_detector(), TruthTrackerHepMC::set_hepmc_geneventmap(), RawClusterContainer::size(), true_eta, true_phi, true_pid, and true_ptotal.
Referenced by process_event().
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 287 of file ExclusiveReco.C.
View newest version in sPHENIX GitHub at line 287 of file ExclusiveReco.C
References _tfile, _tree_event_reco, _tree_event_truth, and _tree_invariant_mass.
|
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 55 of file ExclusiveReco.C.
View newest version in sPHENIX GitHub at line 55 of file ExclusiveReco.C
References _filename, _ievent, _tfile, _topNode, _tree_event_reco, _tree_event_truth, _tree_invariant_mass, _vect1, _vect2, _vect3, _vect4, _vect5, _vect6, is_scattered_lepton, reco_charge, reco_cluster_e, reco_eta, reco_is_scattered_lepton, reco_phi, reco_ptotal, true_eta, true_phi, true_pid, and true_ptotal.
|
virtual |
Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.
Reimplemented from SubsysReco.
Definition at line 98 of file ExclusiveReco.C.
View newest version in sPHENIX GitHub at line 98 of file ExclusiveReco.C
References _trackproj.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 105 of file ExclusiveReco.C.
View newest version in sPHENIX GitHub at line 105 of file ExclusiveReco.C
References _do_process_dvmp, _ievent, and AddInvariantMassInformation().
|
inline |
Definition at line 49 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 49 of file ExclusiveReco.h
References _beam_electron_ptotal, and _beam_hadron_ptotal.
|
inline |
Definition at line 56 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 56 of file ExclusiveReco.h
References _do_process_dvmp.
Referenced by Fun4All_EICAnalysis_Exclusive().
|
private |
Definition at line 89 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 89 of file ExclusiveReco.h
Referenced by set_beam_energies().
|
private |
Definition at line 90 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 90 of file ExclusiveReco.h
Referenced by set_beam_energies().
|
private |
Definition at line 71 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 71 of file ExclusiveReco.h
Referenced by process_event(), and set_do_process_dvmp().
|
private |
Definition at line 76 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 76 of file ExclusiveReco.h
Referenced by Init().
|
private |
Definition at line 73 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 73 of file ExclusiveReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 66 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 66 of file ExclusiveReco.h
|
private |
Definition at line 69 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 69 of file ExclusiveReco.h
|
private |
Definition at line 70 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 70 of file ExclusiveReco.h
|
private |
Definition at line 77 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 77 of file ExclusiveReco.h
|
private |
helper pointer to topNode
Definition at line 96 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 96 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 74 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 74 of file ExclusiveReco.h
|
private |
Definition at line 93 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 93 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and InitRun().
|
private |
Definition at line 83 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 83 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), End(), and Init().
|
private |
Definition at line 86 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 86 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), End(), and Init().
|
private |
Definition at line 80 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 80 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), End(), and Init().
|
private |
Definition at line 108 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 108 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 109 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 109 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 110 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 110 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 111 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 111 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 112 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 112 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 113 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 113 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 68 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 68 of file ExclusiveReco.h
|
private |
Definition at line 102 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 102 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 105 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 105 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 104 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 104 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 104 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 104 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 106 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 106 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 104 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 104 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 104 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 104 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 100 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 100 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 100 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 100 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 101 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 101 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().
|
private |
Definition at line 100 of file ExclusiveReco.h.
View newest version in sPHENIX GitHub at line 100 of file ExclusiveReco.h
Referenced by AddInvariantMassInformation(), and Init().