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

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

+ Inheritance diagram for MbdPmtContainerV1:
+ Collaboration diagram for MbdPmtContainerV1:

Public Member Functions

 MbdPmtContainerV1 ()
 ctor
 
virtual ~MbdPmtContainerV1 ()
 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 Mbd Pmt's
 
MbdPmtHitget_pmt (const int iPmt) const override
 
- Public Member Functions inherited from MbdPmtContainer
virtual ~MbdPmtContainer ()
 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 * GetMbdPmtHits () const
 

Private Attributes

Short_t npmt = 0
 
TClonesArray * MbdPmtHits = nullptr
 

Detailed Description

Definition at line 11 of file MbdPmtContainerV1.h.

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

Constructor & Destructor Documentation

MbdPmtContainerV1::MbdPmtContainerV1 ( )

ctor

Definition at line 11 of file MbdPmtContainerV1.cc.

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

References MbdPmtHits, and NPMTMBDV1.

MbdPmtContainerV1::~MbdPmtContainerV1 ( )
virtual

dtor

Definition at line 18 of file MbdPmtContainerV1.cc.

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

References MbdPmtHits.

Member Function Documentation

Short_t MbdPmtContainerV1::get_npmt ( ) const
inlineoverridevirtual

get Number of Mbd Pmt's

Reimplemented from MbdPmtContainer.

Definition at line 41 of file MbdPmtContainerV1.h.

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

References npmt.

MbdPmtHit* MbdPmtContainerV1::get_pmt ( const int  iPmt) const
inlineoverridevirtual

get MbdHitPmt of Pmt iPmt in TClonesArray

Parameters
iPmtno of Pmt in TClonesArray

Reimplemented from MbdPmtContainer.

Definition at line 46 of file MbdPmtContainerV1.h.

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

References MbdPmtHits.

TClonesArray* MbdPmtContainerV1::GetMbdPmtHits ( ) const
inlineprivate

Definition at line 49 of file MbdPmtContainerV1.h.

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

References MbdPmtHits.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from MbdPmtContainer.

Definition at line 38 of file MbdPmtContainerV1.cc.

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

int MbdPmtContainerV1::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from MbdPmtContainer.

Definition at line 23 of file MbdPmtContainerV1.cc.

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

References npmt.

void MbdPmtContainerV1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from MbdPmtContainer.

Definition at line 32 of file MbdPmtContainerV1.cc.

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

References MbdPmtHits, and npmt.

void MbdPmtContainerV1::set_npmt ( const Short_t  ival)
inlineoverride

set number of pmts for Mbd

Parameters
ivalNumber of Mbd Pmt's

Definition at line 34 of file MbdPmtContainerV1.h.

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

References npmt.

Member Data Documentation

TClonesArray* MbdPmtContainerV1::MbdPmtHits = nullptr
private

Definition at line 52 of file MbdPmtContainerV1.h.

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

Referenced by get_pmt(), GetMbdPmtHits(), MbdPmtContainerV1(), Reset(), and ~MbdPmtContainerV1().

Short_t MbdPmtContainerV1::npmt = 0
private

Definition at line 51 of file MbdPmtContainerV1.h.

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

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


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