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

Version 3 of TrkrCluster. More...

#include <coresoftware/blob/master/offline/packages/trackbase/TrkrClusterv3.h>

+ Inheritance diagram for TrkrClusterv3:
+ Collaboration diagram for TrkrClusterv3:

Public Member Functions

 TrkrClusterv3 ()
 ctor
 
 ~TrkrClusterv3 () override=default
 dtor
 
void identify (std::ostream &os=std::cout) const override
 
void Reset () override
 Clear Event.
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
void CopyFrom (const TrkrCluster &) override
 copy content from base class
 
void CopyFrom (TrkrCluster *source) override
 copy content from base class
 
float getPosition (int coor) const override
 
void setPosition (int coor, float xi) override
 
float getLocalX () const override
 
void setLocalX (float loc0) override
 
float getLocalY () const override
 
void setLocalY (float loc1) override
 
void setActsLocalError (unsigned int i, unsigned int j, float value) override
 Acts functions, for Acts module use only.
 
float getActsLocalError (unsigned int i, unsigned int j) const override
 
TrkrDefs::subsurfkey getSubSurfKey () const override
 
void setSubSurfKey (TrkrDefs::subsurfkey id) override
 
unsigned int getAdc () const override
 
void setAdc (unsigned int adc) override
 
float getRPhiError () const override
 
float getZError () const override
 
float getX () const override
 deprecated global funtions with a warning
 
float getY () const override
 
float getZ () const override
 
void setX (float) override
 
void setY (float) override
 
void setZ (float) override
 
float getSize (unsigned int, unsigned int) const override
 
void setSize (unsigned int, unsigned int, float) override
 
float getError (unsigned int, unsigned int) const override
 
void setError (unsigned int, unsigned int, float) override
 
float getPhiSize () const override
 
float getZSize () const override
 
float getPhiError () const override
 
- Public Member Functions inherited from TrkrCluster
 ~TrkrCluster () override=default
 dtor
 
virtual void setMaxAdc (uint16_t)
 
virtual unsigned int getMaxAdc () const
 
virtual char getOverlap () const
 
virtual void setOverlap (char)
 
virtual char getEdge () const
 
virtual void setEdge (char)
 
virtual void setTime (const float)
 
virtual float getTime () const
 
virtual char getSize () const
 
virtual void setGlobal ()
 
virtual void setLocal ()
 
virtual bool isGlobal () const
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Attributes

TrkrDefs::cluskey m_cluskey
 
TrkrDefs::subsurfkey m_subsurfkey
 
unsigned int m_adc
 
float m_local [2]
 
float m_actsLocalErr [2][2]
 

Additional Inherited Members

- Protected Member Functions inherited from TrkrCluster
 TrkrCluster ()=default
 

Detailed Description

Version 3 of TrkrCluster.

This version of TrkrCluster contains Acts source link objects as member variables, to join the Svtx and Acts worlds

Definition at line 22 of file TrkrClusterv3.h.

View newest version in sPHENIX GitHub at line 22 of file TrkrClusterv3.h

Constructor & Destructor Documentation

TrkrClusterv3::TrkrClusterv3 ( )

ctor

Definition at line 19 of file TrkrClusterv3.cc.

View newest version in sPHENIX GitHub at line 19 of file TrkrClusterv3.cc

References i, j, m_actsLocalErr, and m_local.

Referenced by CloneMe().

+ Here is the caller graph for this function:

TrkrClusterv3::~TrkrClusterv3 ( )
overridedefault

dtor

Member Function Documentation

PHObject* TrkrClusterv3::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Definition at line 36 of file TrkrClusterv3.h.

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

References TrkrClusterv3().

+ Here is the call graph for this function:

void TrkrClusterv3::CopyFrom ( const TrkrCluster source)
overridevirtual

copy content from base class

Reimplemented from TrkrCluster.

Definition at line 71 of file TrkrClusterv3.cc.

View newest version in sPHENIX GitHub at line 71 of file TrkrClusterv3.cc

References TrkrCluster::CopyFrom(), TrkrCluster::getActsLocalError(), TrkrCluster::getAdc(), TrkrCluster::getLocalX(), TrkrCluster::getLocalY(), TrkrCluster::getSubSurfKey(), i, j, setActsLocalError(), setAdc(), setLocalX(), setLocalY(), and setSubSurfKey().

Referenced by PHTpcClusterMover::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TrkrClusterv3::CopyFrom ( TrkrCluster source)
inlineoverridevirtual

copy content from base class

Reimplemented from TrkrCluster.

Definition at line 42 of file TrkrClusterv3.h.

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

References CopyFrom().

Referenced by CopyFrom().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float TrkrClusterv3::getActsLocalError ( unsigned int  i,
unsigned int  j 
) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 57 of file TrkrClusterv3.h.

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

References i, j, and m_actsLocalErr.

Referenced by identify(), and isValid().

+ Here is the caller graph for this function:

unsigned int TrkrClusterv3::getAdc ( ) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 64 of file TrkrClusterv3.h.

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

References m_adc.

Referenced by identify().

+ Here is the caller graph for this function:

float TrkrClusterv3::getError ( unsigned int  ,
unsigned int   
) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 90 of file TrkrClusterv3.h.

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

float TrkrClusterv3::getLocalX ( ) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 50 of file TrkrClusterv3.h.

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

References m_local.

Referenced by identify().

+ Here is the caller graph for this function:

float TrkrClusterv3::getLocalY ( ) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 52 of file TrkrClusterv3.h.

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

References m_local.

Referenced by identify().

+ Here is the caller graph for this function:

float TrkrClusterv3::getPhiError ( ) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 98 of file TrkrClusterv3.h.

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

float TrkrClusterv3::getPhiSize ( ) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 94 of file TrkrClusterv3.h.

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

