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

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

+ Inheritance diagram for TpcRawHitv1:
+ Collaboration diagram for TpcRawHitv1:

Public Member Functions

 TpcRawHitv1 ()=default
 
 TpcRawHitv1 (TpcRawHit *tpchit)
 
 ~TpcRawHitv1 () override=default
 
void identify (std::ostream &os=std::cout) const override
 
void Clear (Option_t *) override
 
uint64_t get_bco () const override
 
void set_bco (const uint64_t val) override
 
uint64_t get_gtm_bco () const override
 
void set_gtm_bco (const uint64_t val) override
 
int32_t get_packetid () const override
 
void set_packetid (const int32_t val) override
 
uint16_t get_fee () const override
 
void set_fee (uint16_t const val) override
 
uint16_t get_channel () const override
 
void set_channel (uint16_t const val) override
 
uint16_t get_sampaaddress () const override
 
void set_sampaaddress (uint16_t const val) override
 
uint16_t get_sampachannel () const override
 
void set_sampachannel (uint16_t const val) override
 
uint16_t get_samples () const override
 
void set_samples (uint16_t const val) override
 
uint16_t get_adc (size_t sample) const override
 
void set_adc (size_t sample, uint16_t val) override
 
- Public Member Functions inherited from TpcRawHit
 TpcRawHit ()=default
 
virtual ~TpcRawHit ()=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 void Reset ()
 Clear Event.
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Private Attributes

uint64_t bco = std::numeric_limits<uint64_t>::max()
 
uint64_t gtm_bco = std::numeric_limits<uint64_t>::max()
 
int32_t packetid = std::numeric_limits<int32_t>::max()
 
uint16_t fee = std::numeric_limits<uint16_t>::max()
 
uint16_t channel = std::numeric_limits<uint16_t>::max()
 
uint16_t sampaaddress = std::numeric_limits<uint16_t>::max()
 
uint16_t sampachannel = std::numeric_limits<uint16_t>::max()
 
uint16_t samples = std::numeric_limits<uint16_t>::max()
 
std::vector< uint16_t > adc
 adc value for each sample
 

Detailed Description

Definition at line 11 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 11 of file TpcRawHitv1.h

Constructor & Destructor Documentation

TpcRawHitv1::TpcRawHitv1 ( )
default
TpcRawHitv1::TpcRawHitv1 ( TpcRawHit tpchit)

Definition at line 3 of file TpcRawHitv1.cc.

View newest version in sPHENIX GitHub at line 3 of file TpcRawHitv1.cc

References TpcRawHit::get_adc(), TpcRawHit::get_bco(), TpcRawHit::get_channel(), TpcRawHit::get_fee(), TpcRawHit::get_gtm_bco(), TpcRawHit::get_packetid(), TpcRawHit::get_sampaaddress(), TpcRawHit::get_sampachannel(), TpcRawHit::get_samples(), i, set_adc(), set_bco(), set_channel(), set_fee(), set_gtm_bco(), set_packetid(), set_sampaaddress(), set_sampachannel(), and set_samples().

+ Here is the call graph for this function:

TpcRawHitv1::~TpcRawHitv1 ( )
overridedefault

Member Function Documentation

void TpcRawHitv1::Clear ( Option_t *  )
override

Definition at line 24 of file TpcRawHitv1.cc.

View newest version in sPHENIX GitHub at line 24 of file TpcRawHitv1.cc

References adc.

uint16_t TpcRawHitv1::get_adc ( size_t  sample) const
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 66 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 66 of file TpcRawHitv1.h

References adc, and assert.

uint64_t TpcRawHitv1::get_bco ( ) const
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 27 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 27 of file TpcRawHitv1.h

References bco.

uint16_t TpcRawHitv1::get_channel ( ) const
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 43 of file TpcRawHitv1.h.

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

References channel.

uint16_t TpcRawHitv1::get_fee ( ) const
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 39 of file TpcRawHitv1.h.

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

References fee.

uint64_t TpcRawHitv1::get_gtm_bco ( ) const
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 31 of file TpcRawHitv1.h.

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

References gtm_bco.

int32_t TpcRawHitv1::get_packetid ( ) const
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 35 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 35 of file TpcRawHitv1.h

References packetid.

uint16_t TpcRawHitv1::get_sampaaddress ( ) const
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 47 of file TpcRawHitv1.h.

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

References sampaaddress.

uint16_t TpcRawHitv1::get_sampachannel ( ) const
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 51 of file TpcRawHitv1.h.

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

