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

#include <analysis/blob/master/JS-Jet/FastJetMedianBkg/src_JetMedianTree/macro/loc_lib/JetIndicesMatcher.h>

+ Collaboration diagram for JetIndicesMatcher:

Public Member Functions

void reset ()
 
void add_truth (vector< float > &eta, vector< float > &phi, vector< float > &pt)
 
void add_reco (vector< float > &eta, vector< float > &phi, vector< float > &pt)
 
array< unsigned int, 3 > do_matching ()
 
 JetIndicesMatcher (float R, float min_pT_truth=-1000., float min_pT_reco=-1000.)
 

Public Attributes

vector< unsigned int > indices_fake {}
 
vector< unsigned int > indices_miss {}
 
vector< pair< unsigned int,
unsigned int > > 
indices_matched {}
 
vector< unsigned int > & f {indices_fake}
 
vector< unsigned int > & m {indices_miss}
 
vector< pair< unsigned int,
unsigned int > > & 
match {indices_matched}
 

Private Attributes

const double R2
 
vector< float > eta_truth {}
 
vector< float > phi_truth {}
 
vector< float > pt_truth {}
 
vector< int > index_truth {}
 
vector< float > eta_reco {}
 
vector< float > phi_reco {}
 
vector< float > pt_reco {}
 
vector< int > index_reco {}
 
float min_pT_truth
 
float min_pT_reco
 

Detailed Description

Definition at line 10 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 10 of file JetIndicesMatcher.h

Constructor & Destructor Documentation

JetIndicesMatcher::JetIndicesMatcher ( float  R,
float  min_pT_truth = -1000.,
float  min_pT_reco = -1000. 
)

Definition at line 5 of file JetIndicesMatcher.cc.

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

Member Function Documentation

void JetIndicesMatcher::add_reco ( vector< float > &  eta,
vector< float > &  phi,
vector< float > &  pt 
)
void JetIndicesMatcher::add_truth ( vector< float > &  eta,
vector< float > &  phi,
vector< float > &  pt 
)
array<unsigned int, 3> JetIndicesMatcher::do_matching ( )
void JetIndicesMatcher::reset ( )

Member Data Documentation

vector<float> JetIndicesMatcher::eta_reco {}
private

Definition at line 20 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 20 of file JetIndicesMatcher.h

vector<float> JetIndicesMatcher::eta_truth {}
private

Definition at line 15 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 15 of file JetIndicesMatcher.h

vector<unsigned int>& JetIndicesMatcher::f {indices_fake}

Definition at line 33 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 33 of file JetIndicesMatcher.h

vector<int> JetIndicesMatcher::index_reco {}
private

Definition at line 23 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 23 of file JetIndicesMatcher.h

vector<int> JetIndicesMatcher::index_truth {}
private

Definition at line 18 of file JetIndicesMatcher.h.

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

vector<unsigned int> JetIndicesMatcher::indices_fake {}

Definition at line 29 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 29 of file JetIndicesMatcher.h

vector<pair < unsigned int, unsigned int> > JetIndicesMatcher::indices_matched {}

Definition at line 31 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 31 of file JetIndicesMatcher.h

vector<unsigned int> JetIndicesMatcher::indices_miss {}

Definition at line 30 of file JetIndicesMatcher.h.

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

vector<unsigned int>& JetIndicesMatcher::m {indices_miss}

Definition at line 34 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 34 of file JetIndicesMatcher.h

vector<pair<unsigned int,unsigned int> >& JetIndicesMatcher::match {indices_matched}

Definition at line 35 of file JetIndicesMatcher.h.

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

float JetIndicesMatcher::min_pT_reco
private

Definition at line 26 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 26 of file JetIndicesMatcher.h

float JetIndicesMatcher::min_pT_truth
private

Definition at line 25 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 25 of file JetIndicesMatcher.h

vector<float> JetIndicesMatcher::phi_reco {}
private

Definition at line 21 of file JetIndicesMatcher.h.

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

vector<float> JetIndicesMatcher::phi_truth {}
private

Definition at line 16 of file JetIndicesMatcher.h.

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

vector<float> JetIndicesMatcher::pt_reco {}
private

Definition at line 22 of file JetIndicesMatcher.h.

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

vector<float> JetIndicesMatcher::pt_truth {}
private

Definition at line 17 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 17 of file JetIndicesMatcher.h

const double JetIndicesMatcher::R2
private

Definition at line 14 of file JetIndicesMatcher.h.

View newest version in sPHENIX GitHub at line 14 of file JetIndicesMatcher.h


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