CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
SimSeedInfo Struct Reference

#include <RntStructs.h>

Public Member Functions

float good_frac () const
 
SimSeedInfooperator= (const SimSeedInfo &)=default
 
 SimSeedInfo ()=default
 

Public Attributes

bool has_sim = false
 
int n_hits
 
int n_match
 
State s_seed
 
State s_sim
 
int seed_idx
 
int seed_lbl
 
int sim_lbl
 

Detailed Description

Definition at line 47 of file RntStructs.h.

Constructor & Destructor Documentation

◆ SimSeedInfo()

SimSeedInfo::SimSeedInfo ( )
default

Member Function Documentation

◆ good_frac()

float SimSeedInfo::good_frac ( ) const
inline

Definition at line 54 of file RntStructs.h.

References n_hits, and n_match.

54 { return (float)n_match / n_hits; }

◆ operator=()

SimSeedInfo& SimSeedInfo::operator= ( const SimSeedInfo )
default

Member Data Documentation

◆ has_sim

bool SimSeedInfo::has_sim = false

Definition at line 52 of file RntStructs.h.

Referenced by mkfit::evsi2ssinfo().

◆ n_hits

int SimSeedInfo::n_hits

Definition at line 51 of file RntStructs.h.

Referenced by mkfit::evsi2ssinfo(), and good_frac().

◆ n_match

int SimSeedInfo::n_match

Definition at line 51 of file RntStructs.h.

Referenced by mkfit::evsi2ssinfo(), and good_frac().

◆ s_seed

State SimSeedInfo::s_seed

Definition at line 49 of file RntStructs.h.

Referenced by mkfit::evsi2ssinfo().

◆ s_sim

State SimSeedInfo::s_sim

Definition at line 48 of file RntStructs.h.

Referenced by mkfit::evsi2ssinfo().

◆ seed_idx

int SimSeedInfo::seed_idx

Definition at line 50 of file RntStructs.h.

Referenced by mkfit::evsi2ssinfo().

◆ seed_lbl

int SimSeedInfo::seed_lbl

Definition at line 50 of file RntStructs.h.

Referenced by mkfit::evsi2ssinfo().

◆ sim_lbl

int SimSeedInfo::sim_lbl

Definition at line 50 of file RntStructs.h.

Referenced by mkfit::evsi2ssinfo().