ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Jet Class Reference

#include <coresoftware/blob/master/simulation/g4simulation/g4jets/Jet.h>

+ Inheritance diagram for Jet:
+ Collaboration diagram for Jet:

Public Types

enum  ALGO { NONE = 0, ANTIKT = 1, KT = 2, CAMBRIDGE = 3 }
 
enum  SRC {
  VOID = 0, PARTICLE = 1, TRACK = 2, CEMC_TOWER = 3,
  CEMC_CLUSTER = 4, HCALIN_TOWER = 5, HCALIN_CLUSTER = 6, HCALOUT_TOWER = 7,
  HCALOUT_CLUSTER = 8, FEMC_TOWER = 9, FEMC_CLUSTER = 10, FHCAL_TOWER = 11,
  FHCAL_CLUSTER = 12, CEMC_TOWER_RETOWER = 13, CEMC_TOWER_SUB1 = 14, HCALIN_TOWER_SUB1 = 15,
  HCALOUT_TOWER_SUB1 = 16, CEMC_TOWER_SUB1CS = 17, HCALIN_TOWER_SUB1CS = 18, HCALOUT_TOWER_SUB1CS = 19,
  HEPMC_IMPORT = 20, HCAL_TOPO_CLUSTER = 21, ECAL_TOPO_CLUSTER = 22, EEMC_TOWER = 23,
  EEMC_CLUSTER = 24
}
 
enum  PROPERTY {
  prop_JetCharge = 1, prop_BFrac = 2, prop_SeedD = 3, prop_SeedItr = 4,
  prop_zg = 5, prop_Rg = 6, prop_mu = 7
}
 
typedef std::multimap
< Jet::SRC, unsigned int
typ_comp_ids
 
typedef
typ_comp_ids::const_iterator 
ConstIter
 
typedef typ_comp_ids::iterator Iter
 

Public Member Functions

 Jet ()
 
 ~Jet () override
 
void identify (std::ostream &os=std::cout) const override
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
virtual unsigned int get_id () const
 
virtual void set_id (unsigned int)
 
virtual float get_px () const
 
virtual void set_px (float)
 
virtual float get_py () const
 
virtual void set_py (float)
 
virtual float get_pz () const
 
virtual void set_pz (float)
 
virtual float get_e () const
 
virtual void set_e (float)
 
virtual float get_p () const
 
virtual float get_pt () const
 
virtual float get_et () const
 
virtual float get_eta () const
 
virtual float get_phi () const
 
virtual float get_mass () const
 
virtual float get_mass2 () const
 
virtual bool has_property (Jet::PROPERTY) const
 
virtual float get_property (Jet::PROPERTY) const
 
virtual void set_property (Jet::PROPERTY, float)
 
virtual void print_property (std::ostream &) const
 
virtual bool empty_comp () const
 
virtual size_t size_comp () const
 
virtual size_t count_comp (Jet::SRC) const
 
virtual void clear_comp ()
 
virtual void insert_comp (Jet::SRC, unsigned int)
 
virtual size_t erase_comp (Jet::SRC)
 
virtual void erase_comp (Iter)
 
virtual void erase_comp (Iter, Iter)
 
virtual ConstIter begin_comp () const
 
virtual ConstIter lower_bound_comp (Jet::SRC source) const
 
virtual ConstIter upper_bound_comp (Jet::SRC source) const
 
virtual ConstIter find (Jet::SRC source) const
 
virtual ConstIter end_comp () const
 
virtual Iter begin_comp ()
 
virtual Iter lower_bound_comp (Jet::SRC source)
 
virtual Iter upper_bound_comp (Jet::SRC source)
 
virtual Iter find (Jet::SRC source)
 
virtual Iter end_comp ()
 
 ClassDefOverride (Jet, 1)
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual void Reset ()
 Clear Event.
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Detailed Description

Definition at line 11 of file Jet.h.

View newest version in sPHENIX GitHub at line 11 of file Jet.h

Member Enumeration Documentation

enum Jet::ALGO
Enumerator:
NONE 
ANTIKT 
KT 
CAMBRIDGE 

Definition at line 16 of file Jet.h.

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

Enumerator:
prop_JetCharge 

jet charge

prop_BFrac 

b-jet fraction

prop_SeedD 

discriminator D = max tower E / average E , used to identify seeds in 1st iteration of UE determination

prop_SeedItr 

used to tag as seed jet in 1st or 2nd iteration of UE determination

prop_zg 

SoftDrop quantities.

prop_Rg 
prop_mu 

Definition at line 53 of file Jet.h.

View newest version in sPHENIX GitHub at line 53 of file Jet.h

