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

#include <coresoftware/blob/master/simulation/g4simulation/g4tracking/TrkrTruthTrackv1.h>

+ Inheritance diagram for TrkrTruthTrackv1:
+ Collaboration diagram for TrkrTruthTrackv1:

Classes

struct  CompHitSetKey
 

Public Member Functions

 TrkrTruthTrackv1 ()
 ctor
 
 TrkrTruthTrackv1 (unsigned int, PHG4Particle *, PHG4VtxPoint *)
 
 ~TrkrTruthTrackv1 () override=default
 dtor
 
unsigned int getTrackid () const override
 
float getX0 () const override
 
float getY0 () const override
 
float getZ0 () const override
 
float getPseudoRapidity () const override
 
float getPt () const override
 
float getPhi () const override
 
std::vector< TrkrDefs::cluskey > & getClusters () override
 
void addCluster (TrkrDefs::cluskey) override
 
bool has_hitsetkey (TrkrDefs::hitsetkey) const override
 
bool has_hitsetkey (TrkrDefs::cluskey) const override
 
std::pair< bool,
TrkrDefs::cluskey
get_cluskey (TrkrDefs::hitsetkey) const override
 
void setTrackid (unsigned int _) override
 
void setX0 (float _) override
 
void setY0 (float _) override
 
void setZ0 (float _) override
 
void setPseudoRapity (float _) override
 
void setPt (float _) override
 
void setPhi (float _) override
 
void identify (std::ostream &os=std::cout) const override
 
- Public Member Functions inherited from TrkrTruthTrack
 ~TrkrTruthTrack () override=default
 dtor
 
 TrkrTruthTrack ()
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectCloneMe () const
 Virtual copy constructor.
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual void Reset ()
 Clear Event.
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Attributes

unsigned int trackid
 
float X0
 
float Y0
 
float Z0
 
float pseudoRapidity
 
float pt
 
float phi
 
std::vector< TrkrDefs::cluskeyclusters
 

Detailed Description

Definition at line 14 of file TrkrTruthTrackv1.h.

View newest version in sPHENIX GitHub at line 14 of file TrkrTruthTrackv1.h

Constructor & Destructor Documentation

TrkrTruthTrackv1::TrkrTruthTrackv1 ( )

ctor

Definition at line 47 of file TrkrTruthTrackv1.cc.

View newest version in sPHENIX GitHub at line 47 of file TrkrTruthTrackv1.cc

TrkrTruthTrackv1::TrkrTruthTrackv1 ( unsigned  int,
PHG4Particle ,
PHG4VtxPoint  
)
TrkrTruthTrackv1::~TrkrTruthTrackv1 ( )
overridedefault

dtor

Member Function Documentation

void TrkrTruthTrackv1::addCluster ( TrkrDefs::cluskey  )
overridevirtual

Reimplemented from TrkrTruthTrack.

std::pair<bool, TrkrDefs::cluskey> TrkrTruthTrackv1::get_cluskey ( TrkrDefs::hitsetkey  ) const
overridevirtual

Reimplemented from TrkrTruthTrack.

std::vector<TrkrDefs::cluskey>& TrkrTruthTrackv1::getClusters ( void  )
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 33 of file TrkrTruthTrackv1.h.

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

References clusters.

float TrkrTruthTrackv1::getPhi ( ) const
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 31 of file TrkrTruthTrackv1.h.

View newest version in sPHENIX GitHub at line 31 of file TrkrTruthTrackv1.h

References phi.

float TrkrTruthTrackv1::getPseudoRapidity ( ) const
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 29 of file TrkrTruthTrackv1.h.

View newest version in sPHENIX GitHub at line 29 of file TrkrTruthTrackv1.h

References pseudoRapidity.

float TrkrTruthTrackv1::getPt ( ) const
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 30 of file TrkrTruthTrackv1.h.

View newest version in sPHENIX GitHub at line 30 of file TrkrTruthTrackv1.h

References pt.

