Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackingPerformanceCheck Class Reference

#include <analysis/blob/master/TPC/TrackingPerformance/TrackingPerformanceCheck.h>

+ Inheritance diagram for TrackingPerformanceCheck:
+ Collaboration diagram for TrackingPerformanceCheck:

Public Member Functions

 TrackingPerformanceCheck (const std::string &name="TrackingPerformanceCheck")
 
int Init (PHCompositeNode *topNode)
 
int process_event (PHCompositeNode *topNode)
 
int End (PHCompositeNode *topNode)
 Called at the end of all processing.
 
void SetLayerTPCBegins (int v)
 
void SetReconstructableTPCHits (int v)
 
void SetFairClustersContribution (int v)
 
void SetGoodTrackChi2NDF (float v)
 
void SetGoodTrackTPCClusters (int v)
 
- 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 Attributes

std::map< int, int > fEmbedded
 
int fLayerTPCBegins
 
int fReconstructable_TPCHits
 
int fFair_ClustersContribution
 
float fGTrack_Chi2NDF
 
int fGTrack_TPCClusters
 
TH1F * fHNEvents
 
TH1F * fHTN [5]
 
TH1F * fHTPt [5]
 
TH1F * fHTEta [5]
 
TH1F * fHTPhi [5]
 
TH1F * fHTNHits [5]
 
TH2F * fHTChi2 [5]
 
TH2F * fHTDca2D [5]
 
TH2F * fHTNClustersContribution [5]
 
TH2F * fHTPtResolution [5]
 
TH2F * fHTPtResolution2 [5]
 
TH2F * fHTPhiResolution [5]
 
TH2F * fHTEtaResolution [5]
 
TH1F * fHRN [4]
 
TH1F * fHRPt [4]
 
TH1F * fHREta [4]
 
TH1F * fHRPhi [4]
 
TH2F * fHRChi2 [4]
 
TH2F * fHRTPCClus [4]
 
TH2F * fHRDca2D [4]
 
TH2F * fHRNClustersContribution [4]
 
TH2F * fHRPtResolution [4]
 
TH2F * fHRPtResolution2 [4]
 
TH2F * fHRPhiResolution [4]
 
TH2F * fHREtaResolution [4]
 
TH1F * fHNVertexes
 

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")
 

Detailed Description

Definition at line 15 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 15 of file TrackingPerformanceCheck.h

Constructor & Destructor Documentation

TrackingPerformanceCheck::TrackingPerformanceCheck ( const std::string &  name = "TrackingPerformanceCheck")

Definition at line 33 of file TrackingPerformanceCheck.C.

View newest version in sPHENIX GitHub at line 33 of file TrackingPerformanceCheck.C

Member Function Documentation

int TrackingPerformanceCheck::End ( PHCompositeNode )
virtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 411 of file TrackingPerformanceCheck.C.

View newest version in sPHENIX GitHub at line 411 of file TrackingPerformanceCheck.C

int TrackingPerformanceCheck::Init ( PHCompositeNode )
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 43 of file TrackingPerformanceCheck.C.

View newest version in sPHENIX GitHub at line 43 of file TrackingPerformanceCheck.C

References Data, fHNEvents, fHNVertexes, fHRChi2, fHRDca2D, fHREta, fHREtaResolution, fHRN, fHRNClustersContribution, fHRPhi, fHRPhiResolution, fHRPt, fHRPtResolution, fHRPtResolution2, fHRTPCClus, fHTChi2, fHTDca2D, fHTEta, fHTEtaResolution, fHTN, fHTNClustersContribution, fHTNHits, fHTPhi, fHTPhiResolution, fHTPt, fHTPtResolution, fHTPtResolution2, i, Fun4AllServer::instance(), Fun4AllServer::registerHisto(), and TwoPi.

+ Here is the call graph for this function:

int TrackingPerformanceCheck::process_event ( PHCompositeNode )
virtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

Definition at line 131 of file TrackingPerformanceCheck.C.

View newest version in sPHENIX GitHub at line 131 of file TrackingPerformanceCheck.C

References SvtxTruthEval::all_truth_hits(), SvtxTrack::begin_clusters(), SvtxTrackEval::best_track_from(), SvtxTrack::end_clusters(), eta, fEmbedded, fFair_ClustersContribution, fGTrack_Chi2NDF, fGTrack_TPCClusters, fHNEvents, fHNVertexes, fHRChi2, fHRDca2D, fHREta, fHREtaResolution, fHRN, fHRNClustersContribution, fHRPhi, fHRPhiResolution, fHRPt, fHRPtResolution, fHRPtResolution2, fHRTPCClus, fHTChi2, fHTDca2D, fHTEta, fHTEtaResolution, fHTN, fHTNClustersContribution, fHTNHits, fHTPhi, fHTPhiResolution, fHTPt, fHTPtResolution, fHTPtResolution2, fLayerTPCBegins, fReconstructable_TPCHits, SvtxTrack::get_chisq(), SvtxTrack::get_dca2d(), PHG4Hit::get_layer(), SvtxTrackEval::get_nclusters_contribution(), SvtxTrack::get_ndf(), PHG4Particle::get_px(), SvtxTrack::get_px(), PHG4Particle::get_py(), SvtxTrack::get_py(), PHG4Particle::get_pz(), SvtxTrack::get_pz(), SvtxEvalStack::get_track_eval(), PHG4Particle::get_track_id(), SvtxEvalStack::get_truth_eval(), PHG4TruthInfoContainer::GetEmbeddedTrkIds(), PHG4TruthInfoContainer::GetParticleRange(), i, testing::internal::Log(), SvtxTrackEval::max_truth_particle_by_nclusters(), merge_hashes::p, ActsTests::PropagationDatasets::phi, PHWHERE, physmon_track_finding_ttbar::pt, rdca2d, rpt, rpx, rpy, rpz, and tid.

