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

#include <coresoftware/blob/master/offline/packages/KFParticle_sPHENIX/KFParticle_sPHENIX.h>

+ Inheritance diagram for KFParticle_sPHENIX:
+ Collaboration diagram for KFParticle_sPHENIX:

Public Member Functions

 KFParticle_sPHENIX ()
 KFParticle constructor.
 
 KFParticle_sPHENIX (const std::string &name)
 
 ~KFParticle_sPHENIX () override=default
 
int Init (PHCompositeNode *topNode) override
 
int InitRun (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
int End (PHCompositeNode *topNode) override
 Called at the end of all processing.
 
void printParticles (const KFParticle &motherParticle, const KFParticle &chosenVertex, const std::vector< KFParticle > &daughterParticles, const std::vector< KFParticle > &intermediateParticles, const int numPVs, const int numTracks)
 
int parseDecayDescriptor ()
 
void setDecayDescriptor (const std::string &decayDescriptor)
 Parameters for the user to vary.
 
void setMotherName (const std::string &mother_name)
 
void useIntermediateName (bool use_intermediate_name)
 
void hasIntermediateStates (bool has_intermediates)
 
void setNumberOfTracks (int num_tracks)
 
void setNumberTracksFromIntermeditateState (const std::vector< int > &num_tracks)
 
void setNumberOfIntermediateStates (int n_intermediates)
 
void getChargeConjugate (bool get_charge_conjugate)
 
void setDaughters (std::vector< std::pair< std::string, int > > daughter_list)
 
void setIntermediateStates (std::vector< std::pair< std::string, int > > intermediate_list)
 
void setMinimumMass (float min_mass)
 
void setMaximumMass (float max_mass)
 
void setDecayTimeRange (float min_decayTime, float max_decayTime)
 
void setDecayLengthRange (float min_decayLength, float max_decayLength)
 
void setMinimumTrackPT (float pt)
 
void setMaximumTrackPTchi2 (float ptchi2)
 
void setMinimumTrackIP (float ip)
 
void setMinimumTrackIPchi2 (float ipchi2)
 
void setMaximumTrackchi2nDOF (float trackchi2ndof)
 
void setMinMVTXhits (int nHits)
 
void setMinTPChits (int nHits)
 
void setMaximumDaughterDCA (float dca)
 
void setMaximumVertexchi2nDOF (float vertexchi2nDOF)
 
void setFlightDistancechi2 (float fdchi2)
 
void setMinDIRA (float dira_min)
 
void setMaxDIRA (float dira_max)
 
void setMotherPT (float mother_pt)
 
void setMotherIPchi2 (float mother_ipchi2)
 
void setMaximumMotherVertexVolume (float vertexvol)
 
void constrainToPrimaryVertex (bool constrain_to_vertex)
 
void useFakePrimaryVertex (bool use_fake)
 
void allowZeroMassTracks (bool allow)
 
void extraolateTracksToSV (bool extrapolate)
 
void constrainIntermediateMasses (bool constrain_int_mass)
 
void setIntermediateMassRange (std::vector< std::pair< float, float > > intermediate_mass_range)
 
void setIntermediateMinPT (const std::vector< float > &intermediate_min_pt)
 
void setIntermediateMinIP (const std::vector< float > &intermediate_min_IP)
 
void setIntermediateIPRange (const std::vector< std::pair< float, float > > &intermediate_IP_range)
 
void setIntermediateMinIPchi2 (const std::vector< float > &intermediate_min_IPchi2)
 
void setIntermediateIPchi2Range (const std::vector< std::pair< float, float > > &intermediate_IPchi2_range)
 
void setIntermediateMinDIRA (const std::vector< float > &intermediate_min_DIRA)
 
void setIntermediateMinFDchi2 (const std::vector< float > &intermediate_min_FDchi2)
 
void setIntermediateMaxVertexVolume (const std::vector< float > &intermediate_max_vertexvol)
 
void useMVA (bool require_mva)
 
void setNumMVAPars (unsigned int nPars)
 
void setMVAVarList (std::vector< std::string > mva_variable_list)
 
void setMVAType (const std::string &mva_type)
 
void setMVAWeightsPath (const std::string &mva_weights_path)
 
void setMVACutValue (float cut_value)
 
void saveDST (bool save)
 
void saveTrackContainer (bool save)
 
void saveParticleContainer (bool save)
 
void setContainerName (const std::string &name)
 
void saveOutput (bool save)
 
void setOutputName (const std::string &name)
 
void doTruthMatching (bool truth)
 
void getDetectorInfo (bool detinfo)
 
void getCaloInfo (bool caloinfo)
 
void getAllPVInfo (bool pvinfo)
 
void setVertexMapNodeName (const std::string &vtx_map_node_name)
 Use alternate vertex and track fitters.
 
void setTrackMapNodeName (const std::string &trk_map_node_name)
 Use alternate vertex and track fitters.
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int EndRun (const int)
 Called at the end of each run.
 
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.
 
- Public Member Functions inherited from KFParticle_nTuple
 KFParticle_nTuple ()
 Constructor.
 
 ~KFParticle_nTuple () override=default
 Destructor.
 
void initializeVariables ()
 Unused for now, variables are initialised in the header.
 
void initializeBranches ()
 Initialises required branches based off the user selection (number of tracks, PV constraints etc ) and sets branch names if specified.
 
void fillBranch (PHCompositeNode *topNode, KFParticle motherParticle, const KFParticle &vertex, std::vector< KFParticle > daughters, std::vector< KFParticle > intermediates, int nPVs, int multiplicity)
 Fills required information for your selection, also requests truth and detector information if needed.
 
float calc_secondary_vertex_mass_noPID (std::vector< KFParticle > kfp_daughters)
 
- Public Member Functions inherited from KFParticle_truthAndDetTools
 KFParticle_truthAndDetTools ()
 
virtual ~KFParticle_truthAndDetTools ()
 
SvtxTrackgetTrack (unsigned int track_id, SvtxTrackMap *trackmap)
 
GlobalVertexgetVertex (unsigned int vertex_id, GlobalVertexMap *vertexmap)
 
PHG4ParticlegetTruthTrack (SvtxTrack *thisTrack, PHCompositeNode *topNode)
 
void initializeTruthBranches (TTree *m_tree, int daughter_id, const std::string &daughter_number, bool m_constrain_to_vertex_truthMatch)
 
void fillTruthBranch (PHCompositeNode *topNode, TTree *m_tree, const KFParticle &daughter, int daughter_id, const KFParticle &vertex, bool m_constrain_to_vertex_truthMatch)
 
void fillGeant4Branch (PHG4Particle *particle, int daughter_id)
 
void fillHepMCBranch (HepMC::GenParticle *particle, int daughter_id)
 
int getHepMCInfo (PHCompositeNode *topNode, TTree *m_tree, const KFParticle &daughter, int daughter_id)
 
void initializeCaloBranches (TTree *m_tree, int daughter_id, const std::string &daughter_number)
 
void fillCaloBranch (PHCompositeNode *topNode, TTree *m_tree, const KFParticle &daughter, int daughter_id)
 
void initializeDetectorBranches (TTree *m_tree, int daughter_id, const std::string &daughter_number)
 
void initializeSubDetectorBranches (TTree *m_tree, const std::string &detectorName, int daughter_id, const std::string &daughter_number)
 
void fillDetectorBranch (PHCompositeNode *topNode, TTree *m_tree, const KFParticle &daughter, int daughter_id)
 
void allPVInfo (PHCompositeNode *topNode, TTree *m_tree, const KFParticle &motherParticle, std::vector< KFParticle > daughters, std::vector< KFParticle > intermediates)
 
void clearVectors ()
 
- Public Member Functions inherited from KFParticle_DST
 KFParticle_DST ()=default
 Constructor.
 
virtual ~KFParticle_DST ()=default
 Destructor.
 
int createParticleNode (PHCompositeNode *topNode)
 Places a KFParticle_Container and SvtxTrackMap on the node tree if they don't exist.
 
void fillParticleNode (PHCompositeNode *topNode, const KFParticle &motherParticle, const std::vector< KFParticle > &daughters, const std::vector< KFParticle > &intermediates)
 Simultaneously fills a KFParticle_Container and SvtxTrackMap if they are enabled.
 
void fillParticleNode_Track (PHCompositeNode *topNode, const KFParticle &motherParticle, std::vector< KFParticle > daughters, std::vector< KFParticle > intermediates)
 Called by fillParticleNode, fills an SvtxTrackMap.
 
void fillParticleNode_Particle (PHCompositeNode *topNode, const KFParticle &motherParticle, std::vector< KFParticle > daughters, std::vector< KFParticle > intermediates)
 Called by fillParticleNode, fills a KFParitcle_Container.
 
void printNode (PHCompositeNode *topNode)
 Prints contents of KFParticle_Containers and SvtxTrackMaps for an event if they are enabled.
 

Static Public Attributes

static const int max_particles = 99
 

Private Attributes

bool m_has_intermediates_sPHENIX
 
bool m_constrain_to_vertex_sPHENIX
 
bool m_require_mva
 
bool m_save_dst
 
bool m_save_output
 
std::string m_outfile_name
 
TFile * m_outfile
 
std::string m_decayDescriptor
 

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")
 
- Protected Member Functions inherited from KFParticle_eventReconstruction
 KFParticle_eventReconstruction ()
 KFParticle constructor.
 
 ~KFParticle_eventReconstruction () override=default
 
void createDecay (PHCompositeNode *topNode, std::vector< KFParticle > &selectedMother, std::vector< KFParticle > &selectedVertex, std::vector< std::vector< KFParticle >> &selectedDaughters, std::vector< std::vector< KFParticle >> &selectedIntermediates, int &nPVs, int &multiplicity)
 
void buildBasicChain (std::vector< KFParticle > &selectedMotherBasic, std::vector< KFParticle > &selectedVertexBasic, std::vector< std::vector< KFParticle >> &selectedDaughtersBasic, const std::vector< KFParticle > &daughterParticlesBasic, const std::vector< int > &goodTrackIndexBasic, const std::vector< KFParticle > &primaryVerticesBasic)
 Used to reconstruct simple decays with no intermediate states.
 
void buildChain (std::vector< KFParticle > &selectedMotherAdv, std::vector< KFParticle > &selectedVertexAdv, std::vector< std::vector< KFParticle >> &selectedDaughtersAdv, std::vector< std::vector< KFParticle >> &selectedIntermediatesAdv, const std::vector< KFParticle > &daughterParticlesAdv, const std::vector< int > &goodTrackIndexAdv, const std::vector< KFParticle > &primaryVerticesAdv)
 Used to reconstruct more complicated decays with up to four intermediate states.
 
void getCandidateDecay (std::vector< KFParticle > &selectedMotherCand, std::vector< KFParticle > &selectedVertexCand, std::vector< std::vector< KFParticle >> &selectedDaughtersCand, std::vector< KFParticle > daughterParticlesCand, std::vector< std::vector< int >> goodTracksThatMeetCand, std::vector< KFParticle > primaryVerticesCand, int n_track_start, int n_track_stop, bool isIntermediate, int intermediateNumber, bool constrainMass)
 Basic building block for event reconstruction and selection.
 
int selectBestCombination (bool PVconstraint, bool isAnInterMother, std::vector< KFParticle > possibleCandidates, std::vector< KFParticle > possibleVertex)
 Method to chose best candidate from a selection of common SV's.
 
KFParticle createFakePV ()
 
- Protected Attributes inherited from KFParticle_nTuple
bool m_has_intermediates_nTuple
 
bool m_extrapolateTracksToSV_nTuple
 
bool m_constrain_to_vertex_nTuple
 
bool m_get_all_PVs
 
std::vector< int > m_num_tracks_from_intermediate_nTuple
 
bool m_truth_matching
 
bool m_detector_info
 
bool m_calo_info
 
std::string m_mother_name
 
bool m_use_intermediate_name
 
bool m_get_charge_conjugate_nTuple
 
std::vector< std::string > m_intermediate_name_ntuple
 
- Protected Attributes inherited from KFParticle_DST
bool m_has_intermediates_DST = false
 
bool m_write_track_container = true
 
bool m_write_particle_container = true
 
std::string m_container_name
 
- Static Protected Attributes inherited from KFParticle_truthAndDetTools
static const int max_tracks = 20
 

Detailed Description

Definition at line 51 of file KFParticle_sPHENIX.h.

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

Constructor & Destructor Documentation

KFParticle_sPHENIX::KFParticle_sPHENIX ( )

KFParticle constructor.

Definition at line 58 of file KFParticle_sPHENIX.cc.

View newest version in sPHENIX GitHub at line 58 of file KFParticle_sPHENIX.cc

KFParticle_sPHENIX::KFParticle_sPHENIX ( const std::string &  name)
explicit

Definition at line 70 of file KFParticle_sPHENIX.cc.

View newest version in sPHENIX GitHub at line 70 of file KFParticle_sPHENIX.cc

KFParticle_sPHENIX::~KFParticle_sPHENIX ( )
overridedefault

Member Function Documentation

void KFParticle_sPHENIX::allowZeroMassTracks ( bool  allow)
inline

Definition at line 204 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 204 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_allowZeroMassTracks.

Referenced by HFjets::KFParticle_Set_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::constrainIntermediateMasses ( bool  constrain_int_mass)
inline

Definition at line 212 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 212 of file KFParticle_sPHENIX.h

References KFParticle_eventReconstruction::m_constrain_int_mass.

void KFParticle_sPHENIX::constrainToPrimaryVertex ( bool  constrain_to_vertex)
inline

Definition at line 195 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 195 of file KFParticle_sPHENIX.h

References KFParticle_eventReconstruction::m_constrain_to_vertex, KFParticle_nTuple::m_constrain_to_vertex_nTuple, and m_constrain_to_vertex_sPHENIX.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::doTruthMatching ( bool  truth)
inline

Definition at line 294 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 294 of file KFParticle_sPHENIX.h

References KFParticle_nTuple::m_truth_matching.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

int KFParticle_sPHENIX::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 229 of file KFParticle_sPHENIX.cc.

View newest version in sPHENIX GitHub at line 229 of file KFParticle_sPHENIX.cc

References candidateCounter, m_outfile, m_save_output, and Fun4AllBase::Name().

+ Here is the call graph for this function:

void KFParticle_sPHENIX::extraolateTracksToSV ( bool  extrapolate)
inline

Definition at line 206 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 206 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_extrapolateTracksToSV, and KFParticle_nTuple::m_extrapolateTracksToSV_nTuple.

void KFParticle_sPHENIX::getAllPVInfo ( bool  pvinfo)
inline

Definition at line 300 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 300 of file KFParticle_sPHENIX.h

References KFParticle_nTuple::m_get_all_PVs.

Referenced by HFjets::KFParticle_Set_Reco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::getCaloInfo ( bool  caloinfo)
inline

Definition at line 298 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 298 of file KFParticle_sPHENIX.h

References KFParticle_nTuple::m_calo_info.

Referenced by HFjets::KFParticle_Set_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::getChargeConjugate ( bool  get_charge_conjugate)
inline

Definition at line 124 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_get_charge_conjugate, and KFParticle_nTuple::m_get_charge_conjugate_nTuple.

Referenced by parseDecayDescriptor().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::getDetectorInfo ( bool  detinfo)
inline

Definition at line 296 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 296 of file KFParticle_sPHENIX.h

References KFParticle_nTuple::m_detector_info.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::hasIntermediateStates ( bool  has_intermediates)
inline

Definition at line 95 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_has_intermediates, KFParticle_DST::m_has_intermediates_DST, KFParticle_nTuple::m_has_intermediates_nTuple, and m_has_intermediates_sPHENIX.

Referenced by parseDecayDescriptor().

+ Here is the caller graph for this function:

int KFParticle_sPHENIX::Init ( PHCompositeNode )
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 82 of file KFParticle_sPHENIX.cc.

View newest version in sPHENIX GitHub at line 82 of file KFParticle_sPHENIX.cc

References KFParticle_DST::createParticleNode(), KFParticle_MVA::initMVA(), m_decayDescriptor, m_outfile_name, m_require_mva, m_save_dst, m_save_output, parseDecayDescriptor(), summary::reader, Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.

+ Here is the call graph for this function:

int KFParticle_sPHENIX::InitRun ( PHCompositeNode )
overridevirtual

Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.

Reimplemented from SubsysReco.

Definition at line 110 of file KFParticle_sPHENIX.cc.

View newest version in sPHENIX GitHub at line 110 of file KFParticle_sPHENIX.cc

References assert, CDBInterface::getUrl(), and CDBInterface::instance().

+ Here is the call graph for this function:

int KFParticle_sPHENIX::parseDecayDescriptor ( )

Definition at line 285 of file KFParticle_sPHENIX.cc.

View newest version in sPHENIX GitHub at line 285 of file KFParticle_sPHENIX.cc

References Fun4AllReturnCodes::ABORTRUN, parse_cmake_options::begin, Acts::PhysicalConstants::c, end, KFParticle_Tools::findParticle(), getChargeConjugate(), hasIntermediateStates(), i, j, m_decayDescriptor, Fun4AllBase::Name(), Acts::Test::pos, setDaughters(), setIntermediateStates(), setMotherName(), setNumberOfIntermediateStates(), setNumberOfTracks(), setNumberTracksFromIntermeditateState(), Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_MORE, and Fun4AllBase::VERBOSITY_SOME.

Referenced by Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::printParticles ( const KFParticle motherParticle,
const KFParticle chosenVertex,
const std::vector< KFParticle > &  daughterParticles,
const std::vector< KFParticle > &  intermediateParticles,
const int  numPVs,
const int  numTracks 
)

If verbosity is > 0, this will print out all candidate information: masses, momenta and positions for mothers, intermediates and final state tracks, PV position, number of vertices and number of tracks in the event (multiplicity)

Definition at line 243 of file KFParticle_sPHENIX.cc.

View newest version in sPHENIX GitHub at line 243 of file KFParticle_sPHENIX.cc

References KFParticle::GetCovariance(), KFParticle::GetX(), KFParticle::GetY(), KFParticle::GetZ(), KFParticle_Tools::identify(), m_constrain_to_vertex_sPHENIX, and m_has_intermediates_sPHENIX.

Referenced by process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::saveDST ( bool  save)
inline

Definition at line 282 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 282 of file KFParticle_sPHENIX.h

References m_save_dst, and save().

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), and myHeavyFlavorReco().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::saveOutput ( bool  save)
inline

