ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CMFlashClusterv1 Class Reference

Version 1 of CMFlashCluster. More...

#include <coresoftware/blob/master/offline/packages/trackbase/CMFlashClusterv1.h>

+ Inheritance diagram for CMFlashClusterv1:
+ Collaboration diagram for CMFlashClusterv1:

Public Member Functions

 CMFlashClusterv1 ()
 ctor
 
 ~CMFlashClusterv1 () 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
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
void CopyFrom (const CMFlashCluster &) override
 copy content from base class
 
void CopyFrom (CMFlashCluster *source) override
 copy content from base class
 
void setClusKey (unsigned int id) override
 
unsigned int getClusKey () const override
 
float getX () const override
 
void setX (float x) override
 
float getY () const override
 
void setY (float y) override
 
float getZ () const override
 
void setZ (float z) override
 
unsigned int getAdc () const override
 
void setAdc (unsigned int adc) override
 
- Public Member Functions inherited from CMFlashCluster
 ~CMFlashCluster () override
 dtor
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Attributes

unsigned int m_cluskey
 
float m_pos [3]
 
unsigned int m_adc
 

Additional Inherited Members

- Protected Member Functions inherited from CMFlashCluster
 CMFlashCluster ()=default
 

Detailed Description

Version 1 of CMFlashCluster.

Note - D. McGlinchey June 2018: CINT does not like "override", so ignore where CINT complains. Should be checked with ROOT 6 once migration occurs.

Definition at line 24 of file CMFlashClusterv1.h.

View newest version in sPHENIX GitHub at line 24 of file CMFlashClusterv1.h

Constructor & Destructor Documentation

CMFlashClusterv1::CMFlashClusterv1 ( )

ctor

Definition at line 17 of file CMFlashClusterv1.cc.

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

References m_pos.

Referenced by CloneMe().

+ Here is the caller graph for this function:

CMFlashClusterv1::~CMFlashClusterv1 ( )
inlineoverride

dtor

Definition at line 31 of file CMFlashClusterv1.h.

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

Member Function Documentation

PHObject* CMFlashClusterv1::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Definition at line 36 of file CMFlashClusterv1.h.

View newest version in sPHENIX GitHub at line 36 of file CMFlashClusterv1.h

References CMFlashClusterv1().

+ Here is the call graph for this function:

void CMFlashClusterv1::CopyFrom ( const CMFlashCluster source)
overridevirtual

copy content from base class

Reimplemented from CMFlashCluster.

Definition at line 56 of file CMFlashClusterv1.cc.

View newest version in sPHENIX GitHub at line 56 of file CMFlashClusterv1.cc

References CMFlashCluster::CopyFrom(), CMFlashCluster::getAdc(), CMFlashCluster::getClusKey(), CMFlashCluster::getX(), CMFlashCluster::getY(), CMFlashCluster::getZ(), setAdc(), setClusKey(), setX(), setY(), and setZ().

+ Here is the call graph for this function:

void CMFlashClusterv1::CopyFrom ( CMFlashCluster source)
inlineoverridevirtual

copy content from base class

Reimplemented from CMFlashCluster.

Definition at line 42 of file CMFlashClusterv1.h.

View newest version in sPHENIX GitHub at line 42 of file CMFlashClusterv1.h

References CopyFrom().

Referenced by CopyFrom().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned int CMFlashClusterv1::getAdc ( ) const
inlineoverridevirtual

Reimplemented from CMFlashCluster.

Definition at line 60 of file CMFlashClusterv1.h.

View newest version in sPHENIX GitHub at line 60 of file CMFlashClusterv1.h

References m_adc.

Referenced by identify().

+ Here is the caller graph for this function:

unsigned int CMFlashClusterv1::getClusKey ( ) const
inlineoverridevirtual

Reimplemented from CMFlashCluster.

Definition at line 46 of file CMFlashClusterv1.h.

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

References m_cluskey.

Referenced by identify().

