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

#include <coresoftware/blob/master/offline/QA/modules/QAG4SimulationTruthDecay.h>

+ Inheritance diagram for QAG4SimulationTruthDecay:
+ Collaboration diagram for QAG4SimulationTruthDecay:

Public Member Functions

 QAG4SimulationTruthDecay (const std::string &name="QAG4SimulationTruthDecay")
 
virtual ~QAG4SimulationTruthDecay ()
 
int Init (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
std::string get_histo_prefix ()
 
int End (PHCompositeNode *topNode) override
 Called at the end of all processing.
 
void setMotherPDG (int PDGID)
 
void setMotherPDGRange (int min, int max)
 
void setDaughterPDGRange (int min, int max)
 
void setMinPT (float value)
 
void setEtaRange (float min, float max)
 
void setNBinsMass (int nBins)
 
void setMassRange (float min, float max)
 
void setNBinsDecayLength (int nBins)
 
void setDecayLengthRange (float min, float max)
 
void setNBinsDecayTime (int nBins)
 
void setDecayTimeRange (float min, float max)
 
void setDFNodeName (const std::string &name)
 
void setOutputName (const std::string &name)
 
void writeTuple (bool write)
 
- 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 Types

typedef std::vector< std::pair
< std::pair< int, int >, int > > 
Decay
 

Private Member Functions

void initializeBranches ()
 
void getMotherPDG (PHCompositeNode *topNode)
 
std::vector< int > getDecayFinderMothers (PHCompositeNode *topNode)
 
bool isInRange (float min, float value, float max)
 
void resetValues ()
 

Private Attributes

unsigned int m_nTracks
 
float m_pt_min
 
float m_eta_min
 
float m_eta_max
 
int m_decay_pdg_id
 
PHG4TruthInfoContainerm_truth_info
 
PHG4Particlem_g4particle
 
std::string m_df_module_name
 
std::string m_outfile_name
 
TFile * m_outfile
 
TTree * m_tree
 
bool m_write_nTuple
 
bool m_write_QAHists
 
DecayFinderContainer_v1m_decayMap = nullptr
 
int m_mother_PDG_ID_min = -421
 
int m_mother_PDG_ID_max = 421
 
int m_daughter_PDG_ID_min = -321
 
int m_daughter_PDG_ID_max = 321
 
int m_mass_nBins = 100
 
float m_mass_min = 0
 
float m_mass_max = 2
 
int m_decayLength_nBins = 100
 
float m_decayLength_min = 0
 
float m_decayLength_max = 1
 
int m_decayTime_nBins = 100
 
float m_decayTime_min = 0
 
float m_decayTime_max = 0.1
 
unsigned int m_event_number = 0
 
float m_mother_mass = -99
 
float m_daughter_sum_mass = 0
 
float m_mother_decayLength = -99
 
float m_mother_decayTime = -99
 
int m_mother_pdg_id = -99
 
float m_mother_px = 0
 
float m_mother_py = 0
 
float m_mother_pz = 0
 
float m_mother_pE = 0
 
float m_mother_pT = 0
 
float m_mother_eta = 0
 
int m_mother_barcode = -99
 
int m_track_pdg_id [max_tracks] = {0}
 
float m_track_px [max_tracks] = {0}
 
float m_track_py [max_tracks] = {0}
 
float m_track_pz [max_tracks] = {0}
 
float m_track_pE [max_tracks] = {0}
 
float m_track_pT [max_tracks] = {0}
 
float m_track_eta [max_tracks] = {0}
 
float m_track_mass [max_tracks] = {0}
 
int m_track_mother_barcode [max_tracks] = {0}
 
float m_delta_px = 0
 
float m_delta_py = 0
 
float m_delta_pz = 0
 
float m_delta_pE = 0
 
bool m_accept_px_1percent = false
 
bool m_accept_py_1percent = false
 
bool m_accept_pz_1percent = false
 
bool m_accept_pE_1percent = false
 
bool m_accept_px_5percent = false
 
bool m_accept_py_5percent = false
 
bool m_accept_pz_5percent = false
 
bool m_accept_pE_5percent = false
 
bool m_accept_px_15percent = false
 
bool m_accept_py_15percent = false
 
bool m_accept_pz_15percent = false
 
bool m_accept_pE_15percent = false
 
bool m_accept_eta = true
 
bool m_accept_pT = true
 

Static Private Attributes

static const int max_tracks = 20
 

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 at line 25 of file QAG4SimulationTruthDecay.h.

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

Member Typedef Documentation

typedef std::vector<std::pair<std::pair<int, int>, int> > QAG4SimulationTruthDecay::Decay
private

Definition at line 96 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 96 of file QAG4SimulationTruthDecay.h

Constructor & Destructor Documentation

QAG4SimulationTruthDecay::QAG4SimulationTruthDecay ( const std::string &  name = "QAG4SimulationTruthDecay")

Definition at line 35 of file QAG4SimulationTruthDecay.cc.

View newest version in sPHENIX GitHub at line 35 of file QAG4SimulationTruthDecay.cc

QAG4SimulationTruthDecay::~QAG4SimulationTruthDecay ( )
virtual

Definition at line 54 of file QAG4SimulationTruthDecay.cc.

View newest version in sPHENIX GitHub at line 54 of file QAG4SimulationTruthDecay.cc

Member Function Documentation

int QAG4SimulationTruthDecay::End ( PHCompositeNode topNode)
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 561 of file QAG4SimulationTruthDecay.cc.

View newest version in sPHENIX GitHub at line 561 of file QAG4SimulationTruthDecay.cc

References assert, Fun4AllReturnCodes::EVENT_OK, m_outfile, and m_write_nTuple.

std::string QAG4SimulationTruthDecay::get_histo_prefix ( )

Definition at line 691 of file QAG4SimulationTruthDecay.cc.

View newest version in sPHENIX GitHub at line 691 of file QAG4SimulationTruthDecay.cc

References Fun4AllBase::Name().

Referenced by Init(), and process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector< int > QAG4SimulationTruthDecay::getDecayFinderMothers ( PHCompositeNode topNode)
private

Definition at line 655 of file QAG4SimulationTruthDecay.cc.

View newest version in sPHENIX GitHub at line 655 of file QAG4SimulationTruthDecay.cc

References DecayFinderContainer_v1::begin(), DecayFinderContainer_v1::end(), m_decayMap, m_df_module_name, and m_nTracks.

Referenced by process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QAG4SimulationTruthDecay::getMotherPDG ( PHCompositeNode topNode)
private

Definition at line 636 of file QAG4SimulationTruthDecay.cc.

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

References DecayFinderContainer_v1::begin(), PHNodeIterator::findFirst(), m_decay_pdg_id, m_decayMap, and m_df_module_name.

Referenced by process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int QAG4SimulationTruthDecay::Init ( PHCompositeNode topNode)
overridevirtual

Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).