Definition at line 290 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 290 of file KFParticle_sPHENIX.h

References m_save_output, and save().

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), and KFParticle_Upsilon_Reco().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::saveParticleContainer ( bool  save)
inline

Definition at line 286 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 286 of file KFParticle_sPHENIX.h

References KFParticle_DST::m_write_particle_container, and save().

Referenced by myHeavyFlavorReco().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::saveTrackContainer ( bool  save)
inline

Definition at line 284 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 284 of file KFParticle_sPHENIX.h

References KFParticle_DST::m_write_track_container, and save().

+ Here is the call graph for this function:

void KFParticle_sPHENIX::setContainerName ( const std::string &  name)
inline

Definition at line 288 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 288 of file KFParticle_sPHENIX.h

References KFParticle_DST::m_container_name, and perf_headwind::name.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), and KFParticle_Upsilon_Reco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setDaughters ( std::vector< std::pair< std::string, int > >  daughter_list)
inline

Definition at line 130 of file KFParticle_sPHENIX.h.

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

References i, KFParticle_Tools::m_daughter_charge, and KFParticle_Tools::m_daughter_name.

Referenced by parseDecayDescriptor().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setDecayDescriptor ( const std::string &  decayDescriptor)
inline

Parameters for the user to vary.

Definition at line 83 of file KFParticle_sPHENIX.h.

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