unsigned int TrkrTruthTrackv1::getTrackid ( ) const
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 24 of file TrkrTruthTrackv1.h.

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

References trackid.

float TrkrTruthTrackv1::getX0 ( ) const
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 25 of file TrkrTruthTrackv1.h.

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

References X0.

float TrkrTruthTrackv1::getY0 ( ) const
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 26 of file TrkrTruthTrackv1.h.

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

References Y0.

float TrkrTruthTrackv1::getZ0 ( ) const
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 27 of file TrkrTruthTrackv1.h.

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

References Z0.

bool TrkrTruthTrackv1::has_hitsetkey ( TrkrDefs::hitsetkey  ) const
overridevirtual

Reimplemented from TrkrTruthTrack.

bool TrkrTruthTrackv1::has_hitsetkey ( TrkrDefs::cluskey  ) const
overridevirtual

Reimplemented from TrkrTruthTrack.

void TrkrTruthTrackv1::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from TrkrTruthTrack.

Definition at line 16 of file TrkrTruthTrackv1.cc.

View newest version in sPHENIX GitHub at line 16 of file TrkrTruthTrackv1.cc

References clusters, TrkrDefs::getHitSetKeyFromClusKey(), TrkrDefs::getLayer(), layer, phi, pseudoRapidity, pt, trackid, X0, Y0, and Z0.

+ Here is the call graph for this function:

void TrkrTruthTrackv1::setPhi ( float  _)
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 48 of file TrkrTruthTrackv1.h.

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

References _, and phi.

void TrkrTruthTrackv1::setPseudoRapity ( float  _)
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 46 of file TrkrTruthTrackv1.h.

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

References _, and pseudoRapidity.

void TrkrTruthTrackv1::setPt ( float  _)
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 47 of file TrkrTruthTrackv1.h.

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

References _, and pt.

void TrkrTruthTrackv1::setTrackid ( unsigned int  _)
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 40 of file TrkrTruthTrackv1.h.

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

References _, and trackid.

void TrkrTruthTrackv1::setX0 ( float  _)
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 42 of file TrkrTruthTrackv1.h.

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

References _, and X0.

void TrkrTruthTrackv1::setY0 ( float  _)
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 43 of file TrkrTruthTrackv1.h.

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

References _, and Y0.

void TrkrTruthTrackv1::setZ0 ( float  _)
inlineoverridevirtual

Reimplemented from TrkrTruthTrack.

Definition at line 44 of file TrkrTruthTrackv1.h.

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

References _, and Z0.

Member Data Documentation

std::vector<TrkrDefs::cluskey> TrkrTruthTrackv1::clusters
protected

Definition at line 74 of file TrkrTruthTrackv1.h.

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

Referenced by getClusters(), and identify().

float TrkrTruthTrackv1::phi
protected

Definition at line 72 of file TrkrTruthTrackv1.h.

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

Referenced by getPhi(), identify(), and setPhi().

float TrkrTruthTrackv1::pseudoRapidity
protected

Definition at line 70 of file TrkrTruthTrackv1.h.

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

Referenced by getPseudoRapidity(), identify(), and setPseudoRapity().

float TrkrTruthTrackv1::pt
protected

Definition at line 71 of file TrkrTruthTrackv1.h.

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

Referenced by getPt(), identify(), and setPt().

unsigned int TrkrTruthTrackv1::trackid
protected

Definition at line 65 of file TrkrTruthTrackv1.h.

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

Referenced by getTrackid(), identify(), and setTrackid().

float TrkrTruthTrackv1::X0
protected

Definition at line 66 of file TrkrTruthTrackv1.h.

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

Referenced by getX0(), identify(), and setX0().

float TrkrTruthTrackv1::Y0
protected

Definition at line 67 of file TrkrTruthTrackv1.h.

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

Referenced by getY0(), identify(), and setY0().

float TrkrTruthTrackv1::Z0
protected

Definition at line 68 of file TrkrTruthTrackv1.h.

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

Referenced by getZ0(), identify(), and setZ0().


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