Reimplemented from SubsysReco.

Definition at line 57 of file QAG4SimulationTruthDecay.cc.

View newest version in sPHENIX GitHub at line 57 of file QAG4SimulationTruthDecay.cc

References assert, Fun4AllReturnCodes::EVENT_OK, get_histo_prefix(), QAHistManagerDef::getHistoManager(), h, i, m_daughter_PDG_ID_max, m_daughter_PDG_ID_min, m_decayLength_max, m_decayLength_min, m_decayLength_nBins, m_decayTime_max, m_decayTime_min, m_decayTime_nBins, m_mass_max, m_mass_min, m_mass_nBins, m_mother_PDG_ID_max, m_mother_PDG_ID_min, Fun4AllHistoManager::registerHisto(), and to_string().

+ Here is the call graph for this function:

void QAG4SimulationTruthDecay::initializeBranches ( )
private

Definition at line 575 of file QAG4SimulationTruthDecay.cc.

View newest version in sPHENIX GitHub at line 575 of file QAG4SimulationTruthDecay.cc

References i, m_accept_eta, m_accept_pE_15percent, m_accept_pE_1percent, m_accept_pE_5percent, m_accept_pT, m_accept_px_15percent, m_accept_px_1percent, m_accept_px_5percent, m_accept_py_15percent, m_accept_py_1percent, m_accept_py_5percent, m_accept_pz_15percent, m_accept_pz_1percent, m_accept_pz_5percent, m_daughter_sum_mass, m_delta_pE, m_delta_px, m_delta_py, m_delta_pz, m_event_number, m_mother_barcode, m_mother_decayLength, m_mother_decayTime, m_mother_eta, m_mother_mass, m_mother_pdg_id, m_mother_pE, m_mother_pT, m_mother_px, m_mother_py, m_mother_pz, m_nTracks, m_outfile, m_outfile_name, m_track_eta, m_track_mass, m_track_mother_barcode, m_track_pdg_id, m_track_pE, m_track_pT, m_track_px, m_track_py, m_track_pz, m_tree, and to_string().

