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

Definition of this analysis module class. More...

#include <analysis/blob/master/ResonanceJetTaggingOutputs/BuildResonanceJetTaggingTree.h>

+ Inheritance diagram for BuildResonanceJetTaggingTree:
+ Collaboration diagram for BuildResonanceJetTaggingTree:

Public Member Functions

 BuildResonanceJetTaggingTree (const std::string &name="BuildResonanceJetTaggingTree", const std::string &fname="BuildResonanceJetTaggingTree.root", const ResonanceJetTagging::TAG tag=ResonanceJetTagging::TAG::D0)
 Constructor.
 
virtual ~BuildResonanceJetTaggingTree ()
 
int Init (PHCompositeNode *)
 SubsysReco initialize processing method.
 
int process_event (PHCompositeNode *)
 SubsysReco event processing method.
 
int End (PHCompositeNode *)
 SubsysReco end processing method.
 
int loopHFHadronic (PHCompositeNode *topNode)
 
void findMatchedTruthD0 (PHCompositeNode *topNode, Jet *&mcTagJet, HepMC::GenParticle *&mcTag, std::vector< int > decays)
 
HepMC::GenParticle * getMother (PHCompositeNode *topNode, PHG4Particle *g4daughter)
 
bool isReconstructed (int index, std::vector< int > indexRecVector)
 
void initializeVariables ()
 
void initializeTrees ()
 
void resetTreeVariables ()
 
void setDoRecunstructed (bool b)
 
bool getDoRecunstructed ()
 
void setDoTruth (bool b)
 
bool getDoTruth ()
 
void setTagContainerName (const std::string &tagContName)
 
std::string getTagContainerName ()
 
void setJetContainerName (const std::string &jetContName)
 
std::string getJetContainerName ()
 
void setTruthJetContainerName (const std::string &jetContName)
 
std::string getTruthJetContainerName ()
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int EndRun (const int)
 Called at the end of each run.
 
virtual int InitRun (PHCompositeNode *)
 
virtual int Reset (PHCompositeNode *)
 Reset.
 
virtual int ResetEvent (PHCompositeNode *)
 Clean up after each event.
 
void Print (const std::string &="ALL") const override
 
- Public Member Functions inherited from Fun4AllBase
virtual ~Fun4AllBase ()
 
virtual const std::string Name () const
 Returns the name of this module.
 
