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

#include <coresoftware/blob/master/offline/packages/mbd/BbcPmtHitV1.h>

+ Inheritance diagram for BbcPmtHitV1:
+ Collaboration diagram for BbcPmtHitV1:

Public Member Functions

 BbcPmtHitV1 ()
 
 ~BbcPmtHitV1 () override=default
 
void Reset () override
 Just does a clear.
 
void Clear (Option_t *="") override
 Clear is used by TClonesArray to reset the tower to initial state without calling destructor/constructor.
 
Short_t get_pmt () const override
 PMT number.
 
Float_t get_q () const override
 Effective Nch in PMT.
 
Float_t get_tt () const override
 Time from time channel.
 
Float_t get_time () const override
 
Float_t get_tq () const override
 Time from charge channel.
 
void set_pmt (const Short_t pmt, const Float_t q, const Float_t tt, const Float_t tq) override
 
void identify (std::ostream &os=std::cout) const override
 Prints out exact identity of object.
 
virtual int isValid () const override
 isValid returns non zero if object contains valid data
 
- Public Member Functions inherited from BbcPmtHit
 BbcPmtHit ()
 
virtual ~BbcPmtHit () override=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

Short_t bpmt {-1}
 
Float_t bq {std::numeric_limits<float>::quiet_NaN()}
 
Float_t btt {std::numeric_limits<float>::quiet_NaN()}
 
Float_t btq {std::numeric_limits<float>::quiet_NaN()}
 

Detailed Description

Definition at line 9 of file BbcPmtHitV1.h.

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

Constructor & Destructor Documentation

BbcPmtHitV1::BbcPmtHitV1 ( )
inline

Definition at line 12 of file BbcPmtHitV1.h.

View newest version in sPHENIX GitHub at line 12 of file BbcPmtHitV1.h

BbcPmtHitV1::~BbcPmtHitV1 ( )
overridedefault

Member Function Documentation

void BbcPmtHitV1::Clear ( Option_t *  = "")
override

Clear is used by TClonesArray to reset the tower to initial state without calling destructor/constructor.

Definition at line 8 of file BbcPmtHitV1.cc.

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

References bpmt, bq, btq, and btt.

Referenced by Reset().

+ Here is the caller graph for this function:

Short_t BbcPmtHitV1::get_pmt ( ) const
inlineoverridevirtual

PMT number.

Reimplemented from BbcPmtHit.

Definition at line 22 of file BbcPmtHitV1.h.

View newest version in sPHENIX GitHub at line 22 of file BbcPmtHitV1.h

References bpmt.

Float_t BbcPmtHitV1::get_q ( ) const
inlineoverridevirtual

Effective Nch in PMT.

Reimplemented from BbcPmtHit.

Definition at line 25 of file BbcPmtHitV1.h.

View newest version in sPHENIX GitHub at line 25 of file BbcPmtHitV1.h

References bq.

Float_t BbcPmtHitV1::get_time ( ) const
inlineoverridevirtual

Reimplemented from BbcPmtHit.

Definition at line 29 of file BbcPmtHitV1.h.

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

References btt.

Float_t BbcPmtHitV1::get_tq ( ) const
inlineoverridevirtual

Time from charge channel.

Reimplemented from BbcPmtHit.

Definition at line 32 of file BbcPmtHitV1.h.

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

References btq.

Float_t BbcPmtHitV1::get_tt ( ) const
inlineoverridevirtual

Time from time channel.

Reimplemented from BbcPmtHit.

Definition at line 28 of file BbcPmtHitV1.h.

View newest version in sPHENIX GitHub at line 28 of file BbcPmtHitV1.h

References btt.

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

Prints out exact identity of object.

Reimplemented from BbcPmtHit.

Definition at line 17 of file BbcPmtHitV1.cc.

View newest version in sPHENIX GitHub at line 17 of file BbcPmtHitV1.cc

References bpmt, bq, btq, and btt.

virtual int BbcPmtHitV1::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains valid data

Reimplemented from BbcPmtHit.

Definition at line 46 of file BbcPmtHitV1.h.

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

References bpmt.

void BbcPmtHitV1::Reset ( )
overridevirtual

Just does a clear.

Reimplemented from PHObject.

Definition at line 3 of file BbcPmtHitV1.cc.

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

References Clear().

+ Here is the call graph for this function:

void BbcPmtHitV1::set_pmt ( const Short_t  pmt,
const Float_t  q,
const Float_t  tt,
const Float_t  tq 
)
inlineoverridevirtual

Reimplemented from BbcPmtHit.

Definition at line 34 of file BbcPmtHitV1.h.

View newest version in sPHENIX GitHub at line 34 of file BbcPmtHitV1.h

References bpmt, bq, btq, and btt.

Member Data Documentation

Short_t BbcPmtHitV1::bpmt {-1}
private

Definition at line 53 of file BbcPmtHitV1.h.

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

Referenced by Clear(), get_pmt(), identify(), isValid(), and set_pmt().

Float_t BbcPmtHitV1::bq {std::numeric_limits<float>::quiet_NaN()}
private

Definition at line 54 of file BbcPmtHitV1.h.

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

Referenced by Clear(), get_q(), identify(), and set_pmt().

Float_t BbcPmtHitV1::btq {std::numeric_limits<float>::quiet_NaN()}
private

Definition at line 56 of file BbcPmtHitV1.h.

View newest version in sPHENIX GitHub at line 56 of file BbcPmtHitV1.h

Referenced by Clear(), get_tq(), identify(), and set_pmt().

Float_t BbcPmtHitV1::btt {std::numeric_limits<float>::quiet_NaN()}
private

Definition at line 55 of file BbcPmtHitV1.h.

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

Referenced by Clear(), get_time(), get_tt(), identify(), and set_pmt().


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