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

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

+ Inheritance diagram for PidInfo_RICH_v1:
+ Collaboration diagram for PidInfo_RICH_v1:

Public Member Functions

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

Private Attributes

float _trackid
 
SvtxTrackState_track_state
 
std::map< PID_CANDIDATE, float > _pid_candidate_loglikelihood
 

Additional Inherited Members

- Public Types inherited from PidInfo
enum  PID_CANDIDATE { ELECTRON =0, CHARGEDPION =1, CHARGEDKAON =2, PROTON =3 }
 
- Protected Member Functions inherited from PidInfo
 PidInfo (int id)
 

Detailed Description

Definition at line 8 of file PidInfo_RICH_v1.h.

View newest version in sPHENIX GitHub at line 8 of file PidInfo_RICH_v1.h

Constructor & Destructor Documentation

PidInfo_RICH_v1::PidInfo_RICH_v1 ( const int  id)

Definition at line 5 of file PidInfo_RICH_v1.cc.

View newest version in sPHENIX GitHub at line 5 of file PidInfo_RICH_v1.cc

virtual PidInfo_RICH_v1::~PidInfo_RICH_v1 ( )
inlinevirtual

Definition at line 13 of file PidInfo_RICH_v1.h.

View newest version in sPHENIX GitHub at line 13 of file PidInfo_RICH_v1.h

Member Function Documentation

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

Reimplemented from PidInfo.

Definition at line 18 of file PidInfo_RICH_v1.cc.

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

References _pid_candidate_loglikelihood.

int PidInfo_RICH_v1::get_track_id ( ) const
inlinevirtual

Reimplemented from PidInfo.

Definition at line 22 of file PidInfo_RICH_v1.h.

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

References _trackid.

SvtxTrackState* PidInfo_RICH_v1::get_track_state ( ) const
inlinevirtual

Reimplemented from PidInfo.

Definition at line 24 of file PidInfo_RICH_v1.h.

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

References _track_state.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PidInfo.

Definition at line 18 of file PidInfo_RICH_v1.h.

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

References os.

int PidInfo_RICH_v1::isValid ( ) const
inlinevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PidInfo.

Definition at line 16 of file PidInfo_RICH_v1.h.

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

References _pid_candidate_loglikelihood.

void PidInfo_RICH_v1::Reset ( )
virtual

Clear Event.

Reimplemented from PidInfo.

Definition at line 13 of file PidInfo_RICH_v1.cc.

View newest version in sPHENIX GitHub at line 13 of file PidInfo_RICH_v1.cc

References _pid_candidate_loglikelihood.

void PidInfo_RICH_v1::set_likelihood ( const PID_CANDIDATE  candidate,
const float  candidate_loglikelihood 
)
inline

Definition at line 32 of file PidInfo_RICH_v1.h.

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

References _pid_candidate_loglikelihood.

void PidInfo_RICH_v1::set_track_id ( const int  id)
inlinevirtual

Reimplemented from PidInfo.

Definition at line 28 of file PidInfo_RICH_v1.h.

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

References _trackid, and train_ambiguity_solver::id.

void PidInfo_RICH_v1::set_track_state ( SvtxTrackState state)
inlinevirtual

Reimplemented from PidInfo.

Definition at line 30 of file PidInfo_RICH_v1.h.

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

References _track_state, and filter::state.

Member Data Documentation

std::map<PID_CANDIDATE,float> PidInfo_RICH_v1::_pid_candidate_loglikelihood
private

Definition at line 39 of file PidInfo_RICH_v1.h.

View newest version in sPHENIX GitHub at line 39 of file PidInfo_RICH_v1.h

Referenced by get_likelihood(), isValid(), Reset(), and set_likelihood().

SvtxTrackState* PidInfo_RICH_v1::_track_state
private

Definition at line 37 of file PidInfo_RICH_v1.h.

View newest version in sPHENIX GitHub at line 37 of file PidInfo_RICH_v1.h

Referenced by get_track_state(), and set_track_state().

float PidInfo_RICH_v1::_trackid
private

Definition at line 35 of file PidInfo_RICH_v1.h.

View newest version in sPHENIX GitHub at line 35 of file PidInfo_RICH_v1.h

Referenced by get_track_id(), and set_track_id().


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