Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/MvtxTelescope/AnaMvtxTelescopeHits/AnaMvtxTelescopeHits.h>
Public Member Functions | |
AnaMvtxTelescopeHits (const std::string &name="AnaMvtxTelescopeHits", 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. | |
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 | |
SvtxClusterMap * | _clustermap |
std::string | _foutname |
TFile * | _f |
TH1D * | hlayer |
TH1D * | hsize_phi [4] |
TH1D * | hsize_z [4] |
TH2D * | hphiz [4] |
TH1D * | hdphi [4] |
TH1D * | hdz [4] |
int | _ievent |
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 44 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 44 of file AnaMvtxTelescopeHits.h
AnaMvtxTelescopeHits::AnaMvtxTelescopeHits | ( | const std::string & | name = "AnaMvtxTelescopeHits" , |
const std::string & | ofName = "out.root" |
||
) |
Definition at line 95 of file AnaMvtxTelescopeHits.C.
View newest version in sPHENIX GitHub at line 95 of file AnaMvtxTelescopeHits.C
References hdphi, hdz, hlayer, hphiz, hsize_phi, and hsize_z.
Definition at line 422 of file AnaMvtxTelescopeHits.C.
View newest version in sPHENIX GitHub at line 422 of file AnaMvtxTelescopeHits.C
References Acts::UnitConstants::m.
Referenced by process_event().
Definition at line 431 of file AnaMvtxTelescopeHits.C.
View newest version in sPHENIX GitHub at line 431 of file AnaMvtxTelescopeHits.C
References KFPMath::b.
Referenced by process_event().
Get all nodes.
Definition at line 413 of file AnaMvtxTelescopeHits.C.
View newest version in sPHENIX GitHub at line 413 of file AnaMvtxTelescopeHits.C
References x0.
Referenced by process_event().
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 383 of file AnaMvtxTelescopeHits.C.
View newest version in sPHENIX GitHub at line 383 of file AnaMvtxTelescopeHits.C
References _f.
|
private |
Definition at line 394 of file AnaMvtxTelescopeHits.C.
View newest version in sPHENIX GitHub at line 394 of file AnaMvtxTelescopeHits.C
References _clustermap, _ievent, Fun4AllReturnCodes::ABORTEVENT, 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 114 of file AnaMvtxTelescopeHits.C.
View newest version in sPHENIX GitHub at line 114 of file AnaMvtxTelescopeHits.C
References _f, _foutname, hdphi, hdz, hlayer, hphiz, hsize_phi, and hsize_z.
|
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 153 of file AnaMvtxTelescopeHits.C.
View newest version in sPHENIX GitHub at line 153 of file AnaMvtxTelescopeHits.C
References _ievent.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 175 of file AnaMvtxTelescopeHits.C.
View newest version in sPHENIX GitHub at line 175 of file AnaMvtxTelescopeHits.C
References _clustermap, _ievent, CalcIntecept(), CalcProjection(), CalcSlope(), INTTVtxZ::dphi, dz, Fun4AllReturnCodes::EVENT_OK, GetNodes(), hdphi, hdz, hlayer, hphiz, hsize_phi, hsize_z, gen_gtest_pred_impl::Iter(), ActsTests::PropagationDatasets::phi, physmon_track_finding_ttbar::r, r0, r3, verbosity, Fun4AllBase::VERBOSITY_MORE, and physmon_track_finding_ttbar::z.
|
private |
Definition at line 77 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 77 of file AnaMvtxTelescopeHits.h
Referenced by GetNodes(), and process_event().
|
private |
Definition at line 84 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 84 of file AnaMvtxTelescopeHits.h
|
private |
Definition at line 83 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 83 of file AnaMvtxTelescopeHits.h
Referenced by Init().
|
private |
Definition at line 95 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 95 of file AnaMvtxTelescopeHits.h
Referenced by GetNodes(), InitRun(), and process_event().
|
private |
Definition at line 90 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 90 of file AnaMvtxTelescopeHits.h
Referenced by AnaMvtxTelescopeHits(), Init(), and process_event().
|
private |
Definition at line 91 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 91 of file AnaMvtxTelescopeHits.h
Referenced by AnaMvtxTelescopeHits(), Init(), and process_event().
|
private |
Definition at line 86 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 86 of file AnaMvtxTelescopeHits.h
Referenced by AnaMvtxTelescopeHits(), Init(), and process_event().
|
private |
Definition at line 89 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 89 of file AnaMvtxTelescopeHits.h
Referenced by AnaMvtxTelescopeHits(), Init(), and process_event().
|
private |
Definition at line 87 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 87 of file AnaMvtxTelescopeHits.h
Referenced by AnaMvtxTelescopeHits(), Init(), and process_event().
|
private |
Definition at line 88 of file AnaMvtxTelescopeHits.h.
View newest version in sPHENIX GitHub at line 88 of file AnaMvtxTelescopeHits.h
Referenced by AnaMvtxTelescopeHits(), Init(), and process_event().