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

Base class for hit object. More...

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

+ Inheritance diagram for RawHitv1:
+ Collaboration diagram for RawHitv1:

Public Member Functions

 RawHitv1 ()
 ctor
 
 ~RawHitv1 () 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 setAdc (const unsigned int adc) override
 
unsigned int getAdc () override
 
void setPhiBin (const unsigned int phibin) override
 
unsigned int getPhiBin () override
 
void setTBin (const unsigned int tbin) override
 
unsigned int getTBin () override
 
- Public Member Functions inherited from RawHit
 ~RawHit () 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)
 

Public Attributes

unsigned short m_adc = 0
 
unsigned short m_tbin = 0
 
unsigned short m_phibin = 0
 

Protected Member Functions

 ClassDefOverride (RawHitv1, 1)
 
- Protected Member Functions inherited from RawHit
 ClassDefOverride (RawHit, 1)
 

Detailed Description

Base class for hit object.

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

Definition at line 24 of file RawHitv1.h.

View newest version in sPHENIX GitHub at line 24 of file RawHitv1.h

Constructor & Destructor Documentation

RawHitv1::RawHitv1 ( )

ctor

Definition at line 4 of file RawHitv1.cc.

View newest version in sPHENIX GitHub at line 4 of file RawHitv1.cc

RawHitv1::~RawHitv1 ( )
inlineoverride

dtor

Definition at line 31 of file RawHitv1.h.

View newest version in sPHENIX GitHub at line 31 of file RawHitv1.h

Member Function Documentation

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

Reimplemented from RawHit.

Definition at line 16 of file RawHitv1.cc.

View newest version in sPHENIX GitHub at line 16 of file RawHitv1.cc

References m_adc.

unsigned int RawHitv1::getPhiBin ( )
overridevirtual

Reimplemented from RawHit.

Definition at line 23 of file RawHitv1.cc.

View newest version in sPHENIX GitHub at line 23 of file RawHitv1.cc

References m_phibin.

unsigned int RawHitv1::getTBin ( )
overridevirtual

Reimplemented from RawHit.

Definition at line 28 of file RawHitv1.cc.

View newest version in sPHENIX GitHub at line 28 of file RawHitv1.cc

References m_tbin.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from RawHit.

Definition at line 33 of file RawHitv1.h.

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

References m_adc, and os.

int RawHitv1::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from RawHit.

Definition at line 38 of file RawHitv1.h.

View newest version in sPHENIX GitHub at line 38 of file RawHitv1.h

void RawHitv1::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from RawHit.

Definition at line 37 of file RawHitv1.h.

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

void RawHitv1::setAdc ( const unsigned int  adc)
overridevirtual

Reimplemented from RawHit.

Definition at line 8 of file RawHitv1.cc.

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

References m_adc.

Referenced by TpcRawWriter::process_event().

+ Here is the caller graph for this function:

void RawHitv1::setPhiBin ( const unsigned int  phibin)
overridevirtual

Reimplemented from RawHit.

Definition at line 20 of file RawHitv1.cc.

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

References m_phibin.

Referenced by TpcRawWriter::process_event().

+ Here is the caller graph for this function:

void RawHitv1::setTBin ( const unsigned int  tbin)
overridevirtual

Reimplemented from RawHit.

Definition at line 25 of file RawHitv1.cc.

View newest version in sPHENIX GitHub at line 25 of file RawHitv1.cc

References m_tbin.

Referenced by TpcRawWriter::process_event().

+ Here is the caller graph for this function:

Member Data Documentation

unsigned short RawHitv1::m_adc = 0

Definition at line 50 of file RawHitv1.h.

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

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

unsigned short RawHitv1::m_phibin = 0

Definition at line 52 of file RawHitv1.h.

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

Referenced by getPhiBin(), and setPhiBin().

unsigned short RawHitv1::m_tbin = 0

Definition at line 51 of file RawHitv1.h.

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

Referenced by getTBin(), and setTBin().


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