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

Base class for hit object. More...

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

+ Inheritance diagram for TrkrHit:
+ Collaboration diagram for TrkrHit:

Public Member Functions

 ~TrkrHit () 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
 
virtual void addEnergy (const double)
 
virtual double getEnergy ()
 
virtual void setAdc (const unsigned int)
 
virtual unsigned int getAdc ()
 
- 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 (TrkrHit, 1)
 

Detailed Description

Base class for hit object.

This is the empty virtual base class for a hit object. Each subsystem should implement an inherited version which contains the actual storage information.

Definition at line 25 of file TrkrHit.h.

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

Constructor & Destructor Documentation

TrkrHit::~TrkrHit ( )
inlineoverride

dtor

Definition at line 30 of file TrkrHit.h.

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

Member Function Documentation

virtual void TrkrHit::addEnergy ( const double  )
inlinevirtual

Reimplemented in TrkrHitv2, and TrkrHitv1.

Definition at line 40 of file TrkrHit.h.

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

Referenced by TpcClusterBuilder::addhitset(), PHG4InttHitReco::addtruthhitset(), PHG4MvtxHitReco::addtruthhitset(), PHG4TpcPadPlaneReadout::MapToPadPlane(), PHG4InttHitReco::process_event(), PHG4MvtxHitReco::process_event(), and PHG4TpcElectronDrift::process_event().

+ Here is the caller graph for this function:

TrkrHit::ClassDefOverride ( TrkrHit  ,
 
)
protected
virtual unsigned int TrkrHit::getAdc ( )
inlinevirtual

Reimplemented in TrkrHitv2, and TrkrHitv1.

Definition at line 45 of file TrkrHit.h.

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

Referenced by PHG4TpcDigitizer::DigitizeCylinderCells(), PHG4InttDigitizer::DigitizeLadderCells(), TrkrNtuplizer::fillOutputNtuples(), SvtxEvaluator::fillOutputNtuples(), TrackerEventDisplay::makeJsonFile(), SynRadAna::process_event(), readDigitalCurrents::process_event(), and DumpTrkrHitSetContainer::process_Node().

+ Here is the caller graph for this function:

virtual double TrkrHit::getEnergy ( )
inlinevirtual
void TrkrHit::identify ( std::ostream &  os = std::cout) const
inlineoverridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in TrkrHitv2, and TrkrHitv1.

Definition at line 32 of file TrkrHit.h.

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

References os.

Referenced by PHG4InttDigitizer::DigitizeLadderCells(), and SynRadAna::process_event().

+ Here is the caller graph for this function:

int TrkrHit::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Reimplemented in TrkrHitv2, and TrkrHitv1.

Definition at line 37 of file TrkrHit.h.

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

void TrkrHit::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from PHObject.

Reimplemented in TrkrHitv2, and TrkrHitv1.

Definition at line 36 of file TrkrHit.h.

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

virtual void TrkrHit::setAdc ( const unsigned int  )
inlinevirtual

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