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

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

+ Inheritance diagram for BbcPmtContainerV1:
+ Collaboration diagram for BbcPmtContainerV1:

Public Member Functions

 BbcPmtContainerV1 ()
 ctor
 
virtual ~BbcPmtContainerV1 ()
 dtor
 
void Reset () override
 Clear Event.
 
void identify (std::ostream &os=std::cout) const override
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
void set_npmt (const Short_t ival) override
 
Short_t get_npmt () const override
 get Number of Bbc Pmt's
 
BbcPmtHitget_pmt (const int iPmt) const override
 
- Public Member Functions inherited from BbcPmtContainer
virtual ~BbcPmtContainer ()
 dtor
 
virtual void set_npmt (const short ival)
 
- 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 Member Functions

TClonesArray * GetBbcPmtHits () const
 

Private Attributes

Short_t npmt = 0
 
TClonesArray * BbcPmtHits = nullptr
 

Detailed Description

Definition at line 11 of file BbcPmtContainerV1.h.

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

Constructor & Destructor Documentation

BbcPmtContainerV1::BbcPmtContainerV1 ( )

ctor

Definition at line 11 of file BbcPmtContainerV1.cc.

View newest version in sPHENIX GitHub at line 11 of file BbcPmtContainerV1.cc

References BbcPmtHits, and NPMTBBCV1.

BbcPmtContainerV1::~BbcPmtContainerV1 ( )
virtual

dtor

Definition at line 18 of file BbcPmtContainerV1.cc.

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

References BbcPmtHits.

Member Function Documentation

Short_t BbcPmtContainerV1::get_npmt ( ) const
inlineoverridevirtual

get Number of Bbc Pmt's

Reimplemented from BbcPmtContainer.

Definition at line 41 of file BbcPmtContainerV1.h.

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

References npmt.

BbcPmtHit* BbcPmtContainerV1::get_pmt ( const int  iPmt) const
inlineoverridevirtual

get BbcHitPmt of Pmt iPmt in TClonesArray

Parameters
iPmtno of Pmt in TClonesArray

Reimplemented from BbcPmtContainer.

Definition at line 46 of file BbcPmtContainerV1.h.

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

References BbcPmtHits.

TClonesArray* BbcPmtContainerV1::GetBbcPmtHits ( ) const
inlineprivate

Definition at line 49 of file BbcPmtContainerV1.h.

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

References BbcPmtHits.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from BbcPmtContainer.

Definition at line 38 of file BbcPmtContainerV1.cc.

View newest version in sPHENIX GitHub at line 38 of file BbcPmtContainerV1.cc

int BbcPmtContainerV1::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from BbcPmtContainer.

Definition at line 23 of file BbcPmtContainerV1.cc.

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

References npmt.

void BbcPmtContainerV1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from BbcPmtContainer.

Definition at line 32 of file BbcPmtContainerV1.cc.

View newest version in sPHENIX GitHub at line 32 of file BbcPmtContainerV1.cc

References BbcPmtHits, and npmt.

void BbcPmtContainerV1::set_npmt ( const Short_t  ival)
inlineoverride

set number of pmts for Bbc

Parameters
ivalNumber of Bbc Pmt's

Definition at line 34 of file BbcPmtContainerV1.h.

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

References npmt.

Member Data Documentation

TClonesArray* BbcPmtContainerV1::BbcPmtHits = nullptr
private

Definition at line 52 of file BbcPmtContainerV1.h.

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

Referenced by BbcPmtContainerV1(), get_pmt(), GetBbcPmtHits(), Reset(), and ~BbcPmtContainerV1().

Short_t BbcPmtContainerV1::npmt = 0
private

Definition at line 51 of file BbcPmtContainerV1.h.

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

Referenced by get_npmt(), isValid(), Reset(), and set_npmt().


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