References HeavyFlavorReco::decayDescriptor, and m_decayDescriptor.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setDecayLengthRange ( float  min_decayLength,
float  max_decayLength 
)
inline

Definition at line 159 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_max_decayLength, and KFParticle_Tools::m_min_decayLength.

Referenced by myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setDecayTimeRange ( float  min_decayTime,
float  max_decayTime 
)
inline

Definition at line 153 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_max_decayTime, and KFParticle_Tools::m_min_decayTime.

void KFParticle_sPHENIX::setFlightDistancechi2 ( float  fdchi2)
inline

Definition at line 183 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 183 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_fdchi2.

Referenced by HFjets::KFParticle_Set_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setIntermediateIPchi2Range ( const std::vector< std::pair< float, float > > &  intermediate_IPchi2_range)
inline

Definition at line 243 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 243 of file KFParticle_sPHENIX.h

References i, KFParticle_Tools::m_intermediate_max_ipchi2, and KFParticle_Tools::m_intermediate_min_ipchi2.

Referenced by myDemoReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setIntermediateIPRange ( const std::vector< std::pair< float, float > > &  intermediate_IP_range)
inline

Definition at line 229 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 229 of file KFParticle_sPHENIX.h

References i, KFParticle_Tools::m_intermediate_max_ip, and KFParticle_Tools::m_intermediate_min_ip.