Referenced by process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool QAG4SimulationTruthDecay::isInRange ( float  min,
float  value,
float  max 
)
private

Definition at line 675 of file QAG4SimulationTruthDecay.cc.

View newest version in sPHENIX GitHub at line 675 of file QAG4SimulationTruthDecay.cc

Referenced by process_event().

+ Here is the caller graph for this function:

int QAG4SimulationTruthDecay::process_event ( PHCompositeNode topNode)
overridevirtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

Definition at line 202 of file QAG4SimulationTruthDecay.cc.

View newest version in sPHENIX GitHub at line 202 of file QAG4SimulationTruthDecay.cc

References Fun4AllReturnCodes::ABORTEVENT, assert, parse_cmake_options::begin, candidateCounter, end, Fun4AllReturnCodes::EVENT_OK, PHG4Particle::get_barcode(), PHG4Particle::get_e(), get_histo_prefix(), PHG4Particle::get_parent_id(), PHG4Particle::get_pid(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4Particle::get_vtx_id(), PHG4VtxPoint::get_x(), PHG4VtxPoint::get_y(), PHG4VtxPoint::get_z(), getDecayFinderMothers(), Fun4AllHistoManager::getHisto(), QAHistManagerDef::getHistoManager(), getMotherPDG(), PHG4TruthInfoContainer::GetParticle(), PHG4TruthInfoContainer::GetParticleRange(), PHG4TruthInfoContainer::GetVtx(), initializeBranches(), isInRange(), m_accept_eta, m_accept_pE_15percent, m_accept_pE_1percent, m_accept_pE_5percent, m_accept_pT, m_accept_px_15percent, m_accept_px_1percent, m_accept_px_5percent, m_accept_py_15percent, m_accept_py_1percent, m_accept_py_5percent, m_accept_pz_15percent, m_accept_pz_1percent, m_accept_pz_5percent, m_daughter_sum_mass, m_decay_pdg_id, m_delta_pE, m_delta_px, m_delta_py, m_delta_pz, m_eta_max, m_eta_min, m_event_number, m_g4particle, m_mother_barcode, m_mother_decayLength, m_mother_decayTime, m_mother_eta, m_mother_mass, m_mother_pdg_id, m_mother_pE, m_mother_pT, m_mother_px, m_mother_py, m_mother_pz, m_nTracks, m_pt_min, m_track_eta, m_track_mass, m_track_mother_barcode, m_track_pdg_id, m_track_pE, m_track_pT, m_track_px, m_track_py, m_track_pz, m_tree, m_truth_info, m_write_nTuple, m_write_QAHists, and resetValues().

+ Here is the call graph for this function:

void QAG4SimulationTruthDecay::resetValues ( )
private

Definition at line 680 of file QAG4SimulationTruthDecay.cc.

View newest version in sPHENIX GitHub at line 680 of file QAG4SimulationTruthDecay.cc

References m_accept_eta, m_accept_pT, m_delta_pE, m_delta_px, m_delta_py, and m_delta_pz.

Referenced by process_event().

+ Here is the caller graph for this function:

void QAG4SimulationTruthDecay::setDaughterPDGRange ( int  min,
int  max 
)
inline

Definition at line 56 of file QAG4SimulationTruthDecay.h.

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

References m_daughter_PDG_ID_max, m_daughter_PDG_ID_min, and Acts::UnitConstants::min.

void QAG4SimulationTruthDecay::setDecayLengthRange ( float  min,
float  max 
)
inline

Definition at line 78 of file QAG4SimulationTruthDecay.h.

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

References m_decayLength_max, m_decayLength_min, and Acts::UnitConstants::min.

void QAG4SimulationTruthDecay::setDecayTimeRange ( float  min,
float  max 
)
inline

Definition at line 85 of file QAG4SimulationTruthDecay.h.

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

References m_decayTime_max, m_decayTime_min, and Acts::UnitConstants::min.

void QAG4SimulationTruthDecay::setDFNodeName ( const std::string &  name)
inline

Definition at line 91 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 91 of file QAG4SimulationTruthDecay.h

References m_df_module_name, and perf_headwind::name.

void QAG4SimulationTruthDecay::setEtaRange ( float  min,
float  max 
)
inline

Definition at line 64 of file QAG4SimulationTruthDecay.h.

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

References m_eta_max, m_eta_min, and Acts::UnitConstants::min.

void QAG4SimulationTruthDecay::setMassRange ( float  min,
float  max 
)
inline

Definition at line 71 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 71 of file QAG4SimulationTruthDecay.h

References m_mass_max, m_mass_min, and Acts::UnitConstants::min.

void QAG4SimulationTruthDecay::setMinPT ( float  value)
inline

Definition at line 62 of file QAG4SimulationTruthDecay.h.

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

References m_pt_min, and value.

void QAG4SimulationTruthDecay::setMotherPDG ( int  PDGID)
inline

Definition at line 49 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 49 of file QAG4SimulationTruthDecay.h

References m_decay_pdg_id.

void QAG4SimulationTruthDecay::setMotherPDGRange ( int  min,
int  max 
)
inline

Definition at line 51 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 51 of file QAG4SimulationTruthDecay.h

References m_mother_PDG_ID_max, m_mother_PDG_ID_min, and Acts::UnitConstants::min.

void QAG4SimulationTruthDecay::setNBinsDecayLength ( int  nBins)
inline

Definition at line 77 of file QAG4SimulationTruthDecay.h.

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

References m_decayLength_nBins.

void QAG4SimulationTruthDecay::setNBinsDecayTime ( int  nBins)
inline

Definition at line 84 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 84 of file QAG4SimulationTruthDecay.h

References m_decayTime_nBins.

void QAG4SimulationTruthDecay::setNBinsMass ( int  nBins)
inline

Definition at line 70 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 70 of file QAG4SimulationTruthDecay.h

References m_mass_nBins.

void QAG4SimulationTruthDecay::setOutputName ( const std::string &  name)
inline

Definition at line 92 of file QAG4SimulationTruthDecay.h.

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

References m_outfile_name, and perf_headwind::name.

void QAG4SimulationTruthDecay::writeTuple ( bool  write)
inline

Definition at line 93 of file QAG4SimulationTruthDecay.h.

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

References m_write_nTuple, and write().

+ Here is the call graph for this function:

Member Data Documentation

bool QAG4SimulationTruthDecay::m_accept_eta = true
private

Definition at line 176 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 176 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), process_event(), and resetValues().

