Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/MvtxTelescope/AnaMvtxPrototype1/AnaMvtxPrototype1.h>
Public Member Functions | |
AnaMvtxPrototype1 (const std::string &name="AnaMvtxPrototype1", const std::string &ofName="out.root") | |
int | Init (PHCompositeNode *) |
int | InitRun (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
void | MisalignLayer (int lyr, double dx, double dy, double dz) |
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) |
void | Misalign () |
void | PrintMisalign () |
Private Attributes | |
TrkrClusterContainer * | clusters_ |
std::string | _foutname |
TFile * | _f |
TH1D * | hlayer |
TH1D * | hsize [4] |
TH1D * | hsize_phi [4] |
TH1D * | hsize_z [4] |
TH2D * | hxz [4] |
TH1D * | hdx [4] |
TH1D * | hdz [4] |
TH1D * | htrk |
TH1D * | htrk_dx [4] |
TH1D * | htrk_dz [4] |
TH1D * | htrk_chi2xy |
TH1D * | htrk_chi2zy |
TH1D * | htrk_cut |
TH1D * | htrk_cut_dx [4] |
TH1D * | htrk_cut_dz [4] |
TH1D * | htrk_cut_chi2xy |
TH1D * | htrk_cut_chi2zy |
int | _ievent |
std::map< int, mis > | _misalign |
MvtxStandaloneTracking * | mvtxtracking_ |
map for misaligning clusters | |
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 43 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 43 of file AnaMvtxPrototype1.h
AnaMvtxPrototype1::AnaMvtxPrototype1 | ( | const std::string & | name = "AnaMvtxPrototype1" , |
const std::string & | ofName = "out.root" |
||
) |
Definition at line 47 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 47 of file AnaMvtxPrototype1.C
References hdx, hdz, hlayer, hsize, hsize_phi, hsize_z, hxz, mvtxtracking_, MvtxStandaloneTracking::SetWindowX(), MvtxStandaloneTracking::SetWindowZ(), and MvtxStandaloneTracking::Verbosity().
Definition at line 632 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 632 of file AnaMvtxPrototype1.C
References Acts::UnitConstants::m.
Referenced by process_event().
Definition at line 641 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 641 of file AnaMvtxPrototype1.C
References KFPMath::b.
Referenced by process_event().
Get all nodes.
Definition at line 623 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 623 of file AnaMvtxPrototype1.C
References x0.
Referenced by process_event().
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 589 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 589 of file AnaMvtxPrototype1.C
References _f, and PrintMisalign().
|
private |
Definition at line 603 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 603 of file AnaMvtxPrototype1.C
References _ievent, Fun4AllReturnCodes::ABORTEVENT, clusters_, Fun4AllReturnCodes::EVENT_OK, and PHWHERE.
Referenced by process_event().
|
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 73 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 73 of file AnaMvtxPrototype1.C
References _f, _foutname, hdx, hdz, hlayer, hsize, hsize_phi, hsize_z, htrk, htrk_chi2xy, htrk_chi2zy, htrk_cut, htrk_cut_chi2xy, htrk_cut_chi2zy, htrk_cut_dx, htrk_cut_dz, htrk_dx, htrk_dz, and hxz.
|
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 151 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 151 of file AnaMvtxPrototype1.C
References _ievent.
|
private |
Definition at line 664 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 664 of file AnaMvtxPrototype1.C
Misalign chip in x, y, z (pixel index)
Definition at line 650 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 650 of file AnaMvtxPrototype1.C
References _misalign, mis::dx, dy, mis::dy, mis::dz, and dz.
|
private |
Definition at line 744 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 744 of file AnaMvtxPrototype1.C
References _misalign, dz, and PHWHERE.
Referenced by End().
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 162 of file AnaMvtxPrototype1.C.
View newest version in sPHENIX GitHub at line 162 of file AnaMvtxPrototype1.C
References _ievent, _misalign, CalcIntecept(), CalcProjection(), CalcSlope(), clusters_, dy, dz, Fun4AllReturnCodes::EVENT_OK, GetNodes(), hdx, hdz, hlayer, hsize, hsize_phi, hsize_z, htrk, htrk_chi2xy, htrk_chi2zy, htrk_cut, htrk_cut_chi2xy, htrk_cut_chi2zy, htrk_cut_dx, htrk_cut_dz, htrk_dx, htrk_dz, hxz, i, j, mvtxtracking_, PHWHERE, MvtxStandaloneTracking::RunTracking(), TrkrClusterContainer::size(), verbosity, Fun4AllBase::VERBOSITY_MORE, ambiguity_solver_full_chain::x, x0, y, and physmon_track_finding_ttbar::z.
|
private |
Definition at line 81 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 81 of file AnaMvtxPrototype1.h
|
private |
Definition at line 80 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 80 of file AnaMvtxPrototype1.h
Referenced by Init().
|
private |
Definition at line 105 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 105 of file AnaMvtxPrototype1.h
Referenced by GetNodes(), InitRun(), and process_event().
|
private |
Definition at line 106 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 106 of file AnaMvtxPrototype1.h
Referenced by Misalign(), MisalignLayer(), PrintMisalign(), and process_event().
|
private |
Definition at line 74 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 74 of file AnaMvtxPrototype1.h
Referenced by GetNodes(), Misalign(), and process_event().
|
private |
Definition at line 88 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 88 of file AnaMvtxPrototype1.h
Referenced by AnaMvtxPrototype1(), Init(), and process_event().
|
private |
Definition at line 89 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 89 of file AnaMvtxPrototype1.h
Referenced by AnaMvtxPrototype1(), Init(), and process_event().
|
private |
Definition at line 83 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 83 of file AnaMvtxPrototype1.h
Referenced by AnaMvtxPrototype1(), Init(), and process_event().
|
private |
Definition at line 84 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 84 of file AnaMvtxPrototype1.h
Referenced by AnaMvtxPrototype1(), Init(), and process_event().
|
private |
Definition at line 85 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 85 of file AnaMvtxPrototype1.h
Referenced by AnaMvtxPrototype1(), Init(), and process_event().
|
private |
Definition at line 86 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 86 of file AnaMvtxPrototype1.h
Referenced by AnaMvtxPrototype1(), Init(), and process_event().
|
private |
Definition at line 91 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 91 of file AnaMvtxPrototype1.h
Referenced by Init(), and process_event().
|
private |
Definition at line 94 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 94 of file AnaMvtxPrototype1.h
Referenced by Init(), and process_event().
|
private |
Definition at line 95 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 95 of file AnaMvtxPrototype1.h
Referenced by Init(), and process_event().
|
private |
Definition at line 97 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 97 of file AnaMvtxPrototype1.h
Referenced by Init(), and process_event().
|
private |
Definition at line 100 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 100 of file AnaMvtxPrototype1.h
Referenced by Init(), and process_event().
|
private |
Definition at line 101 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 101 of file AnaMvtxPrototype1.h
Referenced by Init(), and process_event().
|
private |
Definition at line 98 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 98 of file AnaMvtxPrototype1.h
Referenced by Init(), and process_event().
|
private |
Definition at line 99 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 99 of file AnaMvtxPrototype1.h
Referenced by Init(), and process_event().
|
private |
Definition at line 92 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 92 of file AnaMvtxPrototype1.h
Referenced by Init(), and process_event().
|
private |
Definition at line 93 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 93 of file AnaMvtxPrototype1.h
Referenced by Init(), and process_event().
|
private |
Definition at line 87 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 87 of file AnaMvtxPrototype1.h
Referenced by AnaMvtxPrototype1(), Init(), and process_event().
|
private |
map for misaligning clusters
Definition at line 107 of file AnaMvtxPrototype1.h.
View newest version in sPHENIX GitHub at line 107 of file AnaMvtxPrototype1.h
Referenced by AnaMvtxPrototype1(), and process_event().