Referenced by myDemoReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setIntermediateMassRange ( std::vector< std::pair< float, float > >  intermediate_mass_range)
inline

Definition at line 214 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 214 of file KFParticle_sPHENIX.h

References i, and KFParticle_Tools::m_intermediate_mass_range.

Referenced by myDemoReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setIntermediateMaxVertexVolume ( const std::vector< float > &  intermediate_max_vertexvol)
inline

Definition at line 262 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 262 of file KFParticle_sPHENIX.h

References i, and KFParticle_Tools::m_intermediate_vertex_volume.

Referenced by myDemoReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setIntermediateMinDIRA ( const std::vector< float > &  intermediate_min_DIRA)
inline

Definition at line 252 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 252 of file KFParticle_sPHENIX.h

References i, and KFParticle_Tools::m_intermediate_min_dira.

Referenced by myDemoReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setIntermediateMinFDchi2 ( const std::vector< float > &  intermediate_min_FDchi2)
inline

Definition at line 257 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 257 of file KFParticle_sPHENIX.h

References i, and KFParticle_Tools::m_intermediate_min_fdchi2.

Referenced by myDemoReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setIntermediateMinIP ( const std::vector< float > &  intermediate_min_IP)
inline

Definition at line 224 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 224 of file KFParticle_sPHENIX.h

