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

#include <analysis/blob/master/sPhenixAj/src/PseudoJetPlus.h>

+ Inheritance diagram for PseudoJetPlusUserInfoBase:
+ Collaboration diagram for PseudoJetPlusUserInfoBase:

Public Member Functions

 PseudoJetPlusUserInfoBase (int qc, TString Type)
 Standard Constructor.
 
int GetQuarkCharge () const
 Get charge in units of e/3.
 
void SetQuarkCharge (const int qc)
 Set charge in units of e/3.
 
double GetCharge () const
 Set charge in units of e.
 
void SetCharge (const double c)
 Set charge in units of e.
 
TString GetType ()
 

Private Attributes

int quarkcharge
 Charge in units of e/3.
 
const TString Type
 Could use something like an enum instead.
 

Detailed Description

Userinfo base, for all kinds of constituents. Should have a type identifier, to ascertain what info is available, plus some things that should be defined for all kinds.

Definition at line 21 of file PseudoJetPlus.h.

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

Constructor & Destructor Documentation

PseudoJetPlusUserInfoBase::PseudoJetPlusUserInfoBase ( int  qc,
TString  Type 
)
inline

Standard Constructor.

Definition at line 24 of file PseudoJetPlus.h.

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

Member Function Documentation

double PseudoJetPlusUserInfoBase::GetCharge ( ) const
inline

Set charge in units of e.

Definition at line 35 of file PseudoJetPlus.h.

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

References quarkcharge.

int PseudoJetPlusUserInfoBase::GetQuarkCharge ( ) const
inline

Get charge in units of e/3.

Definition at line 30 of file PseudoJetPlus.h.

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

References quarkcharge.

TString PseudoJetPlusUserInfoBase::GetType ( )
inline

Type. Using, e.g., TString::Contains() one can find out what more info is available

Definition at line 41 of file PseudoJetPlus.h.

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

void PseudoJetPlusUserInfoBase::SetCharge ( const double  c)
inline

Set charge in units of e.

Definition at line 37 of file PseudoJetPlus.h.

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

References Acts::PhysicalConstants::c, and quarkcharge.

void PseudoJetPlusUserInfoBase::SetQuarkCharge ( const int  qc)
inline

Set charge in units of e/3.

Definition at line 32 of file PseudoJetPlus.h.

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

References quarkcharge.

Member Data Documentation

int PseudoJetPlusUserInfoBase::quarkcharge
private

Charge in units of e/3.

Definition at line 41 of file PseudoJetPlus.h.

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

Referenced by GetCharge(), GetQuarkCharge(), SetCharge(), and SetQuarkCharge().

const TString PseudoJetPlusUserInfoBase::Type
private

Could use something like an enum instead.

Definition at line 45 of file PseudoJetPlus.h.

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


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