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

#include <coresoftware/blob/master/offline/framework/ffarawobjects/TpcRawHitContainerv1.h>

+ Inheritance diagram for TpcRawHitContainerv1:
+ Collaboration diagram for TpcRawHitContainerv1:

Public Member Functions

 TpcRawHitContainerv1 ()
 
 ~TpcRawHitContainerv1 () override
 
void Reset () override
 Clear Event.
 
void identify (std::ostream &os=std::cout) const override
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
TpcRawHitAddHit () override
 
TpcRawHitAddHit (TpcRawHit *tpchit) override
 
unsigned int get_nhits () override
 
TpcRawHitget_hit (unsigned int index) override
 
- Public Member Functions inherited from TpcRawHitContainer
 TpcRawHitContainer ()=default
 
virtual ~TpcRawHitContainer ()=default
 
- 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)
 

Private Attributes

TClonesArray * TpcRawHitsTCArray = nullptr
 

Detailed Description

Definition at line 9 of file TpcRawHitContainerv1.h.

View newest version in sPHENIX GitHub at line 9 of file TpcRawHitContainerv1.h

Constructor & Destructor Documentation

TpcRawHitContainerv1::TpcRawHitContainerv1 ( )

Definition at line 8 of file TpcRawHitContainerv1.cc.

View newest version in sPHENIX GitHub at line 8 of file TpcRawHitContainerv1.cc

References NTPCHITS, and TpcRawHitsTCArray.

TpcRawHitContainerv1::~TpcRawHitContainerv1 ( )
override

Definition at line 13 of file TpcRawHitContainerv1.cc.

View newest version in sPHENIX GitHub at line 13 of file TpcRawHitContainerv1.cc

References TpcRawHitsTCArray.

Member Function Documentation

TpcRawHit * TpcRawHitContainerv1::AddHit ( )
overridevirtual

Reimplemented from TpcRawHitContainer.

Definition at line 47 of file TpcRawHitContainerv1.cc.

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

References TpcRawHitsTCArray.

TpcRawHit * TpcRawHitContainerv1::AddHit ( TpcRawHit tpchit)
overridevirtual

Reimplemented from TpcRawHitContainer.

Definition at line 53 of file TpcRawHitContainerv1.cc.

View newest version in sPHENIX GitHub at line 53 of file TpcRawHitContainerv1.cc

References TpcRawHitsTCArray.

TpcRawHit * TpcRawHitContainerv1::get_hit ( unsigned int  index)
overridevirtual

Reimplemented from TpcRawHitContainer.

Definition at line 59 of file TpcRawHitContainerv1.cc.

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

References TpcRawHitsTCArray.

Referenced by TpcCombinedRawDataUnpacker::process_event().

+ Here is the caller graph for this function:

unsigned int TpcRawHitContainerv1::get_nhits ( )
overridevirtual

Reimplemented from TpcRawHitContainer.

Definition at line 42 of file TpcRawHitContainerv1.cc.

View newest version in sPHENIX GitHub at line 42 of file TpcRawHitContainerv1.cc

References TpcRawHitsTCArray.

Referenced by TpcCombinedRawDataUnpacker::process_event().

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 26 of file TpcRawHitContainerv1.cc.

View newest version in sPHENIX GitHub at line 26 of file TpcRawHitContainerv1.cc

References TpcRawHit::get_bco(), and TpcRawHitsTCArray.

+ Here is the call graph for this function:

int TpcRawHitContainerv1::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 37 of file TpcRawHitContainerv1.cc.

View newest version in sPHENIX GitHub at line 37 of file TpcRawHitContainerv1.cc

References TpcRawHitsTCArray.

void TpcRawHitContainerv1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 20 of file TpcRawHitContainerv1.cc.

View newest version in sPHENIX GitHub at line 20 of file TpcRawHitContainerv1.cc

References NTPCHITS, and TpcRawHitsTCArray.

Member Data Documentation

TClonesArray* TpcRawHitContainerv1::TpcRawHitsTCArray = nullptr
private

Definition at line 32 of file TpcRawHitContainerv1.h.

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

Referenced by AddHit(), get_hit(), get_nhits(), identify(), isValid(), Reset(), TpcRawHitContainerv1(), and ~TpcRawHitContainerv1().


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