References i, and KFParticle_Tools::m_intermediate_min_ip.

void KFParticle_sPHENIX::setIntermediateMinIPchi2 ( const std::vector< float > &  intermediate_min_IPchi2)
inline

Definition at line 238 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 238 of file KFParticle_sPHENIX.h

References i, and KFParticle_Tools::m_intermediate_min_ipchi2.

void KFParticle_sPHENIX::setIntermediateMinPT ( const std::vector< float > &  intermediate_min_pt)
inline

Definition at line 219 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 219 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_intermediate_min_pt.

Referenced by myDemoReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setIntermediateStates ( std::vector< std::pair< std::string, int > >  intermediate_list)
inline

Definition at line 139 of file KFParticle_sPHENIX.h.

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

References i, KFParticle_Tools::m_intermediate_charge, KFParticle_Tools::m_intermediate_name, and KFParticle_nTuple::m_intermediate_name_ntuple.

Referenced by parseDecayDescriptor().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMaxDIRA ( float  dira_max)
inline

Definition at line 187 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 187 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_dira_max.

void KFParticle_sPHENIX::setMaximumDaughterDCA ( float  dca)
inline

Definition at line 179 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 179 of file KFParticle_sPHENIX.h

References INTTVtxZ::dca, and KFParticle_Tools::m_comb_DCA.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMaximumMass ( float  max_mass)
inline

