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

Inherited class v1 for hit object. More...

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

+ Inheritance diagram for TrkrHitv1:
+ Collaboration diagram for TrkrHitv1:

Public Member Functions

 TrkrHitv1 ()
 ctor
 
 ~TrkrHitv1 () override
 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
 
void addEnergy (const double edep) override
 
double getEnergy () override
 
void setAdc (const unsigned int adc) override
 
unsigned int getAdc () override
 
- Public Member Functions inherited from TrkrHit
 ~TrkrHit () override
 dtor
 
- 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 int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Member Functions

 ClassDefOverride (TrkrHitv1, 1)
 
- Protected Member Functions inherited from TrkrHit
 ClassDefOverride (TrkrHit, 1)
 

Protected Attributes

double m_edep = 0
 
unsigned int m_adc = 0
 

Detailed Description

Inherited class v1 for hit object.

Definition at line 19 of file TrkrHitv1.h.

View newest version in sPHENIX GitHub at line 19 of file TrkrHitv1.h

Constructor & Destructor Documentation

TrkrHitv1::TrkrHitv1 ( )

ctor

Definition at line 3 of file TrkrHitv1.cc.

View newest version in sPHENIX GitHub at line 3 of file TrkrHitv1.cc

TrkrHitv1::~TrkrHitv1 ( )
inlineoverride

dtor

Definition at line 26 of file TrkrHitv1.h.

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

Member Function Documentation

void TrkrHitv1::addEnergy ( const double  edep)
inlineoverridevirtual

Reimplemented from TrkrHit.

Definition at line 35 of file TrkrHitv1.h.

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

References m_edep.

TrkrHitv1::ClassDefOverride ( TrkrHitv1  ,
 
)
protected
unsigned int TrkrHitv1::getAdc ( )
overridevirtual

Reimplemented from TrkrHit.

Definition at line 7 of file TrkrHitv1.cc.

View newest version in sPHENIX GitHub at line 7 of file TrkrHitv1.cc

References m_adc.

double TrkrHitv1::getEnergy ( )
inlineoverridevirtual

Reimplemented from TrkrHit.

Definition at line 36 of file TrkrHitv1.h.

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

References m_edep.

void TrkrHitv1::identify ( std::ostream &  os = std::cout) const
inlineoverridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from TrkrHit.

Definition at line 28 of file TrkrHitv1.h.

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

References m_adc, and os.

int TrkrHitv1::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from TrkrHit.

Definition at line 33 of file TrkrHitv1.h.

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

void TrkrHitv1::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from TrkrHit.

Definition at line 32 of file TrkrHitv1.h.

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

void TrkrHitv1::setAdc ( const unsigned int  adc)
inlineoverridevirtual

Reimplemented from TrkrHit.

Definition at line 37 of file TrkrHitv1.h.

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

References m_adc.

Member Data Documentation

unsigned int TrkrHitv1::m_adc = 0
protected

Definition at line 42 of file TrkrHitv1.h.

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

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

double TrkrHitv1::m_edep = 0
protected

Definition at line 41 of file TrkrHitv1.h.

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

Referenced by addEnergy(), and getEnergy().


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