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

#include <analysis/blob/master/ParticleID/RICHAnalysis/PidInfo.h>

+ Inheritance diagram for PidInfo:
+ Collaboration diagram for PidInfo:

Public Types

enum  PID_CANDIDATE { ELECTRON =0, CHARGEDPION =1, CHARGEDKAON =2, PROTON =3 }
 

Public Member Functions

virtual ~PidInfo ()
 
virtual void Reset ()
 Clear Event.
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data
 
virtual void identify (std::ostream &os=std::cout) const
 
virtual int get_track_id () const
 
virtual SvtxTrackStateget_track_state () const
 
virtual float get_likelihood (const PID_CANDIDATE candidate)
 
virtual void set_track_id (const int id)
 
virtual void set_track_state (SvtxTrackState *state)
 
virtual void set_likelihood (const PID_CANDIDATE candidate, const float candidate_prob)
 
- 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)
 

Protected Member Functions

 PidInfo (int id)
 

Detailed Description

Definition at line 12 of file PidInfo.h.

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

Member Enumeration Documentation

Enumerator:
ELECTRON 
CHARGEDPION 
CHARGEDKAON 
PROTON 

Definition at line 16 of file PidInfo.h.

View newest version in sPHENIX GitHub at line 16 of file PidInfo.h

Constructor & Destructor Documentation

virtual PidInfo::~PidInfo ( )
inlinevirtual

Definition at line 18 of file PidInfo.h.

View newest version in sPHENIX GitHub at line 18 of file PidInfo.h

PidInfo::PidInfo ( int  id)
inlineprotected

Definition at line 38 of file PidInfo.h.

View newest version in sPHENIX GitHub at line 38 of file PidInfo.h

Member Function Documentation

virtual float PidInfo::get_likelihood ( const PID_CANDIDATE  candidate)
inlinevirtual

Reimplemented in PidInfo_RICH_v1.

Definition at line 28 of file PidInfo.h.

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

References PHOOL_VIRTUAL_WARN.

Referenced by FastPid_RICH::process_event().

+ Here is the caller graph for this function:

virtual int PidInfo::get_track_id ( ) const
inlinevirtual

Reimplemented in PidInfo_RICH_v1.

Definition at line 24 of file PidInfo.h.

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

References PHOOL_VIRTUAL_WARN.

Referenced by PidInfoContainer::AddPidInfo().

+ Here is the caller graph for this function:

virtual SvtxTrackState* PidInfo::get_track_state ( ) const
inlinevirtual

Reimplemented in PidInfo_RICH_v1.

Definition at line 26 of file PidInfo.h.

View newest version in sPHENIX GitHub at line 26 of file PidInfo.h

References PHOOL_VIRTUAL_WARN.

Referenced by FastPid_RICH::process_event().

+ Here is the caller graph for this function:

virtual void PidInfo::identify ( std::ostream &  os = std::cout) const
inlinevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in PidInfo_RICH_v1.

Definition at line 22 of file PidInfo.h.

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

References PHOOL_VIRTUAL_WARNING.

virtual int PidInfo::isValid ( ) const
inlinevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Reimplemented in PidInfo_RICH_v1.

Definition at line 21 of file PidInfo.h.

View newest version in sPHENIX GitHub at line 21 of file PidInfo.h

References PHOOL_VIRTUAL_WARNING.

virtual void PidInfo::Reset ( )
inlinevirtual

Clear Event.

Reimplemented from PHObject.

Reimplemented in PidInfo_RICH_v1.

Definition at line 20 of file PidInfo.h.

View newest version in sPHENIX GitHub at line 20 of file PidInfo.h

References PHOOL_VIRTUAL_WARNING.

virtual void PidInfo::set_likelihood ( const PID_CANDIDATE  candidate,
const float  candidate_prob 
)
inlinevirtual

Definition at line 34 of file PidInfo.h.

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

References PHOOL_VIRTUAL_WARN.

Referenced by FastPid_RICH::process_event(), and RICHParticleID::process_event().

+ Here is the caller graph for this function:

virtual void PidInfo::set_track_id ( const int  id)
inlinevirtual

Reimplemented in PidInfo_RICH_v1.

Definition at line 30 of file PidInfo.h.

View newest version in sPHENIX GitHub at line 30 of file PidInfo.h

References PHOOL_VIRTUAL_WARN.

virtual void PidInfo::set_track_state ( SvtxTrackState state)
inlinevirtual

Reimplemented in PidInfo_RICH_v1.

Definition at line 32 of file PidInfo.h.

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

References PHOOL_VIRTUAL_WARN.

Referenced by FastPid_RICH::process_event().

+ Here is the caller graph for this function:


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