Definition at line 151 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_max_mass.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMaximumMotherVertexVolume ( float  vertexvol)
inline

Definition at line 193 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 193 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_mother_vertex_volume.

Referenced by myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMaximumTrackchi2nDOF ( float  trackchi2ndof)
inline

Definition at line 173 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_track_chi2ndof.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMaximumTrackPTchi2 ( float  ptchi2)
inline

Definition at line 167 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_track_ptchi2.

void KFParticle_sPHENIX::setMaximumVertexchi2nDOF ( float  vertexchi2nDOF)
inline

Definition at line 181 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 181 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_vertex_chi2ndof.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMinDIRA ( float  dira_min)
inline

Definition at line 185 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 185 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_dira_min.

Referenced by HFjets::KFParticle_Set_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMinimumMass ( float  min_mass)
inline

Definition at line 149 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_min_mass.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMinimumTrackIP ( float  ip)
inline

Definition at line 169 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_track_ip.

Referenced by HFjets::KFParticle_Set_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMinimumTrackIPchi2 ( float  ipchi2)
inline

Definition at line 171 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_track_ipchi2.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMinimumTrackPT ( float  pt)
inline

Definition at line 165 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_track_pt, and physmon_track_finding_ttbar::pt.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMinMVTXhits ( int  nHits)
inline

