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 48 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 55 of file RntStructs.h.

References n_hits, and n_match.

55 { 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 53 of file RntStructs.h.

◆ n_hits

int SimSeedInfo::n_hits

Definition at line 52 of file RntStructs.h.

Referenced by good_frac().

◆ n_match

int SimSeedInfo::n_match

Definition at line 52 of file RntStructs.h.

Referenced by good_frac().

◆ s_seed

State SimSeedInfo::s_seed

Definition at line 50 of file RntStructs.h.

◆ s_sim

State SimSeedInfo::s_sim

Definition at line 49 of file RntStructs.h.

◆ seed_idx

int SimSeedInfo::seed_idx

Definition at line 51 of file RntStructs.h.

◆ seed_lbl

int SimSeedInfo::seed_lbl

Definition at line 51 of file RntStructs.h.

◆ sim_lbl

int SimSeedInfo::sim_lbl

Definition at line 51 of file RntStructs.h.