Analysis Software
Documentation for sPHENIX simulation software
|
Base class for hit object. More...
#include <coresoftware/blob/master/offline/packages/trackbase/RawHitTpc.h>
Public Member Functions | |
RawHitTpc () | |
ctor | |
~RawHitTpc () 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 PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (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 |
Protected Member Functions | |
ClassDefOverride (RawHitTpc, 1) | |
Protected Member Functions inherited from RawHit | |
ClassDefOverride (RawHit, 1) | |
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 RawHitTpc.h.
View newest version in sPHENIX GitHub at line 24 of file RawHitTpc.h
RawHitTpc::RawHitTpc | ( | ) |
ctor
Definition at line 4 of file RawHitTpc.cc.
View newest version in sPHENIX GitHub at line 4 of file RawHitTpc.cc
|
inlineoverride |
dtor
Definition at line 31 of file RawHitTpc.h.
View newest version in sPHENIX GitHub at line 31 of file RawHitTpc.h
|
protected |
|
overridevirtual |
Reimplemented from RawHit.
Definition at line 16 of file RawHitTpc.cc.
View newest version in sPHENIX GitHub at line 16 of file RawHitTpc.cc
References m_adc.
|
overridevirtual |
Reimplemented from RawHit.
Definition at line 23 of file RawHitTpc.cc.
View newest version in sPHENIX GitHub at line 23 of file RawHitTpc.cc
|
overridevirtual |
Reimplemented from RawHit.
Definition at line 28 of file RawHitTpc.cc.
View newest version in sPHENIX GitHub at line 28 of file RawHitTpc.cc
References m_tbin.
|
inlineoverridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from RawHit.
Definition at line 33 of file RawHitTpc.h.
View newest version in sPHENIX GitHub at line 33 of file RawHitTpc.h
|
inlineoverridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from RawHit.
Definition at line 38 of file RawHitTpc.h.
View newest version in sPHENIX GitHub at line 38 of file RawHitTpc.h
|
inlineoverridevirtual |
Clear Event.
Reimplemented from RawHit.
Definition at line 37 of file RawHitTpc.h.
View newest version in sPHENIX GitHub at line 37 of file RawHitTpc.h
|
overridevirtual |
Reimplemented from RawHit.
Definition at line 8 of file RawHitTpc.cc.
View newest version in sPHENIX GitHub at line 8 of file RawHitTpc.cc
References m_adc.
|
overridevirtual |
Reimplemented from RawHit.
Definition at line 20 of file RawHitTpc.cc.
View newest version in sPHENIX GitHub at line 20 of file RawHitTpc.cc
|
overridevirtual |
Reimplemented from RawHit.
Definition at line 25 of file RawHitTpc.cc.
View newest version in sPHENIX GitHub at line 25 of file RawHitTpc.cc
References m_tbin.
unsigned short RawHitTpc::m_adc = 0 |
Definition at line 50 of file RawHitTpc.h.
View newest version in sPHENIX GitHub at line 50 of file RawHitTpc.h
Referenced by getAdc(), identify(), and setAdc().
unsigned short RawHitTpc::m_tbin = 0 |
Definition at line 51 of file RawHitTpc.h.
View newest version in sPHENIX GitHub at line 51 of file RawHitTpc.h