Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/MvtxTelescope/AnaMvtxTB2019/AnaMvtxTestBeam2019.h>
Public Member Functions | |
AnaMvtxTestBeam2019 (const std::string &name="AnaMvtxTestBeam2019", const std::string &ofName="out.root") | |
virtual | ~AnaMvtxTestBeam2019 () |
int | Init (PHCompositeNode *) |
int | InitRun (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
MvtxStandaloneTracking * | getStandaloneTracking () |
void | set_out_filename (const char *_fname) |
void | set_do_tracking (bool _do) |
void | set_ref_align_stave (int _ref_stave) |
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 | GetNodes (PHCompositeNode *) |
double | CalcSlope (double x0, double y0, double x1, double y1) |
Get all nodes. | |
double | CalcIntecept (double x0, double y0, double m) |
double | CalcProjection (double x, double m, double b) |
Private Attributes | |
TrkrHitSetContainerv1 * | m_hits |
TrkrClusterContainerv1 * | m_clusters |
TList * | m_lout_clusterQA |
TList * | m_lout_tracking |
TH1D * | h1d_nevents |
TH1D * | h1d_hit_layer |
number of events | |
TH1D * | h1d_clu_layer |
number of hits per layers | |
TH1D * | h1d_clu_map |
number of clusters per layers | |
TH2F * | h2f_hit_map [NLAYER] |
cluster map | |
TH2F * | h2f_clu_xz [NLAYER] |
TH1D * | h1d_clu_mean_dx [NLAYER] |
TH1D * | h1d_clu_mean_dz [NLAYER] |
TH1D * | h1d_clu_size [NLAYER] |
TH1D * | h1d_clu_size_phi [NLAYER] |
TH1D * | h1d_clu_size_z [NLAYER] |
TH1D * | htrk |
TH1D * | htrk_clus |
TH1D * | htrk_dz [NLAYER] |
TH1D * | htrk_dx [NLAYER] |
TH1D * | htrk_chi2xy |
TH1D * | htrk_chi2zy |
TH1D * | htrk_cut |
TH1D * | htrk_cut_clus |
TH1D * | htrk_cut_dx [NLAYER] |
TH1D * | htrk_cut_dz [NLAYER] |
TH1D * | htrk_cut_chi2xy |
TH1D * | htrk_cut_chi2zy |
std::string | m_foutname |
bool | do_tracking |
int | m_ievent |
int | m_ref_align_stave |
MvtxStandaloneTracking * | m_mvtxtracking |
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 39 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 39 of file AnaMvtxTestBeam2019.h
AnaMvtxTestBeam2019::AnaMvtxTestBeam2019 | ( | const std::string & | name = "AnaMvtxTestBeam2019" , |
const std::string & | ofName = "out.root" |
||
) |
Definition at line 47 of file AnaMvtxTestBeam2019.cc.
View newest version in sPHENIX GitHub at line 47 of file AnaMvtxTestBeam2019.cc
References h1d_clu_layer, h1d_clu_map, h1d_clu_mean_dx, h1d_clu_mean_dz, h1d_clu_size, h1d_clu_size_phi, h1d_clu_size_z, h1d_hit_layer, h1d_nevents, h2f_clu_xz, h2f_hit_map, htrk, htrk_chi2xy, htrk_chi2zy, htrk_clus, htrk_cut, htrk_cut_chi2xy, htrk_cut_chi2zy, htrk_cut_clus, htrk_cut_dx, htrk_cut_dz, htrk_dx, htrk_dz, m_mvtxtracking, and NLAYER.
|
inlinevirtual |
Definition at line 46 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 46 of file AnaMvtxTestBeam2019.h
References m_mvtxtracking.
Definition at line 493 of file AnaMvtxTestBeam2019.cc.
View newest version in sPHENIX GitHub at line 493 of file AnaMvtxTestBeam2019.cc
References Acts::UnitConstants::m.
Definition at line 504 of file AnaMvtxTestBeam2019.cc.
View newest version in sPHENIX GitHub at line 504 of file AnaMvtxTestBeam2019.cc
References KFPMath::b.
Get all nodes.
Definition at line 482 of file AnaMvtxTestBeam2019.cc.
View newest version in sPHENIX GitHub at line 482 of file AnaMvtxTestBeam2019.cc
References x0.
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 429 of file AnaMvtxTestBeam2019.cc.
View newest version in sPHENIX GitHub at line 429 of file AnaMvtxTestBeam2019.cc
References cd(), PHTFileServer::cd(), PHTFileServer::close(), Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), m_foutname, m_lout_clusterQA, m_lout_tracking, PHTFileServer::open(), and PHTFileServer::write().
|
private |
Definition at line 456 of file AnaMvtxTestBeam2019.cc.
View newest version in sPHENIX GitHub at line 456 of file AnaMvtxTestBeam2019.cc
References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, m_clusters, m_hits, and PHWHERE.
Referenced by process_event().
|
inline |
Definition at line 57 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 57 of file AnaMvtxTestBeam2019.h
References m_mvtxtracking.
Referenced by Fun4All_TestBeam().
|
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 96 of file AnaMvtxTestBeam2019.cc.
View newest version in sPHENIX GitHub at line 96 of file AnaMvtxTestBeam2019.cc
References chipColor, do_tracking, Fun4AllReturnCodes::EVENT_OK, h1d_clu_layer, h1d_clu_map, h1d_clu_mean_dx, h1d_clu_mean_dz, h1d_clu_size, h1d_clu_size_phi, h1d_clu_size_z, h1d_hit_layer, h1d_nevents, h2f_clu_xz, h2f_hit_map, htrk, htrk_chi2xy, htrk_chi2zy, htrk_clus, htrk_cut, htrk_cut_chi2xy, htrk_cut_chi2zy, htrk_cut_clus, htrk_cut_dx, htrk_cut_dz, htrk_dx, htrk_dz, m_lout_clusterQA, m_lout_tracking, NCOL, NLAYER, and NROW.
|
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 228 of file AnaMvtxTestBeam2019.cc.
View newest version in sPHENIX GitHub at line 228 of file AnaMvtxTestBeam2019.cc
References Fun4AllReturnCodes::EVENT_OK, and m_ievent.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 239 of file AnaMvtxTestBeam2019.cc.
View newest version in sPHENIX GitHub at line 239 of file AnaMvtxTestBeam2019.cc
References col, do_tracking, Fun4AllReturnCodes::EVENT_OK, MvtxDefs::getChipId(), TrkrClusterContainerv1::getClusters(), MvtxDefs::getCol(), TrkrHitSetContainerv1::getHitSets(), TrkrDefs::getLayer(), GetNodes(), MvtxDefs::getRow(), MvtxDefs::getStaveId(), h1d_clu_layer, h1d_clu_map, h1d_clu_mean_dx, h1d_clu_mean_dz, h1d_clu_size, h1d_clu_size_phi, h1d_clu_size_z, h1d_hit_layer, h1d_nevents, h2f_clu_xz, h2f_hit_map, htrk, htrk_chi2xy, htrk_chi2zy, htrk_clus, htrk_cut, htrk_cut_chi2xy, htrk_cut_chi2zy, htrk_cut_clus, htrk_cut_dx, htrk_cut_dz, htrk_dx, htrk_dz, i, j, layer, m_clusters, m_hits, m_ievent, m_mvtxtracking, m_ref_align_stave, TrkrDefs::mvtxId, SegmentationAlpide::NCols, NLAYER, PHWHERE, SegmentationAlpide::PitchCol, SegmentationAlpide::PitchRow, MvtxStandaloneTracking::RunTracking(), TrkrClusterContainerv1::size(), Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_A_LOT, and Fun4AllBase::VERBOSITY_MORE.
|
inline |
Definition at line 61 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 61 of file AnaMvtxTestBeam2019.h
References do_tracking.
Referenced by Fun4All_TestBeam().
|
inline |
Definition at line 60 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 60 of file AnaMvtxTestBeam2019.h
References m_foutname.
Referenced by Fun4All_TestBeam().
|
inline |
Definition at line 63 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 63 of file AnaMvtxTestBeam2019.h
References m_ref_align_stave.
Referenced by Fun4All_TestBeam().
|
private |
Definition at line 112 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 112 of file AnaMvtxTestBeam2019.h
Referenced by Init(), process_event(), and set_do_tracking().
|
private |
number of hits per layers
Definition at line 83 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 83 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
number of clusters per layers
Definition at line 84 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 84 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 88 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 88 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 89 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 89 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 90 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 90 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 91 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 91 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 92 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 92 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
number of events
Definition at line 82 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 82 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 81 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 81 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 86 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 86 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
cluster map
Definition at line 85 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 85 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 94 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 94 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 98 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 98 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 99 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 99 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 95 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 95 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 101 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 101 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 105 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 105 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 106 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 106 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 102 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 102 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 103 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 103 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 104 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 104 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 97 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 97 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 96 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 96 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().
|
private |
Definition at line 75 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 75 of file AnaMvtxTestBeam2019.h
Referenced by GetNodes(), and process_event().
|
private |
Definition at line 109 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 109 of file AnaMvtxTestBeam2019.h
Referenced by End(), and set_out_filename().
|
private |
Definition at line 74 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 74 of file AnaMvtxTestBeam2019.h
Referenced by GetNodes(), and process_event().
|
private |
Definition at line 114 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 114 of file AnaMvtxTestBeam2019.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 78 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 78 of file AnaMvtxTestBeam2019.h
|
private |
Definition at line 79 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 79 of file AnaMvtxTestBeam2019.h
|
private |
Definition at line 117 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 117 of file AnaMvtxTestBeam2019.h
Referenced by AnaMvtxTestBeam2019(), getStandaloneTracking(), process_event(), and ~AnaMvtxTestBeam2019().
|
private |
Definition at line 115 of file AnaMvtxTestBeam2019.h.
View newest version in sPHENIX GitHub at line 115 of file AnaMvtxTestBeam2019.h
Referenced by process_event(), and set_ref_align_stave().