enum Jet::SRC
Enumerator:
VOID 
PARTICLE 
TRACK 
CEMC_TOWER 
CEMC_CLUSTER 
HCALIN_TOWER 
HCALIN_CLUSTER 
HCALOUT_TOWER 
HCALOUT_CLUSTER 
FEMC_TOWER 
FEMC_CLUSTER 
FHCAL_TOWER 
FHCAL_CLUSTER 
CEMC_TOWER_RETOWER 
CEMC_TOWER_SUB1 
HCALIN_TOWER_SUB1 
HCALOUT_TOWER_SUB1 
CEMC_TOWER_SUB1CS 
HCALIN_TOWER_SUB1CS 
HCALOUT_TOWER_SUB1CS 
HEPMC_IMPORT 
HCAL_TOPO_CLUSTER 
ECAL_TOPO_CLUSTER 
EEMC_TOWER 
EEMC_CLUSTER 

Definition at line 24 of file Jet.h.

View newest version in sPHENIX GitHub at line 24 of file Jet.h

Constructor & Destructor Documentation

Jet::Jet ( )
inline

Definition at line 77 of file Jet.h.

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

Jet::~Jet ( )
inlineoverride

Definition at line 78 of file Jet.h.

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

Member Function Documentation

PHObject* Jet::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Reimplemented in Jetv1.

Definition at line 82 of file Jet.h.

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