bool QAG4SimulationTruthDecay::m_accept_pE_15percent = false
private

Definition at line 175 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 175 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_pE_1percent = false
private

Definition at line 167 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 167 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_pE_5percent = false
private

Definition at line 171 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 171 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_pT = true
private

Definition at line 177 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 177 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), process_event(), and resetValues().

bool QAG4SimulationTruthDecay::m_accept_px_15percent = false
private

Definition at line 172 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 172 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_px_1percent = false
private

Definition at line 164 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 164 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_px_5percent = false
private

Definition at line 168 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 168 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_py_15percent = false
private

Definition at line 173 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 173 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_py_1percent = false
private

Definition at line 165 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 165 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_py_5percent = false
private

Definition at line 169 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 169 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_pz_15percent = false
private

Definition at line 174 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 174 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_pz_1percent = false
private

Definition at line 166 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 166 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

bool QAG4SimulationTruthDecay::m_accept_pz_5percent = false
private

Definition at line 170 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 170 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

int QAG4SimulationTruthDecay::m_daughter_PDG_ID_max = 321
private

Definition at line 123 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setDaughterPDGRange().

int QAG4SimulationTruthDecay::m_daughter_PDG_ID_min = -321
private

Definition at line 122 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setDaughterPDGRange().

float QAG4SimulationTruthDecay::m_daughter_sum_mass = 0
private

