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

TPC raw hit class. More...

#include <coresoftware/blob/master/offline/packages/rawtodst/TPC_RawHit.h>

+ Inheritance diagram for TPC_RawHit:
+ Collaboration diagram for TPC_RawHit:

Public Member Functions

 TPC_RawHit (const unsigned int phi, const unsigned int samplenr, const unsigned int adc)
 
 ~TPC_RawHit () override
 
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 setAdc (const unsigned int v) override
 
virtual unsigned int getAdc () override
 
virtual void setPhiBin (const unsigned int v) override
 
virtual unsigned int getPhiBin () override
 
virtual void setTBin (const unsigned int bv) override
 
virtual unsigned int getTBin () override
 
- Public Member Functions inherited from RawHit
 ~RawHit () 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
 
- 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 (TPC_RawHit, 1)
 
- Protected Member Functions inherited from RawHit
 ClassDefOverride (RawHit, 1)
 

Protected Attributes

unsigned int m_adc
 
unsigned int m_phi
 
unsigned int m_samplenr
 

Detailed Description

TPC raw hit class.

mlp - first attempt to get something going

Definition at line 20 of file TPC_RawHit.h.

View newest version in sPHENIX GitHub at line 20 of file TPC_RawHit.h

Constructor & Destructor Documentation

TPC_RawHit::TPC_RawHit ( const unsigned int  phi,
const unsigned int  samplenr,
const unsigned int  adc 
)
inline

Definition at line 23 of file TPC_RawHit.h.

View newest version in sPHENIX GitHub at line 23 of file TPC_RawHit.h

References m_adc, m_phi, m_samplenr, and ActsTests::PropagationDatasets::phi.

TPC_RawHit::~TPC_RawHit ( )
inlineoverride

Definition at line 30 of file TPC_RawHit.h.

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

Member Function Documentation

TPC_RawHit::ClassDefOverride ( TPC_RawHit  ,
 
)
protected
virtual unsigned int TPC_RawHit::getAdc ( )
inlineoverridevirtual

Reimplemented from RawHit.

Definition at line 44 of file TPC_RawHit.h.

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

References m_adc.

virtual unsigned int TPC_RawHit::getPhiBin ( )
inlineoverridevirtual

Reimplemented from RawHit.

Definition at line 47 of file TPC_RawHit.h.

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

References m_phi.

virtual unsigned int TPC_RawHit::getTBin ( )
inlineoverridevirtual

Reimplemented from RawHit.

Definition at line 50 of file TPC_RawHit.h.

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

References m_samplenr.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 32 of file TPC_RawHit.h.

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

References m_adc, m_phi, m_samplenr, and os.

int TPC_RawHit::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 40 of file TPC_RawHit.h.

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

void TPC_RawHit::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 39 of file TPC_RawHit.h.

View newest version in sPHENIX GitHub at line 39 of file TPC_RawHit.h

References m_adc, m_phi, and m_samplenr.

virtual void TPC_RawHit::setAdc ( const unsigned int  v)
inlineoverridevirtual

Reimplemented from RawHit.

Definition at line 43 of file TPC_RawHit.h.

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

References m_adc, and testSigmaEff::v.

virtual void TPC_RawHit::setPhiBin ( const unsigned int  v)
inlineoverridevirtual

Reimplemented from RawHit.

Definition at line 46 of file TPC_RawHit.h.

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

References m_phi, and testSigmaEff::v.

virtual void TPC_RawHit::setTBin ( const unsigned int  bv)
inlineoverridevirtual

Reimplemented from RawHit.

Definition at line 49 of file TPC_RawHit.h.

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

References m_samplenr.

Member Data Documentation

unsigned int TPC_RawHit::m_adc
protected

Definition at line 53 of file TPC_RawHit.h.

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

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

unsigned int TPC_RawHit::m_phi
protected

Definition at line 54 of file TPC_RawHit.h.

View newest version in sPHENIX GitHub at line 54 of file TPC_RawHit.h

Referenced by getPhiBin(), identify(), Reset(), setPhiBin(), and TPC_RawHit().

unsigned int TPC_RawHit::m_samplenr
protected

Definition at line 55 of file TPC_RawHit.h.

View newest version in sPHENIX GitHub at line 55 of file TPC_RawHit.h

Referenced by getTBin(), identify(), Reset(), setTBin(), and TPC_RawHit().


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