Definition at line 175 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_nMVTXHits.

void KFParticle_sPHENIX::setMinTPChits ( int  nHits)
inline

Definition at line 177 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_nTPCHits.

void KFParticle_sPHENIX::setMotherIPchi2 ( float  mother_ipchi2)
inline

Definition at line 191 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 191 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_mother_ipchi2.

Referenced by HFjets::KFParticle_Set_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMotherName ( const std::string &  mother_name)
inline

Definition at line 87 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 87 of file KFParticle_sPHENIX.h

References KFParticle_nTuple::m_mother_name, and KFParticle_Tools::m_mother_name_Tools.

Referenced by parseDecayDescriptor().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMotherPT ( float  mother_pt)
inline

Definition at line 189 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 189 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_mother_pt.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setMVACutValue ( float  cut_value)
inline

Definition at line 280 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 280 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_mva_cut_value.

void KFParticle_sPHENIX::setMVAType ( const std::string &  mva_type)
inline

Definition at line 276 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 276 of file KFParticle_sPHENIX.h

References KFParticle_MVA::m_mva_type.

void KFParticle_sPHENIX::setMVAVarList ( std::vector< std::string >  mva_variable_list)
inline

Definition at line 271 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 271 of file KFParticle_sPHENIX.h

References i, and KFParticle_MVA::m_mva_variable_list.

void KFParticle_sPHENIX::setMVAWeightsPath ( const std::string &  mva_weights_path)
inline

Definition at line 278 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 278 of file KFParticle_sPHENIX.h

References KFParticle_MVA::m_mva_path.

void KFParticle_sPHENIX::setNumberOfIntermediateStates ( int  n_intermediates)
inline

Definition at line 118 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_num_intermediate_states, and KFParticle_truthAndDetTools::m_num_intermediate_states_nTuple.

Referenced by parseDecayDescriptor().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setNumberOfTracks ( int  num_tracks)
inline

Definition at line 103 of file KFParticle_sPHENIX.h.

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

References KFParticle_Tools::m_num_tracks, and KFParticle_truthAndDetTools::m_num_tracks_nTuple.

Referenced by parseDecayDescriptor().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setNumberTracksFromIntermeditateState ( const std::vector< int > &  num_tracks)
inline