Definition at line 140 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 140 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

int QAG4SimulationTruthDecay::m_decay_pdg_id
private

Definition at line 102 of file QAG4SimulationTruthDecay.h.

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

Referenced by getMotherPDG(), process_event(), and setMotherPDG().

float QAG4SimulationTruthDecay::m_decayLength_max = 1
private

Definition at line 131 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setDecayLengthRange().

float QAG4SimulationTruthDecay::m_decayLength_min = 0
private

Definition at line 130 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 130 of file QAG4SimulationTruthDecay.h

Referenced by Init(), and setDecayLengthRange().

int QAG4SimulationTruthDecay::m_decayLength_nBins = 100
private

Definition at line 129 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setNBinsDecayLength().

DecayFinderContainer_v1* QAG4SimulationTruthDecay::m_decayMap = nullptr
private

Definition at line 112 of file QAG4SimulationTruthDecay.h.

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

Referenced by getDecayFinderMothers(), and getMotherPDG().

float QAG4SimulationTruthDecay::m_decayTime_max = 0.1
private

Definition at line 135 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setDecayTimeRange().

float QAG4SimulationTruthDecay::m_decayTime_min = 0
private

Definition at line 134 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setDecayTimeRange().

int QAG4SimulationTruthDecay::m_decayTime_nBins = 100
private

Definition at line 133 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setNBinsDecayTime().

float QAG4SimulationTruthDecay::m_delta_pE = 0
private

Definition at line 163 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 163 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), process_event(), and resetValues().

float QAG4SimulationTruthDecay::m_delta_px = 0
private

Definition at line 160 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 160 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), process_event(), and resetValues().

float QAG4SimulationTruthDecay::m_delta_py = 0
private

Definition at line 161 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 161 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), process_event(), and resetValues().

float QAG4SimulationTruthDecay::m_delta_pz = 0
private

Definition at line 162 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 162 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), process_event(), and resetValues().

std::string QAG4SimulationTruthDecay::m_df_module_name
private

Definition at line 106 of file QAG4SimulationTruthDecay.h.

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

Referenced by getDecayFinderMothers(), getMotherPDG(), and setDFNodeName().

float QAG4SimulationTruthDecay::m_eta_max
private

Definition at line 101 of file QAG4SimulationTruthDecay.h.

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

Referenced by process_event(), and setEtaRange().

float QAG4SimulationTruthDecay::m_eta_min
private

Definition at line 100 of file QAG4SimulationTruthDecay.h.

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

Referenced by process_event(), and setEtaRange().

unsigned int QAG4SimulationTruthDecay::m_event_number = 0
private

Definition at line 138 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 138 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

PHG4Particle* QAG4SimulationTruthDecay::m_g4particle
private

Definition at line 105 of file QAG4SimulationTruthDecay.h.

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

Referenced by process_event().

float QAG4SimulationTruthDecay::m_mass_max = 2
private

Definition at line 127 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setMassRange().

float QAG4SimulationTruthDecay::m_mass_min = 0
private

Definition at line 126 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setMassRange().

int QAG4SimulationTruthDecay::m_mass_nBins = 100
private

Definition at line 125 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setNBinsMass().