+ Here is the call graph for this function:

void TrackingPerformanceCheck::SetFairClustersContribution ( int  v)
inline

Definition at line 26 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 26 of file TrackingPerformanceCheck.h

References fFair_ClustersContribution, and testSigmaEff::v.

Referenced by Fun().

+ Here is the caller graph for this function:

void TrackingPerformanceCheck::SetGoodTrackChi2NDF ( float  v)
inline

Definition at line 27 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 27 of file TrackingPerformanceCheck.h

References fGTrack_Chi2NDF, and testSigmaEff::v.

Referenced by Fun().

+ Here is the caller graph for this function:

void TrackingPerformanceCheck::SetGoodTrackTPCClusters ( int  v)
inline

Definition at line 28 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 28 of file TrackingPerformanceCheck.h

References fGTrack_TPCClusters, and testSigmaEff::v.

Referenced by Fun().

+ Here is the caller graph for this function:

void TrackingPerformanceCheck::SetLayerTPCBegins ( int  v)
inline

Definition at line 24 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 24 of file TrackingPerformanceCheck.h

References fLayerTPCBegins, and testSigmaEff::v.

Referenced by Fun().

+ Here is the caller graph for this function:

void TrackingPerformanceCheck::SetReconstructableTPCHits ( int  v)
inline

Definition at line 25 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 25 of file TrackingPerformanceCheck.h

References fReconstructable_TPCHits, and testSigmaEff::v.

Referenced by Fun().

+ Here is the caller graph for this function:

Member Data Documentation

std::map<int,int> TrackingPerformanceCheck::fEmbedded
private

Definition at line 32 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 32 of file TrackingPerformanceCheck.h

Referenced by process_event().

int TrackingPerformanceCheck::fFair_ClustersContribution
private

Definition at line 35 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 35 of file TrackingPerformanceCheck.h

Referenced by process_event(), and SetFairClustersContribution().

float TrackingPerformanceCheck::fGTrack_Chi2NDF
private

Definition at line 36 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 36 of file TrackingPerformanceCheck.h

Referenced by process_event(), and SetGoodTrackChi2NDF().

int TrackingPerformanceCheck::fGTrack_TPCClusters
private

Definition at line 37 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 37 of file TrackingPerformanceCheck.h

Referenced by process_event(), and SetGoodTrackTPCClusters().

TH1F* TrackingPerformanceCheck::fHNEvents
private

Definition at line 39 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 39 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH1F* TrackingPerformanceCheck::fHNVertexes
private

Definition at line 67 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 67 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHRChi2[4]
private

Definition at line 58 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 58 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHRDca2D[4]
private

Definition at line 60 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 60 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH1F* TrackingPerformanceCheck::fHREta[4]
private

Definition at line 56 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 56 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHREtaResolution[4]
private

Definition at line 65 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 65 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH1F* TrackingPerformanceCheck::fHRN[4]
private

Definition at line 54 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 54 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHRNClustersContribution[4]
private

Definition at line 61 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 61 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH1F* TrackingPerformanceCheck::fHRPhi[4]
private

Definition at line 57 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 57 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHRPhiResolution[4]
private

Definition at line 64 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 64 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH1F* TrackingPerformanceCheck::fHRPt[4]
private

Definition at line 55 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 55 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHRPtResolution[4]
private

Definition at line 62 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 62 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHRPtResolution2[4]
private

Definition at line 63 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 63 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHRTPCClus[4]
private

Definition at line 59 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 59 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHTChi2[5]
private

Definition at line 46 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 46 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHTDca2D[5]
private

Definition at line 47 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 47 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH1F* TrackingPerformanceCheck::fHTEta[5]
private

Definition at line 43 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 43 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHTEtaResolution[5]
private

Definition at line 52 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 52 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH1F* TrackingPerformanceCheck::fHTN[5]
private

Definition at line 41 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 41 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHTNClustersContribution[5]
private

Definition at line 48 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 48 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH1F* TrackingPerformanceCheck::fHTNHits[5]
private

Definition at line 45 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 45 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH1F* TrackingPerformanceCheck::fHTPhi[5]
private

Definition at line 44 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 44 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHTPhiResolution[5]
private

Definition at line 51 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 51 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH1F* TrackingPerformanceCheck::fHTPt[5]
private

Definition at line 42 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 42 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHTPtResolution[5]
private

Definition at line 49 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 49 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

TH2F* TrackingPerformanceCheck::fHTPtResolution2[5]
private

Definition at line 50 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 50 of file TrackingPerformanceCheck.h

Referenced by Init(), and process_event().

int TrackingPerformanceCheck::fLayerTPCBegins
private

Definition at line 33 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 33 of file TrackingPerformanceCheck.h

Referenced by process_event(), and SetLayerTPCBegins().

int TrackingPerformanceCheck::fReconstructable_TPCHits
private

Definition at line 34 of file TrackingPerformanceCheck.h.

View newest version in sPHENIX GitHub at line 34 of file TrackingPerformanceCheck.h

Referenced by process_event(), and SetReconstructableTPCHits().


The documentation for this class was generated from the following files: