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

#include <analysis/blob/master/Tracking/TrackClusterEvaluator/TrackClusterEvaluator.h>

+ Inheritance diagram for TrackClusterEvaluator:
+ Collaboration diagram for TrackClusterEvaluator:

Public Member Functions

 TrackClusterEvaluator (const std::string &name="TrackClusterEvaluator")
 
virtual ~TrackClusterEvaluator ()
 
int Init (PHCompositeNode *topNode) override
 
int InitRun (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
int ResetEvent (PHCompositeNode *topNode) override
 Clean up after each event.
 
int EndRun (const int runnumber) override
 Called at the end of each run.
 
int End (PHCompositeNode *topNode) override
 Called at the end of all processing.
 
int Reset (PHCompositeNode *) override
 Reset.
 
void setProcess (const int proc)
 
void setnEvent (const int nevent)
 
void trackMapName (std::string name)
 
void outfileName (std::string name)
 
void scanForPrimaries (bool scan)
 
void scanForEmbedded (bool scan)
 
void trackMatch (bool match)
 
void Print (const std::string &what="ALL") const override
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
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 *topNode)
 
void processTruthTracks (PHCompositeNode *topNode)
 
void processRecoTracks (PHCompositeNode *topNode)
 
void setupTrees ()
 
void clearVectors ()
 
void resetTreeValues ()
 

Private Attributes

PHG4TruthInfoContainerm_truthContainer = nullptr
 
TrkrClusterContainerm_clusterContainer = nullptr
 
SvtxTrackMapm_trackMap = nullptr
 
SvtxEvalStackm_svtxevalstack = nullptr
 
std::string m_trackMapName = "SvtxTrackMap"
 
bool m_scanForEmbedded = true
 
bool m_scanForPrimaries = true
 
bool m_trackMatch = true
 
int m_proc = 0
 
int m_nevent = 1
 
TFile * m_outfile = nullptr
 
std::string m_outfilename = "TrackClusterEvaluator.root"
 
TTree * m_recotree = nullptr
 
TTree * m_truthtree = nullptr
 
TTree * m_duplicatetree = nullptr
 
int event = -9999
 
int gflavor = -9999
 
int gntracks = -9999
 
int gtrackID = -9999
 
int gnmaps = -9999
 
int gnintt = -9999
 
int gntpc = -9999
 
int gnmms = -9999
 
float gpx = -9999
 
float gpy = -9999
 
float gpz = -9999
 
float gpt = -9999
 
float geta = -9999
 
float gphi = -9999
 
float gvx = -9999
 
float gvy = -9999
 
float gvz = -9999
 
float gvt = -9999
 
int gembed = -9999
 
int gprimary = -9999
 
int isDuplicate = -9999
 
std::vector< TrkrDefs::cluskeygclusterkeys
 
std::vector< float > tgclusterx
 
std::vector< float > tgclustery
 
std::vector< float > tgclusterz
 
std::vector< float > tclusterx
 
std::vector< float > tclustery
 
std::vector< float > tclusterz
 
std::vector< float > gclusterx
 
std::vector< float > gclustery
 
std::vector< float > gclusterz
 
std::vector< float > gclusterrphierr
 
std::vector< float > gclusterzerr
 
int trackID = -9999
 
float px = -9999
 
float py = -9999
 
float pz = -9999
 
float pt = -9999
 
float eta = -9999
 
float phi = -9999
 
int charge = -9999
 
float quality = -9999
 
int nmaps = -9999
 
int nintt = -9999
 
int ntpc = -9999
 
int nmms = -9999
 
float dca3dxy = -9999
 
float dca3dz = -9999
 
float pcax = -9999
 
float pcay = -9999
 
float pcaz = -9999
 
int matchedTrackID = -9999
 
int dtrackID = -9999
 
float dpx = -9999
 
float dpy = -9999
 
float dpz = -9999
 
float dpt = -9999
 
float deta = -9999
 
float dphi = -9999
 
int dcharge = -9999
 
float dquality = -9999
 
int dnmaps = -9999
 
int dnintt = -9999
 
int dntpc = -9999
 
int dnmms = -9999
 
float ddca3dxy = -9999
 
float ddca3dz = -9999
 
float dpcax = -9999
 
float dpcay = -9999
 
float dpcaz = -9999
 
std::vector< TrkrDefs::cluskeydclusterkeys
 
std::vector< float > dclusterx
 
std::vector< float > dclustery
 
std::vector< float > dclusterz
 
std::vector< float > dclusterrphierr
 
std::vector< float > dclusterzerr
 
std::vector< TrkrDefs::cluskeyclusterkeys
 
std::vector< float > clusterx
 
std::vector< float > clustery
 
std::vector< float > clusterz
 
std::vector< float > clusterrphierr
 
std::vector< float > clusterzerr
 
std::vector< unsigned int > matchedRecoTracksID
 

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 24 of file TrackClusterEvaluator.h.

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

Constructor & Destructor Documentation

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

Definition at line 39 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 39 of file TrackClusterEvaluator.cc

TrackClusterEvaluator::~TrackClusterEvaluator ( )
virtual

Definition at line 46 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 46 of file TrackClusterEvaluator.cc

Member Function Documentation

void TrackClusterEvaluator::clearVectors ( )
private

Definition at line 539 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 539 of file TrackClusterEvaluator.cc

References clusterkeys, clusterrphierr, clusterx, clustery, clusterz, clusterzerr, dclusterkeys, dclusterrphierr, dclusterx, dclustery, dclusterz, dclusterzerr, gclusterkeys, gclusterrphierr, gclusterx, gclustery, gclusterz, gclusterzerr, matchedRecoTracksID, tclusterx, tclustery, tclusterz, tgclusterx, tgclustery, and tgclusterz.

Referenced by resetTreeValues().

+ Here is the caller graph for this function:

int TrackClusterEvaluator::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 581 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 581 of file TrackClusterEvaluator.cc

References Fun4AllReturnCodes::EVENT_OK, m_outfile, m_recotree, and m_truthtree.

int TrackClusterEvaluator::EndRun ( const int  )
overridevirtual

Called at the end of each run.

Reimplemented from SubsysReco.

Definition at line 575 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 575 of file TrackClusterEvaluator.cc

References Fun4AllReturnCodes::EVENT_OK.

int TrackClusterEvaluator::getNodes ( PHCompositeNode topNode)
private

Definition at line 598 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 598 of file TrackClusterEvaluator.cc

References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, m_clusterContainer, m_trackMap, m_trackMapName, and m_truthContainer.

Referenced by InitRun().

+ Here is the caller graph for this function:

int TrackClusterEvaluator::Init ( PHCompositeNode )
overridevirtual

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 52 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 52 of file TrackClusterEvaluator.cc

References Fun4AllReturnCodes::EVENT_OK.

int TrackClusterEvaluator::InitRun ( PHCompositeNode )
overridevirtual

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 59 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 59 of file TrackClusterEvaluator.cc

References getNodes(), m_nevent, m_outfile, m_outfilename, m_proc, and setupTrees().

+ Here is the call graph for this function:

void TrackClusterEvaluator::outfileName ( std::string  name)
inline

Definition at line 42 of file TrackClusterEvaluator.h.

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

References m_outfilename, and perf_headwind::name.

void TrackClusterEvaluator::Print ( const std::string &  what = "ALL") const
overridevirtual

Print out some info about this module.

Parameters
whatcan be used to specify what to print exactly.

Reimplemented from Fun4AllBase.

Definition at line 626 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 626 of file TrackClusterEvaluator.cc

int TrackClusterEvaluator::process_event ( PHCompositeNode )
overridevirtual

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

Reimplemented from SubsysReco.

Definition at line 70 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 70 of file TrackClusterEvaluator.cc

References Fun4AllReturnCodes::EVENT_OK, m_svtxevalstack, m_trackMap, m_truthContainer, SvtxEvalStack::next_event(), processRecoTracks(), processTruthTracks(), SvtxEvalStack::set_strict(), SvtxEvalStack::set_use_genfit_vertex(), SvtxEvalStack::set_use_initial_vertex(), SvtxEvalStack::set_verbosity(), and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

void TrackClusterEvaluator::processRecoTracks ( PHCompositeNode topNode)
private

Definition at line 353 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 353 of file TrackClusterEvaluator.cc

References SvtxClusterEval::all_clusters_from(), SvtxTrackEval::all_tracks_from(), SvtxTrackEval::all_truth_particles(), SvtxTrackEval::best_track_from(), charge, clusterkeys, clusterrphierr, clusterx, clustery, clusterz, clusterzerr, dca3dxy, dca3dz, eta, TrkrClusterContainer::findCluster(), gclusterkeys, gclusterrphierr, gclusterx, gclustery, gclusterz, gclusterzerr, gembed, SvtxEvalStack::get_cluster_eval(), SvtxTruthEval::get_embed(), PHG4Particle::get_pid(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4VtxPoint::get_t(), SvtxEvalStack::get_track_eval(), PHG4Particle::get_track_id(), SvtxEvalStack::get_truth_eval(), SvtxTruthEval::get_vertex(), PHG4VtxPoint::get_x(), PHG4VtxPoint::get_y(), PHG4VtxPoint::get_z(), geta, TrkrDefs::getLayer(), gflavor, gnintt, gnmaps, gnmms, gntpc, gphi, gprimary, gpt, gpx, gpy, gpz, gtrackID, gvt, gvx, gvy, gvz, SvtxTruthEval::is_primary(), isDuplicate, layer, m_clusterContainer, m_recotree, m_scanForEmbedded, m_svtxevalstack, m_trackMap, m_trackMatch, matchedRecoTracksID, matchedTrackID, SvtxClusterEval::max_truth_cluster_by_energy(), SvtxTrackEval::max_truth_particle_by_nclusters(), nintt, nmaps, nmms, ntpc, pcax, pcay, pcaz, phi, pt, px, py, pz, quality, resetTreeValues(), tclusterx, tclustery, tclusterz, tgclusterx, tgclustery, tgclusterz, trackID, testSigmaEff::v, and Fun4AllBase::Verbosity().

Referenced by process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TrackClusterEvaluator::processTruthTracks ( PHCompositeNode topNode)
private

Reset vectors

Definition at line 108 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 108 of file TrackClusterEvaluator.cc

References SvtxClusterEval::all_clusters_from(), SvtxTrackEval::all_tracks_from(), SvtxTrackEval::best_track_from(), charge, clusterkeys, clusterrphierr, clusterx, clustery, clusterz, clusterzerr, dca3dxy, dca3dz, dcharge, dclusterkeys, dclusterrphierr, dclusterx, dclustery, dclusterz, dclusterzerr, ddca3dxy, ddca3dz, deta, dnintt, dnmaps, dnmms, dntpc, dpcax, dpcay, dpcaz, dphi, dpt, dpx, dpy, dpz, dquality, dtrackID, eta, TrkrClusterContainer::findCluster(), gclusterkeys, gclusterrphierr, gclusterx, gclustery, gclusterz, gclusterzerr, gembed, SvtxEvalStack::get_cluster_eval(), SvtxTruthEval::get_embed(), PHG4Particle::get_pid(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4VtxPoint::get_t(), SvtxEvalStack::get_track_eval(), PHG4Particle::get_track_id(), SvtxEvalStack::get_truth_eval(), SvtxTruthEval::get_vertex(), PHG4VtxPoint::get_x(), PHG4VtxPoint::get_y(), PHG4VtxPoint::get_z(), geta, TrkrDefs::getLayer(), PHG4TruthInfoContainer::GetNumPrimaryVertexParticles(), PHG4TruthInfoContainer::GetParticleRange(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), gflavor, gnintt, gnmaps, gnmms, gntpc, gntracks, gphi, gprimary, gpt, gpx, gpy, gpz, gtrackID, gvt, gvx, gvy, gvz, SvtxTruthEval::is_primary(), layer, m_clusterContainer, m_duplicatetree, m_scanForEmbedded, m_scanForPrimaries, m_svtxevalstack, m_truthContainer, m_truthtree, SvtxClusterEval::max_truth_cluster_by_energy(), nintt, nmaps, nmms, ntpc, pcax, pcay, pcaz, phi, pt, px, py, pz, quality, resetTreeValues(), tclusterx, tclustery, tclusterz, tgclusterx, tgclustery, tgclusterz, trackID, testSigmaEff::v, and vec.

Referenced by process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int TrackClusterEvaluator::Reset ( PHCompositeNode )
overridevirtual

Reset.

Reimplemented from SubsysReco.

Definition at line 593 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 593 of file TrackClusterEvaluator.cc

References Fun4AllReturnCodes::EVENT_OK.

int TrackClusterEvaluator::ResetEvent ( PHCompositeNode )
overridevirtual

Clean up after each event.

Reimplemented from SubsysReco.

Definition at line 569 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 569 of file TrackClusterEvaluator.cc

References Fun4AllReturnCodes::EVENT_OK.

void TrackClusterEvaluator::resetTreeValues ( )
private

Definition at line 809 of file TrackClusterEvaluator.cc.

View newest version in sPHENIX GitHub at line 809 of file TrackClusterEvaluator.cc

References charge, clearVectors(), dca3dxy, dca3dz, dcharge, ddca3dxy, ddca3dz, deta, dnintt, dnmaps, dnmms, dntpc, dpcax, dpcay, dpcaz, dphi, dpt, dpx, dpy, dpz, dquality, dtrackID, eta, gembed, geta, gflavor, gnintt, gnmaps, gnmms, gntpc, gntracks, gphi, gprimary, gpt, gpx, gpy, gpz, gtrackID, gvt, gvx, gvy, gvz, isDuplicate, matchedTrackID, nintt, nmaps, nmms, ntpc, pcax, pcay, pcaz, phi, pt, px, py, pz, quality, and trackID.

Referenced by processRecoTracks(), and processTruthTracks().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TrackClusterEvaluator::scanForEmbedded ( bool  scan)
inline

Definition at line 44 of file TrackClusterEvaluator.h.

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

References m_scanForEmbedded.

void TrackClusterEvaluator::scanForPrimaries ( bool  scan)
inline

Definition at line 43 of file TrackClusterEvaluator.h.

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

References m_scanForPrimaries.

void TrackClusterEvaluator::setnEvent ( const int  nevent)
inline

Definition at line 40 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 40 of file TrackClusterEvaluator.h

References m_nevent.

void TrackClusterEvaluator::setProcess ( const int  proc)
inline

Definition at line 39 of file TrackClusterEvaluator.h.

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

References m_proc.

void TrackClusterEvaluator::setupTrees ( )
private
void TrackClusterEvaluator::trackMapName ( std::string  name)
inline

Definition at line 41 of file TrackClusterEvaluator.h.

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

References m_trackMapName, and perf_headwind::name.

void TrackClusterEvaluator::trackMatch ( bool  match)
inline

Definition at line 45 of file TrackClusterEvaluator.h.

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

References m_trackMatch.

Member Data Documentation

int TrackClusterEvaluator::charge = -9999
private

Definition at line 105 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 105 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

std::vector<TrkrDefs::cluskey> TrackClusterEvaluator::clusterkeys
private

Definition at line 140 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 140 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::clusterrphierr
private

Definition at line 141 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 141 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::clusterx
private

Definition at line 141 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 141 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::clustery
private

Definition at line 141 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 141 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::clusterz
private

Definition at line 141 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 141 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::clusterzerr
private

Definition at line 141 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 141 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

float TrackClusterEvaluator::dca3dxy = -9999
private

Definition at line 111 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 111 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::dca3dz = -9999
private

Definition at line 112 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 112 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::dcharge = -9999
private

Definition at line 125 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 125 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

std::vector<TrkrDefs::cluskey> TrackClusterEvaluator::dclusterkeys
private

Definition at line 136 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 136 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::dclusterrphierr
private

Definition at line 138 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 138 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::dclusterx
private

Definition at line 137 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 137 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::dclustery
private

Definition at line 137 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 137 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::dclusterz
private

Definition at line 137 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 137 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::dclusterzerr
private

Definition at line 138 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 138 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processTruthTracks(), and setupTrees().

float TrackClusterEvaluator::ddca3dxy = -9999
private

Definition at line 131 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 131 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::ddca3dz = -9999
private

Definition at line 132 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 132 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::deta = -9999
private

Definition at line 123 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 123 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::dnintt = -9999
private

Definition at line 128 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 128 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::dnmaps = -9999
private

Definition at line 127 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 127 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::dnmms = -9999
private

Definition at line 130 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 130 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::dntpc = -9999
private

Definition at line 129 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 129 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::dpcax = -9999
private

Definition at line 133 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 133 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::dpcay = -9999
private

Definition at line 134 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 134 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::dpcaz = -9999
private

Definition at line 135 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 135 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::dphi = -9999
private

Definition at line 124 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 124 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::dpt = -9999
private

Definition at line 122 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 122 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::dpx = -9999
private

Definition at line 119 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 119 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::dpy = -9999
private

Definition at line 120 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 120 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::dpz = -9999
private

Definition at line 121 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 121 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::dquality = -9999
private

Definition at line 126 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 126 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::dtrackID = -9999
private

Definition at line 118 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 118 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::eta = -9999
private

Definition at line 103 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 103 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::event = -9999
private

Definition at line 74 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 74 of file TrackClusterEvaluator.h

Referenced by setupTrees().

std::vector<TrkrDefs::cluskey> TrackClusterEvaluator::gclusterkeys
private

Definition at line 95 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 95 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::gclusterrphierr
private

Definition at line 97 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 97 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::gclusterx
private

Definition at line 97 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 97 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::gclustery
private

Definition at line 97 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 97 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::gclusterz
private

Definition at line 97 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 97 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::gclusterzerr
private

Definition at line 97 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 97 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

int TrackClusterEvaluator::gembed = -9999
private

Definition at line 92 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 92 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::geta = -9999
private

Definition at line 86 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 86 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::gflavor = -9999
private

Definition at line 75 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 75 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::gnintt = -9999
private

Definition at line 79 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 79 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::gnmaps = -9999
private

Definition at line 78 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 78 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::gnmms = -9999
private

Definition at line 81 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 81 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::gntpc = -9999
private

Definition at line 80 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 80 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::gntracks = -9999
private

Definition at line 76 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 76 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::gphi = -9999
private

Definition at line 87 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 87 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::gprimary = -9999
private

Definition at line 93 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 93 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::gpt = -9999
private

Definition at line 85 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 85 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::gpx = -9999
private

Definition at line 82 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 82 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::gpy = -9999
private

Definition at line 83 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 83 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::gpz = -9999
private

Definition at line 84 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 84 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::gtrackID = -9999
private

Definition at line 77 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 77 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::gvt = -9999
private

Definition at line 91 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 91 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::gvx = -9999
private

Definition at line 88 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 88 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::gvy = -9999
private

Definition at line 89 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 89 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::gvz = -9999
private

Definition at line 90 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 90 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::isDuplicate = -9999
private

Definition at line 94 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 94 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), resetTreeValues(), and setupTrees().

TrkrClusterContainer* TrackClusterEvaluator::m_clusterContainer = nullptr
private

Definition at line 57 of file TrackClusterEvaluator.h.

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

Referenced by getNodes(), processRecoTracks(), and processTruthTracks().

TTree* TrackClusterEvaluator::m_duplicatetree = nullptr
private

Definition at line 72 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 72 of file TrackClusterEvaluator.h

Referenced by processTruthTracks(), and setupTrees().

int TrackClusterEvaluator::m_nevent = 1
private

Definition at line 67 of file TrackClusterEvaluator.h.

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

Referenced by InitRun(), and setnEvent().

TFile* TrackClusterEvaluator::m_outfile = nullptr
private

Definition at line 68 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 68 of file TrackClusterEvaluator.h

Referenced by End(), and InitRun().

std::string TrackClusterEvaluator::m_outfilename = "TrackClusterEvaluator.root"
private

Definition at line 69 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 69 of file TrackClusterEvaluator.h

Referenced by InitRun(), and outfileName().

int TrackClusterEvaluator::m_proc = 0
private

Definition at line 66 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 66 of file TrackClusterEvaluator.h

Referenced by InitRun(), and setProcess().

TTree* TrackClusterEvaluator::m_recotree = nullptr
private

Definition at line 70 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 70 of file TrackClusterEvaluator.h

Referenced by End(), processRecoTracks(), and setupTrees().

bool TrackClusterEvaluator::m_scanForEmbedded = true
private

Definition at line 62 of file TrackClusterEvaluator.h.

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

Referenced by processRecoTracks(), processTruthTracks(), and scanForEmbedded().

bool TrackClusterEvaluator::m_scanForPrimaries = true
private

Definition at line 63 of file TrackClusterEvaluator.h.

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

Referenced by processTruthTracks(), and scanForPrimaries().

SvtxEvalStack* TrackClusterEvaluator::m_svtxevalstack = nullptr
private

Definition at line 59 of file TrackClusterEvaluator.h.

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

Referenced by process_event(), processRecoTracks(), and processTruthTracks().

SvtxTrackMap* TrackClusterEvaluator::m_trackMap = nullptr
private

Definition at line 58 of file TrackClusterEvaluator.h.

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

Referenced by getNodes(), process_event(), and processRecoTracks().

std::string TrackClusterEvaluator::m_trackMapName = "SvtxTrackMap"
private

Definition at line 60 of file TrackClusterEvaluator.h.

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

Referenced by getNodes(), and trackMapName().

bool TrackClusterEvaluator::m_trackMatch = true
private

Definition at line 64 of file TrackClusterEvaluator.h.

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

Referenced by processRecoTracks(), and trackMatch().

PHG4TruthInfoContainer* TrackClusterEvaluator::m_truthContainer = nullptr
private

Definition at line 56 of file TrackClusterEvaluator.h.

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

Referenced by getNodes(), process_event(), and processTruthTracks().

TTree* TrackClusterEvaluator::m_truthtree = nullptr
private

Definition at line 71 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 71 of file TrackClusterEvaluator.h

Referenced by End(), processTruthTracks(), and setupTrees().

std::vector<unsigned int> TrackClusterEvaluator::matchedRecoTracksID
private

Definition at line 142 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 142 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), and setupTrees().

int TrackClusterEvaluator::matchedTrackID = -9999
private

Definition at line 116 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 116 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::nintt = -9999
private

Definition at line 108 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 108 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::nmaps = -9999
private

Definition at line 107 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 107 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::nmms = -9999
private

Definition at line 110 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 110 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

int TrackClusterEvaluator::ntpc = -9999
private

Definition at line 109 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 109 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::pcax = -9999
private

Definition at line 113 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 113 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::pcay = -9999
private

Definition at line 114 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 114 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::pcaz = -9999
private

Definition at line 115 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 115 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::phi = -9999
private

Definition at line 104 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 104 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::pt = -9999
private

Definition at line 102 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 102 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::px = -9999
private

Definition at line 99 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 99 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::py = -9999
private

Definition at line 100 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 100 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::pz = -9999
private

Definition at line 101 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 101 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

float TrackClusterEvaluator::quality = -9999
private

Definition at line 106 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 106 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().

std::vector<float> TrackClusterEvaluator::tclusterx
private

Definition at line 96 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 96 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::tclustery
private

Definition at line 96 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 96 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::tclusterz
private

Definition at line 96 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 96 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::tgclusterx
private

Definition at line 96 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 96 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::tgclustery
private

Definition at line 96 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 96 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

std::vector<float> TrackClusterEvaluator::tgclusterz
private

Definition at line 96 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 96 of file TrackClusterEvaluator.h

Referenced by clearVectors(), processRecoTracks(), processTruthTracks(), and setupTrees().

int TrackClusterEvaluator::trackID = -9999
private

Definition at line 98 of file TrackClusterEvaluator.h.

View newest version in sPHENIX GitHub at line 98 of file TrackClusterEvaluator.h

Referenced by processRecoTracks(), processTruthTracks(), resetTreeValues(), and setupTrees().


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