int QAG4SimulationTruthDecay::m_mother_barcode = -99
private

Definition at line 150 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 150 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_mother_decayLength = -99
private

Definition at line 141 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 141 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_mother_decayTime = -99
private

Definition at line 142 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 142 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_mother_eta = 0
private

Definition at line 149 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 149 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_mother_mass = -99
private

Definition at line 139 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 139 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

int QAG4SimulationTruthDecay::m_mother_pdg_id = -99
private

Definition at line 143 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 143 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

int QAG4SimulationTruthDecay::m_mother_PDG_ID_max = 421
private

Definition at line 121 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setMotherPDGRange().

int QAG4SimulationTruthDecay::m_mother_PDG_ID_min = -421
private

Definition at line 120 of file QAG4SimulationTruthDecay.h.

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

Referenced by Init(), and setMotherPDGRange().

float QAG4SimulationTruthDecay::m_mother_pE = 0
private

Definition at line 147 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 147 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_mother_pT = 0
private

Definition at line 148 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 148 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_mother_px = 0
private

Definition at line 144 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 144 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_mother_py = 0
private

Definition at line 145 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 145 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_mother_pz = 0
private

Definition at line 146 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 146 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

unsigned int QAG4SimulationTruthDecay::m_nTracks
private

Definition at line 98 of file QAG4SimulationTruthDecay.h.

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

Referenced by getDecayFinderMothers(), initializeBranches(), and process_event().

TFile* QAG4SimulationTruthDecay::m_outfile
private

Definition at line 108 of file QAG4SimulationTruthDecay.h.

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

Referenced by End(), and initializeBranches().

std::string QAG4SimulationTruthDecay::m_outfile_name
private

Definition at line 107 of file QAG4SimulationTruthDecay.h.

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

Referenced by initializeBranches(), and setOutputName().

float QAG4SimulationTruthDecay::m_pt_min
private

Definition at line 99 of file QAG4SimulationTruthDecay.h.

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

Referenced by process_event(), and setMinPT().

float QAG4SimulationTruthDecay::m_track_eta[max_tracks] = {0}
private

Definition at line 157 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 157 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_track_mass[max_tracks] = {0}
private

Definition at line 158 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 158 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

int QAG4SimulationTruthDecay::m_track_mother_barcode[max_tracks] = {0}
private

Definition at line 159 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 159 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

int QAG4SimulationTruthDecay::m_track_pdg_id[max_tracks] = {0}
private

Definition at line 151 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 151 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_track_pE[max_tracks] = {0}
private

Definition at line 155 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 155 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_track_pT[max_tracks] = {0}
private

Definition at line 156 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 156 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_track_px[max_tracks] = {0}
private

Definition at line 152 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 152 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_track_py[max_tracks] = {0}
private

Definition at line 153 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 153 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

float QAG4SimulationTruthDecay::m_track_pz[max_tracks] = {0}
private

Definition at line 154 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 154 of file QAG4SimulationTruthDecay.h

Referenced by initializeBranches(), and process_event().

TTree* QAG4SimulationTruthDecay::m_tree
private

Definition at line 109 of file QAG4SimulationTruthDecay.h.

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

Referenced by initializeBranches(), and process_event().

PHG4TruthInfoContainer* QAG4SimulationTruthDecay::m_truth_info
private

Definition at line 104 of file QAG4SimulationTruthDecay.h.

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

Referenced by process_event().

bool QAG4SimulationTruthDecay::m_write_nTuple
private

Definition at line 110 of file QAG4SimulationTruthDecay.h.

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

Referenced by End(), process_event(), and writeTuple().

bool QAG4SimulationTruthDecay::m_write_QAHists
private

Definition at line 111 of file QAG4SimulationTruthDecay.h.

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

Referenced by process_event().

const int QAG4SimulationTruthDecay::max_tracks = 20
staticprivate

Definition at line 137 of file QAG4SimulationTruthDecay.h.

View newest version in sPHENIX GitHub at line 137 of file QAG4SimulationTruthDecay.h


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