float TrkrClusterv3::getPosition ( int  coor) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 48 of file TrkrClusterv3.h.

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

References m_local.

Referenced by isValid().

+ Here is the caller graph for this function:

float TrkrClusterv3::getRPhiError ( ) const
overridevirtual

Reimplemented from TrkrCluster.

Definition at line 90 of file TrkrClusterv3.cc.

View newest version in sPHENIX GitHub at line 90 of file TrkrClusterv3.cc

References m_actsLocalErr.

float TrkrClusterv3::getSize ( unsigned int  ,
unsigned int   
) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 86 of file TrkrClusterv3.h.

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

TrkrDefs::subsurfkey TrkrClusterv3::getSubSurfKey ( ) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 58 of file TrkrClusterv3.h.

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

References m_subsurfkey.

float TrkrClusterv3::getX ( ) const
inlineoverridevirtual

deprecated global funtions with a warning

Reimplemented from TrkrCluster.

Definition at line 74 of file TrkrClusterv3.h.

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

float TrkrClusterv3::getY ( ) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 76 of file TrkrClusterv3.h.

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

float TrkrClusterv3::getZ ( ) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 78 of file TrkrClusterv3.h.

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

float TrkrClusterv3::getZError ( ) const
overridevirtual

Reimplemented from TrkrCluster.

Definition at line 93 of file TrkrClusterv3.cc.

View newest version in sPHENIX GitHub at line 93 of file TrkrClusterv3.cc

References m_actsLocalErr.

float TrkrClusterv3::getZSize ( ) const
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 96 of file TrkrClusterv3.h.

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

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from TrkrCluster.

Definition at line 34 of file TrkrClusterv3.cc.

View newest version in sPHENIX GitHub at line 34 of file TrkrClusterv3.cc

References getActsLocalError(), getAdc(), getLocalX(), and getLocalY().

+ Here is the call graph for this function:

int TrkrClusterv3::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from TrkrCluster.

Definition at line 57 of file TrkrClusterv3.cc.

View newest version in sPHENIX GitHub at line 57 of file TrkrClusterv3.cc

References getActsLocalError(), getPosition(), i, j, m_adc, and m_cluskey.

+ Here is the call graph for this function:

void TrkrClusterv3::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from TrkrCluster.

Definition at line 34 of file TrkrClusterv3.h.

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

void TrkrClusterv3::setActsLocalError ( unsigned int  i,
unsigned int  j,
float  value 
)
overridevirtual

Acts functions, for Acts module use only.

Reimplemented from TrkrCluster.

Definition at line 96 of file TrkrClusterv3.cc.

View newest version in sPHENIX GitHub at line 96 of file TrkrClusterv3.cc

References i, j, m_actsLocalErr, and value.

Referenced by CopyFrom().

+ Here is the caller graph for this function:

void TrkrClusterv3::setAdc ( unsigned int  adc)
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 65 of file TrkrClusterv3.h.

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

References m_adc.

Referenced by CopyFrom().

+ Here is the caller graph for this function:

void TrkrClusterv3::setError ( unsigned int  ,
unsigned int  ,
float   
)
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 92 of file TrkrClusterv3.h.

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

void TrkrClusterv3::setLocalX ( float  loc0)
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 51 of file TrkrClusterv3.h.

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

References physmon_track_finding_ttbar::loc0, and m_local.

Referenced by CopyFrom().

+ Here is the caller graph for this function:

void TrkrClusterv3::setLocalY ( float  loc1)
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 53 of file TrkrClusterv3.h.

View newest version in sPHENIX GitHub at line 53 of file TrkrClusterv3.h

References m_local.

Referenced by CopyFrom().

+ Here is the caller graph for this function:

void TrkrClusterv3::setPosition ( int  coor,
float  xi 
)
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 49 of file TrkrClusterv3.h.

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

References m_local.

void TrkrClusterv3::setSize ( unsigned int  ,
unsigned int  ,
float   
)
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 88 of file TrkrClusterv3.h.

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

void TrkrClusterv3::setSubSurfKey ( TrkrDefs::subsurfkey  id)
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 59 of file TrkrClusterv3.h.

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

References train_ambiguity_solver::id, and m_subsurfkey.

Referenced by CopyFrom().

+ Here is the caller graph for this function:

void TrkrClusterv3::setX ( float  )
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 80 of file TrkrClusterv3.h.

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

void TrkrClusterv3::setY ( float  )
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 82 of file TrkrClusterv3.h.

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

void TrkrClusterv3::setZ ( float  )
inlineoverridevirtual

Reimplemented from TrkrCluster.

Definition at line 84 of file TrkrClusterv3.h.

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

Member Data Documentation

float TrkrClusterv3::m_actsLocalErr[2][2]
protected

Definition at line 109 of file TrkrClusterv3.h.

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

Referenced by getActsLocalError(), getRPhiError(), getZError(), setActsLocalError(), and TrkrClusterv3().

unsigned int TrkrClusterv3::m_adc
protected

Definition at line 106 of file TrkrClusterv3.h.

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

Referenced by getAdc(), isValid(), and setAdc().

TrkrDefs::cluskey TrkrClusterv3::m_cluskey
protected

Definition at line 103 of file TrkrClusterv3.h.

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

Referenced by isValid().

float TrkrClusterv3::m_local[2]
protected

Definition at line 108 of file TrkrClusterv3.h.

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

Referenced by getLocalX(), getLocalY(), getPosition(), setLocalX(), setLocalY(), setPosition(), and TrkrClusterv3().

TrkrDefs::subsurfkey TrkrClusterv3::m_subsurfkey
protected

Definition at line 104 of file TrkrClusterv3.h.

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

Referenced by getSubSurfKey(), and setSubSurfKey().


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