References sampachannel.

uint16_t TpcRawHitv1::get_samples ( ) const
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 55 of file TpcRawHitv1.h.

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

References samples.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 18 of file TpcRawHitv1.cc.

View newest version in sPHENIX GitHub at line 18 of file TpcRawHitv1.cc

References bco, and packetid.

void TpcRawHitv1::set_adc ( size_t  sample,
uint16_t  val 
)
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 73 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 73 of file TpcRawHitv1.h

References adc, and assert.

Referenced by TpcRawHitv1().

+ Here is the caller graph for this function:

void TpcRawHitv1::set_bco ( const uint64_t  val)
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 29 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 29 of file TpcRawHitv1.h

References bco.

Referenced by TpcRawHitv1().

+ Here is the caller graph for this function:

void TpcRawHitv1::set_channel ( uint16_t const  val)
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 45 of file TpcRawHitv1.h.

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

References channel.

Referenced by TpcRawHitv1().

+ Here is the caller graph for this function:

void TpcRawHitv1::set_fee ( uint16_t const  val)
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 41 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 41 of file TpcRawHitv1.h

References fee.

Referenced by TpcRawHitv1().

+ Here is the caller graph for this function:

void TpcRawHitv1::set_gtm_bco ( const uint64_t  val)
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 33 of file TpcRawHitv1.h.

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

References gtm_bco.

Referenced by TpcRawHitv1().

+ Here is the caller graph for this function:

void TpcRawHitv1::set_packetid ( const int32_t  val)
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 37 of file TpcRawHitv1.h.

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

References packetid.

Referenced by TpcRawHitv1().

+ Here is the caller graph for this function:

void TpcRawHitv1::set_sampaaddress ( uint16_t const  val)
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 49 of file TpcRawHitv1.h.

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

References sampaaddress.

Referenced by TpcRawHitv1().

+ Here is the caller graph for this function:

void TpcRawHitv1::set_sampachannel ( uint16_t const  val)
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 53 of file TpcRawHitv1.h.

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

References sampachannel.

Referenced by TpcRawHitv1().

+ Here is the caller graph for this function:

void TpcRawHitv1::set_samples ( uint16_t const  val)
inlineoverridevirtual

Reimplemented from TpcRawHit.

Definition at line 57 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 57 of file TpcRawHitv1.h

References adc, and samples.

Referenced by TpcRawHitv1().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<uint16_t> TpcRawHitv1::adc
private

adc value for each sample

Definition at line 91 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 91 of file TpcRawHitv1.h

Referenced by Clear(), get_adc(), set_adc(), and set_samples().

uint64_t TpcRawHitv1::bco = std::numeric_limits<uint64_t>::max()
private

Definition at line 81 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 81 of file TpcRawHitv1.h

Referenced by get_bco(), identify(), and set_bco().

uint16_t TpcRawHitv1::channel = std::numeric_limits<uint16_t>::max()
private

Definition at line 85 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 85 of file TpcRawHitv1.h

Referenced by get_channel(), and set_channel().

uint16_t TpcRawHitv1::fee = std::numeric_limits<uint16_t>::max()
private

Definition at line 84 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 84 of file TpcRawHitv1.h

Referenced by get_fee(), and set_fee().

uint64_t TpcRawHitv1::gtm_bco = std::numeric_limits<uint64_t>::max()
private

Definition at line 82 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 82 of file TpcRawHitv1.h

Referenced by get_gtm_bco(), and set_gtm_bco().

int32_t TpcRawHitv1::packetid = std::numeric_limits<int32_t>::max()
private

Definition at line 83 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 83 of file TpcRawHitv1.h

Referenced by get_packetid(), identify(), and set_packetid().

uint16_t TpcRawHitv1::sampaaddress = std::numeric_limits<uint16_t>::max()
private

Definition at line 86 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 86 of file TpcRawHitv1.h

Referenced by get_sampaaddress(), and set_sampaaddress().

uint16_t TpcRawHitv1::sampachannel = std::numeric_limits<uint16_t>::max()
private

Definition at line 87 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 87 of file TpcRawHitv1.h

Referenced by get_sampachannel(), and set_sampachannel().

uint16_t TpcRawHitv1::samples = std::numeric_limits<uint16_t>::max()
private

Definition at line 88 of file TpcRawHitv1.h.

View newest version in sPHENIX GitHub at line 88 of file TpcRawHitv1.h

Referenced by get_samples(), and set_samples().


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