Public Member Functions | Protected Attributes | List of all members
rb::PID Class Reference

A pid value and corresponding pdg code. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/RecoBase/PID.h"

Inheritance diagram for rb::PID:
bpfit::BPFPId lem::PIDDetails muonid::MuonID qeef::QePId remid::ReMId rvp::RVP slid::EventLID slid::LID slid::ShowerLID slid::SliceLID xnue::Xnue

Public Member Functions

 PID ()
 
 ~PID ()
 
 PID (int pdg, double val)
 
int Pdg () const
 
double Value () const
 
void SetPdg (int pdg)
 
void SetVal (double val)
 

Protected Attributes

int fPdg
 pdg code More...
 
double fVal
 pid value More...
 

Detailed Description

A pid value and corresponding pdg code.

Definition at line 13 of file PID.h.

Constructor & Destructor Documentation

rb::PID::PID ( )

Definition at line 13 of file PID.cxx.

Referenced by ~PID().

13  :
14  fPdg(0),
15  fVal(0)
16  {
17  }
int fPdg
pdg code
Definition: PID.h:27
double fVal
pid value
Definition: PID.h:28
rb::PID::~PID ( )
inline

Definition at line 17 of file PID.h.

References make_root_from_grid_output::pdg, PID(), and febshutoff_auto::val.

17 {};
rb::PID::PID ( int  pdg,
double  val 
)

Definition at line 21 of file PID.cxx.

21  :
22  fPdg(pdg),
23  fVal(val)
24  {
25  }
int fPdg
pdg code
Definition: PID.h:27
double fVal
pid value
Definition: PID.h:28

Member Function Documentation

int rb::PID::Pdg ( ) const
inline

Definition at line 21 of file PID.h.

References fPdg.

Referenced by qeef::QeFinderVal::analyze().

21 {return fPdg; }
int fPdg
pdg code
Definition: PID.h:27
void rb::PID::SetPdg ( int  pdg)
inline
void rb::PID::SetVal ( double  val)
inline
double rb::PID::Value ( ) const
inline

Member Data Documentation

int rb::PID::fPdg
protected

pdg code

Definition at line 27 of file PID.h.

Referenced by lem::PIDDetails::FromString(), Pdg(), and SetPdg().

double rb::PID::fVal
protected

pid value

Definition at line 28 of file PID.h.

Referenced by lem::PIDDetails::FromString(), SetVal(), lem::PIDDetails::ToString(), and Value().


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