virtual float Jet::get_e ( ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 98 of file Jet.h.

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

Referenced by JetEvaluator::fillOutputNtuples(), FastJetAlgoSub::get_jets(), AnaTutorialECCE::getReconstructedJets(), AnaTutorial::getReconstructedJets(), eIDMLInterface::getReconstructedJets(), AnaTutorialECCE::getTruthJets(), AnaTutorial::getTruthJets(), eIDMLInterface::getTruthJets(), CopyAndSubtractJets::process_event(), MyJetAnalysis::process_event(), QAG4SimulationJet::process_Spectrum(), and QAG4SimulationJet::process_TruthMatching().

+ Here is the caller graph for this function:

virtual float Jet::get_et ( ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 103 of file Jet.h.

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

Referenced by JetHepMCLoader::process_event(), QAG4SimulationJet::process_Spectrum(), and QAG4SimulationJet::process_TruthMatching().

+ Here is the caller graph for this function:

virtual unsigned int Jet::get_id ( ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 86 of file Jet.h.

View newest version in sPHENIX GitHub at line 86 of file Jet.h

Referenced by JetRecoEval::all_jets_from(), JetEvaluator::fillOutputNtuples(), AnaTutorialECCE::getReconstructedJets(), AnaTutorial::getReconstructedJets(), eIDMLInterface::getReconstructedJets(), AnaTutorialECCE::getTruthJets(), AnaTutorial::getTruthJets(), eIDMLInterface::getTruthJets(), JetMapv1::JetMapv1(), JetMapv1::operator=(), MyJetAnalysis::process_event(), JetRecoEval::unique_reco_jet_from_truth(), and JetRecoEval::unique_truth_jet_from_reco().

+ Here is the caller graph for this function:

virtual float Jet::get_mass ( ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 106 of file Jet.h.

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

Referenced by QAG4SimulationJet::process_Spectrum().

+ Here is the caller graph for this function:

virtual float Jet::get_mass2 ( ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 107 of file Jet.h.

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

virtual float Jet::get_p ( ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 101 of file Jet.h.

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

Referenced by AnaTutorialECCE::getReconstructedJets(), AnaTutorial::getReconstructedJets(), eIDMLInterface::getReconstructedJets(), AnaTutorialECCE::getTruthJets(), AnaTutorial::getTruthJets(), and eIDMLInterface::getTruthJets().

+ Here is the caller graph for this function:

virtual float Jet::get_phi ( ) const
inlinevirtual
virtual float Jet::get_property ( Jet::PROPERTY  ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 112 of file Jet.h.

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

virtual float Jet::get_pt ( ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 102 of file Jet.h.

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

Referenced by JetEvaluator::fillOutputNtuples(), FastJetAlgoSub::get_jets(), AnaTutorialECCE::getReconstructedJets(), AnaTutorial::getReconstructedJets(), eIDMLInterface::getReconstructedJets(), AnaTutorialECCE::getTruthJets(), AnaTutorial::getTruthJets(), eIDMLInterface::getTruthJets(), CopyAndSubtractJets::process_event(), DetermineTowerBackground::process_event(), PHG4DSTReader::process_event(), and MyJetAnalysis::process_event().

+ Here is the caller graph for this function:

virtual float Jet::get_px ( ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 89 of file Jet.h.

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

Referenced by FastJetAlgoSub::get_jets(), AnaTutorialECCE::getReconstructedJets(), AnaTutorial::getReconstructedJets(), eIDMLInterface::getReconstructedJets(), AnaTutorialECCE::getTruthJets(), AnaTutorial::getTruthJets(), eIDMLInterface::getTruthJets(), and CopyAndSubtractJets::process_event().

+ Here is the caller graph for this function:

virtual float Jet::get_py ( ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 92 of file Jet.h.

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

Referenced by FastJetAlgoSub::get_jets(), AnaTutorialECCE::getReconstructedJets(), AnaTutorial::getReconstructedJets(), eIDMLInterface::getReconstructedJets(), AnaTutorialECCE::getTruthJets(), AnaTutorial::getTruthJets(), eIDMLInterface::getTruthJets(), and CopyAndSubtractJets::process_event().

+ Here is the caller graph for this function:

virtual float Jet::get_pz ( ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 95 of file Jet.h.

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

Referenced by FastJetAlgoSub::get_jets(), AnaTutorialECCE::getReconstructedJets(), AnaTutorial::getReconstructedJets(), eIDMLInterface::getReconstructedJets(), AnaTutorialECCE::getTruthJets(), AnaTutorial::getTruthJets(), eIDMLInterface::getTruthJets(), and CopyAndSubtractJets::process_event().

+ Here is the caller graph for this function:

virtual bool Jet::has_property ( Jet::PROPERTY  ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 111 of file Jet.h.

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

void Jet::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in Jetv1.

Definition at line 7 of file Jet.cc.

View newest version in sPHENIX GitHub at line 7 of file Jet.cc

Referenced by MyJetAnalysis::process_event(), QAG4SimulationJet::process_Spectrum(), and QAG4SimulationJet::process_TruthMatching().

+ Here is the caller graph for this function:

int Jet::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Reimplemented in Jetv1.

Definition at line 81 of file Jet.h.

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

virtual void Jet::print_property ( std::ostream &  ) const
inlinevirtual

Reimplemented in Jetv1.

Definition at line 114 of file Jet.h.

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

virtual void Jet::set_e ( float  )
inlinevirtual

Reimplemented in Jetv1.

Definition at line 99 of file Jet.h.

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

Referenced by TowerJetInput::get_input(), TrackJetInput::get_input(), ParticleFlowJetInput::get_input(), ClusterJetInput::get_input(), TruthJetInput::get_input(), FastJetAlgoSub::get_jets(), FastJetAlgo::get_jets(), CopyAndSubtractJets::process_event(), and JetHepMCLoader::process_event().

+ Here is the caller graph for this function:

virtual void Jet::set_id ( unsigned int  )
inlinevirtual

Reimplemented in Jetv1.

Definition at line 87 of file Jet.h.

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

Referenced by FastJetAlgoSub::get_jets(), FastJetAlgo::get_jets(), and CopyAndSubtractJets::process_event().

+ Here is the caller graph for this function:

virtual void Jet::set_property ( Jet::PROPERTY  ,
float   
)
inlinevirtual

Reimplemented in Jetv1.

Definition at line 113 of file Jet.h.

View newest version in sPHENIX GitHub at line 113 of file Jet.h

Referenced by FastJetAlgo::get_jets(), and DetermineTowerBackground::process_event().

+ Here is the caller graph for this function:

virtual void Jet::set_px ( float  )
inlinevirtual

Reimplemented in Jetv1.

Definition at line 90 of file Jet.h.

View newest version in sPHENIX GitHub at line 90 of file Jet.h

Referenced by TowerJetInput::get_input(), TrackJetInput::get_input(), ParticleFlowJetInput::get_input(), ClusterJetInput::get_input(), TruthJetInput::get_input(), FastJetAlgoSub::get_jets(), FastJetAlgo::get_jets(), CopyAndSubtractJets::process_event(), and JetHepMCLoader::process_event().

+ Here is the caller graph for this function:

virtual void Jet::set_py ( float  )
inlinevirtual

Reimplemented in Jetv1.

Definition at line 93 of file Jet.h.

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

Referenced by TowerJetInput::get_input(), TrackJetInput::get_input(), ParticleFlowJetInput::get_input(), ClusterJetInput::get_input(), TruthJetInput::get_input(), FastJetAlgoSub::get_jets(), FastJetAlgo::get_jets(), CopyAndSubtractJets::process_event(), and JetHepMCLoader::process_event().

+ Here is the caller graph for this function:

virtual void Jet::set_pz ( float  )
inlinevirtual

Reimplemented in Jetv1.

Definition at line 96 of file Jet.h.

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

Referenced by TowerJetInput::get_input(), TrackJetInput::get_input(), ParticleFlowJetInput::get_input(), ClusterJetInput::get_input(), TruthJetInput::get_input(), FastJetAlgoSub::get_jets(), FastJetAlgo::get_jets(), CopyAndSubtractJets::process_event(), and JetHepMCLoader::process_event().

+ Here is the caller graph for this function:


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