virtual void Name (const std::string &name)
 Sets the name of this module.
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual void Verbosity (enu_Verbosity ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual int Verbosity () const
 Gets the verbosity of this module.
 

Private Member Functions

JetContainerv1getJetContainerFromNode (PHCompositeNode *topNode, const std::string &name)
 
KFParticle_ContainergetKFParticleContainerFromNode (PHCompositeNode *topNode, const std::string &name)
 
HepMC::GenEvent * getGenEventFromNode (PHCompositeNode *topNode, const std::string &name)
 

Private Attributes

std::string m_outfilename
 String to contain the outfile name containing the trees.
 
std::string m_tagcontainer_name
 
std::string m_jetcontainer_name
 
std::string m_truth_jetcontainer_name
 
JetContainerv1m_taggedJetContainer
 
JetContainerv1m_truth_taggedJetContainer
 
bool m_dorec
 
bool m_dotruth
 
int m_nDaughters
 
SvtxEvalStackm_svtx_evalstack = nullptr
 
SvtxTrackEvalm_trackeval = nullptr
 
std::vector< float > m_truthjet_const_px
 
std::vector< float > m_truthjet_const_py
 
std::vector< float > m_truthjet_const_pz
 
std::vector< float > m_truthjet_const_e
 
ResonanceJetTagging::TAG m_tag_particle
 
int m_tag_pdg
 
TFile * m_outfile = nullptr
 TFile to hold the following TTrees and histograms.
 
TH1I * m_eventcount_h = nullptr
 
TTree * m_taggedjettree = nullptr
 
TTree * m_runinfo = nullptr
 
float m_reco_tag_px = NAN
 
float m_reco_tag_py = NAN
 
float m_reco_tag_pz = NAN
 
float m_reco_tag_pt = NAN
 
float m_reco_tag_eta = NAN
 
float m_reco_tag_phi = NAN
 
float m_reco_tag_m = NAN
 
float m_reco_tag_e = NAN
 
float m_reco_jet_px = NAN
 
float m_reco_jet_py = NAN
 
float m_reco_jet_pz = NAN
 
float m_reco_jet_pt = NAN
 
float m_reco_jet_eta = NAN
 
float m_reco_jet_phi = NAN
 
float m_reco_jet_m = NAN
 
float m_reco_jet_e = NAN
 
float m_truth_tag_px = NAN
 
float m_truth_tag_py = NAN
 
float m_truth_tag_pz = NAN
 
float m_truth_tag_pt = NAN
 
float m_truth_tag_eta = NAN
 
float m_truth_tag_phi = NAN
 
float m_truth_tag_m = NAN
 
float m_truth_tag_e = NAN
 
float m_truth_jet_px = NAN
 
float m_truth_jet_py = NAN
 
float m_truth_jet_pz = NAN
 
float m_truth_jet_pt = NAN
 
float m_truth_jet_eta = NAN
 
float m_truth_jet_phi = NAN
 
float m_truth_jet_m = NAN
 
float m_truth_jet_e = NAN
 
float m_intlumi = NAN
 
float m_nprocessedevents = NAN
 
float m_nacceptedevents = NAN
 
float m_xsecprocessedevents = NAN
 
float m_xsecacceptedevents = NAN
 

Additional Inherited Members

- Public Types inherited from Fun4AllBase
enum  enu_Verbosity {
  VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3,
  VERBOSITY_A_LOT = 4, VERBOSITY_MAX = std::numeric_limits<int>::max() - 10
}
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 

Detailed Description

Definition of this analysis module class.

Definition at line 28 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 28 of file BuildResonanceJetTaggingTree.h

Constructor & Destructor Documentation

BuildResonanceJetTaggingTree::BuildResonanceJetTaggingTree ( const std::string &  name = "BuildResonanceJetTaggingTree",
const std::string &  filename = "BuildResonanceJetTaggingTree.root",
const ResonanceJetTagging::TAG  tag = ResonanceJetTagging::TAG::D0 
)

Constructor.

Jet includes.

Tracking includes HEPMC truth includes Fun4All includes ROOT includes C++ includes BuildResonanceJetTaggingTree is a class developed to reconstruct jets containing a D-meson The class can be adapted to tag jets using any kind of particle Author: Antonio Silva (anton.nosp@m.io.s.nosp@m.pheni.nosp@m.x@gm.nosp@m.ail.c.nosp@m.om) Contributor: Jakub Kvapil (jakub.nosp@m..kva.nosp@m.pil@c.nosp@m.ern..nosp@m.ch) Constructor of module

Initialize variables and trees so we don't accidentally access memory that was never allocated

Definition at line 66 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 66 of file BuildResonanceJetTaggingTree.cc

References initializeTrees(), initializeVariables(), m_nDaughters, m_tag_particle, and m_tag_pdg.

+ Here is the call graph for this function:

BuildResonanceJetTaggingTree::~BuildResonanceJetTaggingTree ( )
virtual

Destructor of module

Definition at line 131 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 131 of file BuildResonanceJetTaggingTree.cc

Member Function Documentation

int BuildResonanceJetTaggingTree::End ( PHCompositeNode topNode)
virtual

SubsysReco end processing method.

End the module and finish any data collection. Clean up any remaining loose ends

Change to the outfile

Reimplemented from SubsysReco.

Definition at line 191 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 191 of file BuildResonanceJetTaggingTree.cc

References PHGenIntegral::get_CrossSection_Generator_Accepted_Event(), PHGenIntegral::get_CrossSection_Processed_Event(), PHGenIntegral::get_Integrated_Lumi(), PHGenIntegral::get_N_Generator_Accepted_Event(), PHGenIntegral::get_N_Processed_Event(), m_dotruth, m_eventcount_h, m_intlumi, m_nacceptedevents, m_nprocessedevents, m_outfile, m_runinfo, m_taggedjettree, m_xsecacceptedevents, m_xsecprocessedevents, and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

void BuildResonanceJetTaggingTree::findMatchedTruthD0 ( PHCompositeNode topNode,
Jet *&  mcTagJet,
HepMC::GenParticle *&  mcTag,
std::vector< int >  decays 
)

Definition at line 435 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 435 of file BuildResonanceJetTaggingTree.cc

References mvtx_utils::comp(), SvtxPHG4ParticleMap_v1::get(), SvtxTrackMap::get(), PHG4Particle::get_barcode(), PHG4Particle::get_primary_id(), getGenEventFromNode(), getJetContainerFromNode(), getMother(), PHG4TruthInfoContainer::GetParticle(), m_nDaughters, m_trackeval, m_truth_jetcontainer_name, m_truth_taggedJetContainer, and SvtxTrackEval::max_truth_particle_by_nclusters().

Referenced by loopHFHadronic().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool BuildResonanceJetTaggingTree::getDoRecunstructed ( )
inline

Definition at line 56 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 56 of file BuildResonanceJetTaggingTree.h

References m_dorec.

bool BuildResonanceJetTaggingTree::getDoTruth ( )
inline

Definition at line 58 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 58 of file BuildResonanceJetTaggingTree.h

References m_dotruth.

HepMC::GenEvent * BuildResonanceJetTaggingTree::getGenEventFromNode ( PHCompositeNode topNode,
const std::string &  name 
)
private

If the node was not properly put on the tree, return

Definition at line 718 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 718 of file BuildResonanceJetTaggingTree.cc

References PHHepMCGenEventMap::get(), PHHepMCGenEvent::getEvent(), perf_headwind::name, and PHWHERE.

Referenced by findMatchedTruthD0(), and loopHFHadronic().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

JetContainerv1 * BuildResonanceJetTaggingTree::getJetContainerFromNode ( PHCompositeNode topNode,
const std::string &  name 
)
private

Definition at line 690 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 690 of file BuildResonanceJetTaggingTree.cc

References perf_headwind::name, and PHWHERE.

Referenced by findMatchedTruthD0(), and loopHFHadronic().

+ Here is the caller graph for this function:

std::string BuildResonanceJetTaggingTree::getJetContainerName ( )
inline

Definition at line 63 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 63 of file BuildResonanceJetTaggingTree.h

References m_jetcontainer_name.

KFParticle_Container * BuildResonanceJetTaggingTree::getKFParticleContainerFromNode ( PHCompositeNode topNode,
const std::string &  name 
)
private

Definition at line 704 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 704 of file BuildResonanceJetTaggingTree.cc

References perf_headwind::name, and PHWHERE.

Referenced by loopHFHadronic().

+ Here is the caller graph for this function:

HepMC::GenParticle * BuildResonanceJetTaggingTree::getMother ( PHCompositeNode topNode,
PHG4Particle g4daughter 
)

If the node was not properly put on the tree, return

Definition at line 527 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 527 of file BuildResonanceJetTaggingTree.cc

References PHHepMCGenEventMap::get(), PHG4Particle::get_barcode(), PHHepMCGenEvent::getEvent(), it, m_tag_pdg, and PHWHERE.

Referenced by findMatchedTruthD0().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::string BuildResonanceJetTaggingTree::getTagContainerName ( )
inline

Definition at line 61 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 61 of file BuildResonanceJetTaggingTree.h

References m_tagcontainer_name.

std::string BuildResonanceJetTaggingTree::getTruthJetContainerName ( )
inline

Definition at line 65 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 65 of file BuildResonanceJetTaggingTree.h

References m_truth_jetcontainer_name.

int BuildResonanceJetTaggingTree::Init ( PHCompositeNode )
virtual

SubsysReco initialize processing method.

Initialize the module and prepare looping over events

Reimplemented from SubsysReco.

Definition at line 139 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 139 of file BuildResonanceJetTaggingTree.cc

References Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

void BuildResonanceJetTaggingTree::initializeVariables ( )

Definition at line 636 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 636 of file BuildResonanceJetTaggingTree.cc

References m_eventcount_h, m_outfile, and m_outfilename.

Referenced by BuildResonanceJetTaggingTree().

+ Here is the caller graph for this function:

bool BuildResonanceJetTaggingTree::isReconstructed ( int  index,
std::vector< int >  indexRecVector 
)

Definition at line 576 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 576 of file BuildResonanceJetTaggingTree.cc

Referenced by loopHFHadronic().

+ Here is the caller graph for this function:

int BuildResonanceJetTaggingTree::loopHFHadronic ( PHCompositeNode topNode)

iterate over all constituents and add them to the tree

Don't include the tagged particle

Definition at line 230 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 230 of file BuildResonanceJetTaggingTree.cc

References Fun4AllReturnCodes::ABORTEVENT, mvtx_utils::comp(), KFParticle::E(), Fun4AllReturnCodes::EVENT_OK, findMatchedTruthD0(), KFParticle_Container::get(), Jet::get_comp_vec(), Jet::get_e(), Jet::get_eta(), Jet::get_id(), Jet::get_mass(), Jet::get_phi(), Jet::get_pt(), Jet::get_px(), Jet::get_py(), Jet::get_pz(), SvtxEvalStack::get_track_eval(), KFParticle::GetEta(), getGenEventFromNode(), getJetContainerFromNode(), getKFParticleContainerFromNode(), KFParticle::GetMass(), KFParticle::GetPhi(), KFParticle::GetPt(), Id(), isReconstructed(), m_dorec, m_dotruth, m_eventcount_h, m_jetcontainer_name, m_nDaughters, m_reco_jet_e, m_reco_jet_eta, m_reco_jet_m, m_reco_jet_phi, m_reco_jet_pt, m_reco_jet_px, m_reco_jet_py, m_reco_jet_pz, m_reco_tag_e, m_reco_tag_eta, m_reco_tag_m, m_reco_tag_phi, m_reco_tag_pt, m_reco_tag_px, m_reco_tag_py, m_reco_tag_pz, m_svtx_evalstack, m_tagcontainer_name, m_taggedJetContainer, m_taggedjettree, m_trackeval, m_truth_jet_e, m_truth_jet_eta, m_truth_jet_m, m_truth_jet_phi, m_truth_jet_pt, m_truth_jet_px, m_truth_jet_py, m_truth_jet_pz, m_truth_jetcontainer_name, m_truth_tag_e, m_truth_tag_eta, m_truth_tag_m, m_truth_tag_phi, m_truth_tag_pt, m_truth_tag_px, m_truth_tag_py, m_truth_tag_pz, m_truth_taggedJetContainer, m_truthjet_const_e, m_truthjet_const_px, m_truthjet_const_py, m_truthjet_const_pz, SvtxEvalStack::next_event(), KFParticle::Px(), KFParticle::Py(), KFParticle::Pz(), and resetTreeVariables().

Referenced by process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int BuildResonanceJetTaggingTree::process_event ( PHCompositeNode topNode)
virtual

SubsysReco event processing method.

Main workhorse function where each event is looped over and data from each event is collected from the node tree for analysis

Reimplemented from SubsysReco.

Definition at line 153 of file BuildResonanceJetTaggingTree.cc.

View newest version in sPHENIX GitHub at line 153 of file BuildResonanceJetTaggingTree.cc

References Fun4AllReturnCodes::ABORTRUN, Fun4AllReturnCodes::EVENT_OK, loopHFHadronic(), m_eventcount_h, m_nDaughters, m_tag_particle, and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

void BuildResonanceJetTaggingTree::setDoRecunstructed ( bool  b)
inline

Definition at line 55 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 55 of file BuildResonanceJetTaggingTree.h

References KFPMath::b, and m_dorec.

void BuildResonanceJetTaggingTree::setDoTruth ( bool  b)
inline

Definition at line 57 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 57 of file BuildResonanceJetTaggingTree.h

References KFPMath::b, and m_dotruth.

void BuildResonanceJetTaggingTree::setJetContainerName ( const std::string &  jetContName)
inline

Definition at line 62 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 62 of file BuildResonanceJetTaggingTree.h

References m_jetcontainer_name.

void BuildResonanceJetTaggingTree::setTagContainerName ( const std::string &  tagContName)
inline

Definition at line 60 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 60 of file BuildResonanceJetTaggingTree.h

References m_tagcontainer_name.

void BuildResonanceJetTaggingTree::setTruthJetContainerName ( const std::string &  jetContName)
inline

Definition at line 64 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 64 of file BuildResonanceJetTaggingTree.h

References m_truth_jetcontainer_name.

Member Data Documentation

bool BuildResonanceJetTaggingTree::m_dorec
private

Definition at line 79 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 79 of file BuildResonanceJetTaggingTree.h

Referenced by getDoRecunstructed(), loopHFHadronic(), and setDoRecunstructed().

bool BuildResonanceJetTaggingTree::m_dotruth
private

Definition at line 80 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 80 of file BuildResonanceJetTaggingTree.h

Referenced by End(), getDoTruth(), loopHFHadronic(), and setDoTruth().

TH1I* BuildResonanceJetTaggingTree::m_eventcount_h = nullptr
private

Definition at line 93 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 93 of file BuildResonanceJetTaggingTree.h

Referenced by End(), initializeVariables(), loopHFHadronic(), and process_event().

float BuildResonanceJetTaggingTree::m_intlumi = NAN
private

Definition at line 131 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 131 of file BuildResonanceJetTaggingTree.h

Referenced by End(), and initializeTrees().

std::string BuildResonanceJetTaggingTree::m_jetcontainer_name
private

Definition at line 75 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 75 of file BuildResonanceJetTaggingTree.h

Referenced by getJetContainerName(), loopHFHadronic(), and setJetContainerName().

float BuildResonanceJetTaggingTree::m_nacceptedevents = NAN
private

Definition at line 133 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 133 of file BuildResonanceJetTaggingTree.h

Referenced by End(), and initializeTrees().

int BuildResonanceJetTaggingTree::m_nDaughters
private

Definition at line 81 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 81 of file BuildResonanceJetTaggingTree.h

Referenced by BuildResonanceJetTaggingTree(), findMatchedTruthD0(), loopHFHadronic(), and process_event().

float BuildResonanceJetTaggingTree::m_nprocessedevents = NAN
private

Definition at line 132 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 132 of file BuildResonanceJetTaggingTree.h

Referenced by End(), and initializeTrees().

TFile* BuildResonanceJetTaggingTree::m_outfile = nullptr
private

TFile to hold the following TTrees and histograms.

Definition at line 92 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 92 of file BuildResonanceJetTaggingTree.h

Referenced by End(), and initializeVariables().

std::string BuildResonanceJetTaggingTree::m_outfilename
private

String to contain the outfile name containing the trees.

Definition at line 73 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 73 of file BuildResonanceJetTaggingTree.h

Referenced by initializeVariables().

float BuildResonanceJetTaggingTree::m_reco_jet_e = NAN
private

Definition at line 112 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 112 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_jet_eta = NAN
private

Definition at line 109 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 109 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_jet_m = NAN
private

Definition at line 111 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 111 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_jet_phi = NAN
private

Definition at line 110 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 110 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_jet_pt = NAN
private

Definition at line 108 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 108 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_jet_px = NAN
private

Definition at line 105 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 105 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_jet_py = NAN
private

Definition at line 106 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 106 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_jet_pz = NAN
private

Definition at line 107 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 107 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_tag_e = NAN
private

Definition at line 104 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 104 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_tag_eta = NAN
private

Definition at line 101 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 101 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_tag_m = NAN
private

Definition at line 103 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 103 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_tag_phi = NAN
private

Definition at line 102 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 102 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_tag_pt = NAN
private

Definition at line 100 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 100 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_tag_px = NAN
private

Definition at line 97 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 97 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_tag_py = NAN
private

Definition at line 98 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 98 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_reco_tag_pz = NAN
private

Definition at line 99 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 99 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

TTree* BuildResonanceJetTaggingTree::m_runinfo = nullptr
private

Definition at line 95 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 95 of file BuildResonanceJetTaggingTree.h

Referenced by End(), and initializeTrees().

SvtxEvalStack* BuildResonanceJetTaggingTree::m_svtx_evalstack = nullptr
private

Definition at line 82 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 82 of file BuildResonanceJetTaggingTree.h

Referenced by loopHFHadronic().

ResonanceJetTagging::TAG BuildResonanceJetTaggingTree::m_tag_particle
private

Definition at line 88 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 88 of file BuildResonanceJetTaggingTree.h

Referenced by BuildResonanceJetTaggingTree(), and process_event().

int BuildResonanceJetTaggingTree::m_tag_pdg
private

Definition at line 89 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 89 of file BuildResonanceJetTaggingTree.h

Referenced by BuildResonanceJetTaggingTree(), and getMother().

std::string BuildResonanceJetTaggingTree::m_tagcontainer_name
private

Definition at line 74 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 74 of file BuildResonanceJetTaggingTree.h

Referenced by getTagContainerName(), loopHFHadronic(), and setTagContainerName().

JetContainerv1* BuildResonanceJetTaggingTree::m_taggedJetContainer
private

Definition at line 77 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 77 of file BuildResonanceJetTaggingTree.h

Referenced by loopHFHadronic().

TTree* BuildResonanceJetTaggingTree::m_taggedjettree = nullptr
private

Definition at line 94 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 94 of file BuildResonanceJetTaggingTree.h

Referenced by End(), initializeTrees(), and loopHFHadronic().

SvtxTrackEval* BuildResonanceJetTaggingTree::m_trackeval = nullptr
private

Definition at line 83 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 83 of file BuildResonanceJetTaggingTree.h

Referenced by findMatchedTruthD0(), and loopHFHadronic().

float BuildResonanceJetTaggingTree::m_truth_jet_e = NAN
private

Definition at line 129 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 129 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_jet_eta = NAN
private

Definition at line 126 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 126 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_jet_m = NAN
private

Definition at line 128 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 128 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_jet_phi = NAN
private

Definition at line 127 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 127 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_jet_pt = NAN
private

Definition at line 125 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 125 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_jet_px = NAN
private

Definition at line 122 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 122 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_jet_py = NAN
private

Definition at line 123 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 123 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_jet_pz = NAN
private

Definition at line 124 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 124 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

std::string BuildResonanceJetTaggingTree::m_truth_jetcontainer_name
private

Definition at line 76 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 76 of file BuildResonanceJetTaggingTree.h

Referenced by findMatchedTruthD0(), getTruthJetContainerName(), loopHFHadronic(), and setTruthJetContainerName().

float BuildResonanceJetTaggingTree::m_truth_tag_e = NAN
private

Definition at line 121 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 121 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_tag_eta = NAN
private

Definition at line 118 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 118 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_tag_m = NAN
private

Definition at line 120 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 120 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_tag_phi = NAN
private

Definition at line 119 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 119 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_tag_pt = NAN
private

Definition at line 117 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 117 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_tag_px = NAN
private

Definition at line 114 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 114 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_tag_py = NAN
private

Definition at line 115 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 115 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_truth_tag_pz = NAN
private

Definition at line 116 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 116 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

JetContainerv1* BuildResonanceJetTaggingTree::m_truth_taggedJetContainer
private

Definition at line 78 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 78 of file BuildResonanceJetTaggingTree.h

Referenced by findMatchedTruthD0(), and loopHFHadronic().

std::vector<float> BuildResonanceJetTaggingTree::m_truthjet_const_e
private

Definition at line 85 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 85 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

std::vector<float> BuildResonanceJetTaggingTree::m_truthjet_const_px
private

Definition at line 85 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 85 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

std::vector<float> BuildResonanceJetTaggingTree::m_truthjet_const_py
private

Definition at line 85 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 85 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

std::vector<float> BuildResonanceJetTaggingTree::m_truthjet_const_pz
private

Definition at line 85 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 85 of file BuildResonanceJetTaggingTree.h

Referenced by initializeTrees(), loopHFHadronic(), and resetTreeVariables().

float BuildResonanceJetTaggingTree::m_xsecacceptedevents = NAN
private

Definition at line 135 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 135 of file BuildResonanceJetTaggingTree.h

Referenced by End(), and initializeTrees().

float BuildResonanceJetTaggingTree::m_xsecprocessedevents = NAN
private

Definition at line 134 of file BuildResonanceJetTaggingTree.h.

View newest version in sPHENIX GitHub at line 134 of file BuildResonanceJetTaggingTree.h

Referenced by End(), and initializeTrees().


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