Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BJetModule.cc File Reference

Gether information from Truth Jet and Tracks, DST -> NTuple. More...

#include "BJetModule.h"
#include <hfjettruthgeneration/HFJetDefs.h>
#include <Acts/Definitions/Algebra.hpp>
#include <fun4all/Fun4AllReturnCodes.h>
#include <fun4all/Fun4AllServer.h>
#include <phool/PHCompositeNode.h>
#include <phool/getClass.h>
#include <g4main/PHG4Hit.h>
#include <g4main/PHG4Particle.h>
#include <g4main/PHG4TruthInfoContainer.h>
#include <g4main/PHG4VtxPoint.h>
#include <g4jets/Jet.h>
#include <g4jets/JetMap.h>
#include <trackbase_historic/SvtxTrack.h>
#include <trackbase_historic/SvtxTrackMap.h>
#include <trackbase_historic/SvtxVertex.h>
#include <trackbase_historic/SvtxVertexMap.h>
#include <g4eval/JetEvalStack.h>
#include <g4eval/SvtxEvalStack.h>
#include <HepMC/GenEvent.h>
#include <HepMC/GenVertex.h>
#include <phhepmc/PHHepMCGenEvent.h>
#include <phhepmc/PHHepMCGenEventMap.h>
#include "TDatabasePDG.h"
#include "TLorentzVector.h"
#include <iostream>
#include <memory>
+ Include dependency graph for BJetModule.cc:

Go to the source code of this file.

Macros

#define LogDebug(exp)   std::cout << "DEBUG: " << __FILE__ << ": " << __LINE__ << ": " << exp << "\n"
 
#define LogError(exp)   std::cout << "ERROR: " << __FILE__ << ": " << __LINE__ << ": " << exp << "\n"
 
#define LogWarning(exp)   std::cout << "WARNING: " << __FILE__ << ": " << __LINE__ << ": " << exp << "\n"
 

Functions

double calc_dca (const TVector3 &track_point, const TVector3 &track_direction, const TVector3 &vertex)
 
bool calc_dca3d_line (double &dca_xy, double &dca_z, const TVector3 &track_point, const TVector3 &track_direction, const TVector3 &vertex)
 
bool calc_dca_circle_line (double &dca_xy, double &dca_z, const TVector3 &track_point, const TVector3 &track_mom, const TVector3 &vertex, const double &q=1., const double &B=1.4)
 

Detailed Description

Gether information from Truth Jet and Tracks, DST -> NTuple.

Gether information from Truth Jet and Tracks, DST -> NTuple

Author
Dennis V. Perepelitsa

Definition in file BJetModule.cc.

Macro Definition Documentation

#define LogDebug (   exp)    std::cout << "DEBUG: " << __FILE__ << ": " << __LINE__ << ": " << exp << "\n"

Definition at line 49 of file BJetModule.cc.

View newest version in sPHENIX GitHub at line 49 of file BJetModule.cc

#define LogError (   exp)    std::cout << "ERROR: " << __FILE__ << ": " << __LINE__ << ": " << exp << "\n"

Definition at line 50 of file BJetModule.cc.

View newest version in sPHENIX GitHub at line 50 of file BJetModule.cc

Referenced by BJetModule::process_event().

#define LogWarning (   exp)    std::cout << "WARNING: " << __FILE__ << ": " << __LINE__ << ": " << exp << "\n"

Definition at line 51 of file BJetModule.cc.

View newest version in sPHENIX GitHub at line 51 of file BJetModule.cc

Referenced by calc_dca_circle_line().

Function Documentation

double calc_dca ( const TVector3 &  track_point,
const TVector3 &  track_direction,
const TVector3 &  vertex 
)

Definition at line 84 of file BJetModule.cc.

View newest version in sPHENIX GitHub at line 84 of file BJetModule.cc

Referenced by BJetModule::process_event().

+ Here is the caller graph for this function:

bool calc_dca3d_line ( double dca_xy,
double dca_z,
const TVector3 &  track_point,
const TVector3 &  track_direction,
const TVector3 &  vertex 
)

Definition at line 97 of file BJetModule.cc.

View newest version in sPHENIX GitHub at line 97 of file BJetModule.cc

References physmon_track_finding_ttbar::r.

Referenced by BJetModule::process_event().

+ Here is the caller graph for this function:

bool calc_dca_circle_line ( double dca_xy,
double dca_z,
const TVector3 &  track_point,
const TVector3 &  track_mom,
const TVector3 &  vertex,
const double q = 1.,
const double B = 1.4 
)

Definition at line 140 of file BJetModule.cc.

View newest version in sPHENIX GitHub at line 140 of file BJetModule.cc

References LogWarning, physmon_track_finding_ttbar::pt, Acts::IntegrationTest::R, and r0.