Definition at line 109 of file KFParticle_sPHENIX.h.

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

References i, KFParticle_Tools::m_num_tracks_from_intermediate, and KFParticle_nTuple::m_num_tracks_from_intermediate_nTuple.

Referenced by parseDecayDescriptor().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setNumMVAPars ( unsigned int  nPars)
inline

Definition at line 269 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 269 of file KFParticle_sPHENIX.h

References KFParticle_MVA::m_nPars.

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

Definition at line 292 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 292 of file KFParticle_sPHENIX.h

References m_outfile_name, and perf_headwind::name.

Referenced by KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), HFjets::KFParticle_Set_Reco(), KFParticle_Upsilon_Reco(), myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setTrackMapNodeName ( const std::string &  trk_map_node_name)
inline

Use alternate vertex and track fitters.

Definition at line 306 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 306 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_trk_map_node_name, and KFParticle_truthAndDetTools::m_trk_map_node_name_nTuple.

Referenced by myDemoReco(), and myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::setVertexMapNodeName ( const std::string &  vtx_map_node_name)
inline

Use alternate vertex and track fitters.

Definition at line 303 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 303 of file KFParticle_sPHENIX.h

References KFParticle_Tools::m_vtx_map_node_name, and KFParticle_truthAndDetTools::m_vtx_map_node_name_nTuple.

void KFParticle_sPHENIX::useFakePrimaryVertex ( bool  use_fake)
inline

Definition at line 202 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 202 of file KFParticle_sPHENIX.h

References KFParticle_eventReconstruction::m_use_fake_pv.

Referenced by myHeavyFlavorReco().

+ Here is the caller graph for this function:

void KFParticle_sPHENIX::useIntermediateName ( bool  use_intermediate_name)
inline

Definition at line 93 of file KFParticle_sPHENIX.h.

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

References KFParticle_nTuple::m_use_intermediate_name.

void KFParticle_sPHENIX::useMVA ( bool  require_mva)
inline

Definition at line 267 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 267 of file KFParticle_sPHENIX.h

References m_require_mva.

Member Data Documentation

bool KFParticle_sPHENIX::m_constrain_to_vertex_sPHENIX
private

Definition at line 310 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 310 of file KFParticle_sPHENIX.h

Referenced by constrainToPrimaryVertex(), printParticles(), and process_event().

std::string KFParticle_sPHENIX::m_decayDescriptor
private

Definition at line 316 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 316 of file KFParticle_sPHENIX.h

Referenced by Init(), parseDecayDescriptor(), and setDecayDescriptor().

bool KFParticle_sPHENIX::m_has_intermediates_sPHENIX
private

Definition at line 309 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 309 of file KFParticle_sPHENIX.h

Referenced by hasIntermediateStates(), printParticles(), and process_event().

TFile* KFParticle_sPHENIX::m_outfile
private

Definition at line 315 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 315 of file KFParticle_sPHENIX.h

Referenced by End(), and process_event().

std::string KFParticle_sPHENIX::m_outfile_name
private

Definition at line 314 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 314 of file KFParticle_sPHENIX.h

Referenced by Init(), process_event(), and setOutputName().

bool KFParticle_sPHENIX::m_require_mva
private

Definition at line 311 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 311 of file KFParticle_sPHENIX.h

Referenced by Init(), and useMVA().

bool KFParticle_sPHENIX::m_save_dst
private

Definition at line 312 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 312 of file KFParticle_sPHENIX.h

Referenced by Init(), process_event(), and saveDST().

bool KFParticle_sPHENIX::m_save_output
private

Definition at line 313 of file KFParticle_sPHENIX.h.

View newest version in sPHENIX GitHub at line 313 of file KFParticle_sPHENIX.h

Referenced by End(), Init(), process_event(), and saveOutput().

const int KFParticle_sPHENIX::max_particles = 99
static

Definition at line 85 of file KFParticle_sPHENIX.h.

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


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