+ Here is the caller graph for this function:

float CMFlashClusterv1::getX ( ) const
inlineoverridevirtual

Reimplemented from CMFlashCluster.

Definition at line 50 of file CMFlashClusterv1.h.

View newest version in sPHENIX GitHub at line 50 of file CMFlashClusterv1.h

References m_pos.

Referenced by isValid().

+ Here is the caller graph for this function:

float CMFlashClusterv1::getY ( ) const
inlineoverridevirtual

Reimplemented from CMFlashCluster.

Definition at line 52 of file CMFlashClusterv1.h.

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

References m_pos.

Referenced by isValid().

+ Here is the caller graph for this function:

float CMFlashClusterv1::getZ ( ) const
inlineoverridevirtual

Reimplemented from CMFlashCluster.

Definition at line 54 of file CMFlashClusterv1.h.

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

References m_pos.

Referenced by isValid().

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from CMFlashCluster.

Definition at line 26 of file CMFlashClusterv1.cc.

View newest version in sPHENIX GitHub at line 26 of file CMFlashClusterv1.cc

References getAdc(), getClusKey(), and m_pos.

+ Here is the call graph for this function:

int CMFlashClusterv1::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from CMFlashCluster.

Definition at line 43 of file CMFlashClusterv1.cc.

View newest version in sPHENIX GitHub at line 43 of file CMFlashClusterv1.cc

References getX(), getY(), getZ(), m_adc, and m_cluskey.

+ Here is the call graph for this function:

void CMFlashClusterv1::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from CMFlashCluster.

Definition at line 34 of file CMFlashClusterv1.h.

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

void CMFlashClusterv1::setAdc ( unsigned int  adc)
inlineoverridevirtual

Reimplemented from CMFlashCluster.

Definition at line 61 of file CMFlashClusterv1.h.

View newest version in sPHENIX GitHub at line 61 of file CMFlashClusterv1.h

References m_adc.

Referenced by CopyFrom().

+ Here is the caller graph for this function:

void CMFlashClusterv1::setClusKey ( unsigned int  id)
inlineoverridevirtual

Reimplemented from CMFlashCluster.

Definition at line 45 of file CMFlashClusterv1.h.

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

References m_cluskey.

Referenced by CopyFrom().

+ Here is the caller graph for this function:

void CMFlashClusterv1::setX ( float  x)
inlineoverridevirtual

Reimplemented from CMFlashCluster.

Definition at line 51 of file CMFlashClusterv1.h.

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

References m_pos, and x.

Referenced by CopyFrom().

+ Here is the caller graph for this function:

void CMFlashClusterv1::setY ( float  y)
inlineoverridevirtual

Reimplemented from CMFlashCluster.

Definition at line 53 of file CMFlashClusterv1.h.

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

References m_pos, and y.

Referenced by CopyFrom().

+ Here is the caller graph for this function:

void CMFlashClusterv1::setZ ( float  z)
inlineoverridevirtual

Reimplemented from CMFlashCluster.

Definition at line 55 of file CMFlashClusterv1.h.

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

References m_pos, and z.

Referenced by CopyFrom().

+ Here is the caller graph for this function:

Member Data Documentation

unsigned int CMFlashClusterv1::m_adc
protected

Definition at line 67 of file CMFlashClusterv1.h.

View newest version in sPHENIX GitHub at line 67 of file CMFlashClusterv1.h

Referenced by getAdc(), isValid(), and setAdc().

unsigned int CMFlashClusterv1::m_cluskey
protected

Definition at line 65 of file CMFlashClusterv1.h.

View newest version in sPHENIX GitHub at line 65 of file CMFlashClusterv1.h

Referenced by getClusKey(), isValid(), and setClusKey().

float CMFlashClusterv1::m_pos[3]
protected

Definition at line 66 of file CMFlashClusterv1.h.

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

Referenced by CMFlashClusterv1(), getX(), getY(), getZ(), identify(), setX(), setY(), and setZ().


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