Analysis Software
Documentation for sPHENIX simulation software
|
UE background calculator. More...
#include <coresoftware/blob/master/offline/packages/jetbackground/DetermineTowerBackground.h>
Public Member Functions | |
DetermineTowerBackground (const std::string &name="DetermineTowerBackground") | |
~DetermineTowerBackground () override | |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
void | SetBackgroundOutputName (const std::string &name) |
void | SetSeedType (int seed_type) |
void | SetFlow (int do_flow) |
void | SetSeedJetD (float D) |
void | SetSeedJetPt (float pt) |
void | set_towerinfo (bool use_towerinfo) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Init (PHCompositeNode *) |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Private Member Functions | |
int | CreateNode (PHCompositeNode *topNode) |
void | FillNode (PHCompositeNode *topNode) |
Private Attributes | |
int | _do_flow |
float | _v2 |
float | _Psi2 |
std::vector< std::vector< float > > | _UE |
int | _nStrips |
int | _nTowers |
int | _HCAL_NETA |
int | _HCAL_NPHI |
std::vector< std::vector< float > > | _EMCAL_E |
std::vector< std::vector< float > > | _IHCAL_E |
std::vector< std::vector< float > > | _OHCAL_E |
std::vector< std::vector< int > > | _EMCAL_T |
std::vector< std::vector< int > > | _IHCAL_T |
std::vector< std::vector< int > > | _OHCAL_T |
std::vector< float > | _FULLCALOFLOW_PHI_E |
std::vector< float > | _FULLCALOFLOW_PHI_VAL |
std::string | _backgroundName |
int | _seed_type |
float | _seed_jet_D |
float | _seed_jet_pt |
std::vector< float > | _seed_eta |
std::vector< float > | _seed_phi |
Jet::PROPERTY | _index_SeedD |
Jet::PROPERTY | _index_SeedItr |
bool | m_use_towerinfo = false |
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") | |
UE background calculator.
This module constructs dE/deta vs. eta and v2 estimates given an (unsubtracted) set of calorimeter towers and possible a set of exclusion jets (seeds)
Definition at line 28 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 28 of file DetermineTowerBackground.h
DetermineTowerBackground::DetermineTowerBackground | ( | const std::string & | name = "DetermineTowerBackground" | ) |
Definition at line 43 of file DetermineTowerBackground.cc.
View newest version in sPHENIX GitHub at line 43 of file DetermineTowerBackground.cc
References _UE.
|
inlineoverride |
Definition at line 32 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 32 of file DetermineTowerBackground.h
|
private |
Definition at line 777 of file DetermineTowerBackground.cc.
View newest version in sPHENIX GitHub at line 777 of file DetermineTowerBackground.cc
References _backgroundName, Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), and PHWHERE.
Referenced by InitRun().
|
private |
Definition at line 814 of file DetermineTowerBackground.cc.
View newest version in sPHENIX GitHub at line 814 of file DetermineTowerBackground.cc
References _backgroundName, _nStrips, _nTowers, _Psi2, _UE, _v2, TowerBackground::set_nStripsUsedForFlow(), TowerBackground::set_nTowersUsedForBkg(), TowerBackground::set_Psi2(), TowerBackground::set_UE(), and TowerBackground::set_v2().
Referenced by process_event().
|
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 60 of file DetermineTowerBackground.cc.
View newest version in sPHENIX GitHub at line 60 of file DetermineTowerBackground.cc
References CreateNode().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 65 of file DetermineTowerBackground.cc.
View newest version in sPHENIX GitHub at line 65 of file DetermineTowerBackground.cc
References _do_flow, _EMCAL_E, _EMCAL_T, _FULLCALOFLOW_PHI_E, _FULLCALOFLOW_PHI_VAL, _HCAL_NETA, _HCAL_NPHI, _IHCAL_E, _IHCAL_T, _index_SeedD, _index_SeedItr, _nStrips, _nTowers, _OHCAL_E, _OHCAL_T, _Psi2, _seed_eta, _seed_jet_D, _seed_jet_pt, _seed_phi, _seed_type, _UE, _v2, Fun4AllReturnCodes::ABORTRUN, Acts::Test::at, channel(), mvtx_utils::comp(), INTTVtxZ::dphi, dR(), E, TowerInfoContainer::encode_key(), RawTowerDefs::encode_towerid(), eta, Fun4AllReturnCodes::EVENT_OK, FillNode(), PHG4Particle::get_e(), TowerInfo::get_energy(), RawTower::get_energy(), RawTowerGeom::get_eta(), RawTowerGeomContainer::get_etabin(), RawTowerGeomContainer::get_etabins(), RawTowerGeomContainer::get_etabounds(), RawTowerGeomContainer::get_etacenter(), RawTower::get_key(), RawTowerGeom::get_phi(), RawTowerGeomContainer::get_phibin(), RawTowerGeomContainer::get_phibins(), RawTowerGeomContainer::get_phibounds(), RawTowerGeomContainer::get_phicenter(), PHG4Particle::get_pid(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), TowerInfo::get_time(), TowerInfoContainer::get_tower_at_channel(), RawTowerGeomContainer::get_tower_geometry(), PHG4Particle::get_track_id(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), RawTowerContainer::getTower(), TowerInfoContainer::getTowerEtaBin(), TowerInfoContainer::getTowerPhiBin(), RawTowerContainer::getTowers(), RawTowerDefs::HCALIN, RawTowerDefs::HCALOUT, if(), PHG4TruthInfoContainer::isEmbeded(), layer, m_use_towerinfo, ActsTests::PropagationDatasets::phi, PHWHERE, JetContainer::property_index(), TowerInfoContainer::size(), RawTowerContainer::size(), t, total_E, and Fun4AllBase::Verbosity().
|
inline |
Definition at line 43 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 43 of file DetermineTowerBackground.h
References m_use_towerinfo.
Referenced by HIJetReco().
|
inline |
Definition at line 37 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 37 of file DetermineTowerBackground.h
References _backgroundName, and perf_headwind::name.
Referenced by Fun4All_JetVal(), Fun4All_testEtIso_Hijing(), Fun4All_testEtIso_Pythia(), G4_HIJetReco(), and HIJetReco().
|
inline |
Definition at line 39 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 39 of file DetermineTowerBackground.h
References _do_flow, and G4HIJETS::do_flow.
Referenced by Fun4All_JetVal(), Fun4All_testEtIso_Hijing(), Fun4All_testEtIso_Pythia(), G4_HIJetReco(), and HIJetReco().
|
inline |
Definition at line 41 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 41 of file DetermineTowerBackground.h
References _seed_jet_D.
Referenced by Fun4All_JetVal(), Fun4All_testEtIso_Hijing(), Fun4All_testEtIso_Pythia(), G4_HIJetReco(), and HIJetReco().
|
inline |
Definition at line 42 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 42 of file DetermineTowerBackground.h
References _seed_jet_pt, and physmon_track_finding_ttbar::pt.
Referenced by Fun4All_JetVal(), Fun4All_testEtIso_Hijing(), Fun4All_testEtIso_Pythia(), G4_HIJetReco(), and HIJetReco().
|
inline |
Definition at line 38 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 38 of file DetermineTowerBackground.h
References _seed_type.
Referenced by Fun4All_JetVal(), Fun4All_testEtIso_Hijing(), Fun4All_testEtIso_Pythia(), G4_HIJetReco(), and HIJetReco().
|
private |
Definition at line 74 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 74 of file DetermineTowerBackground.h
Referenced by CreateNode(), FillNode(), and SetBackgroundOutputName().
|
private |
Definition at line 51 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 51 of file DetermineTowerBackground.h
Referenced by process_event(), and SetFlow().
|
private |
Definition at line 61 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 61 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 65 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 65 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 71 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 71 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 72 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 72 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 58 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 58 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 59 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 59 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 62 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 62 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 66 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 66 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 83 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 83 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 84 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 84 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 55 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 55 of file DetermineTowerBackground.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 56 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 56 of file DetermineTowerBackground.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 63 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 63 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 67 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 67 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 53 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 53 of file DetermineTowerBackground.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 80 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 80 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 77 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 77 of file DetermineTowerBackground.h
Referenced by process_event(), and SetSeedJetD().
|
private |
Definition at line 78 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 78 of file DetermineTowerBackground.h
Referenced by process_event(), and SetSeedJetPt().
|
private |
Definition at line 81 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 81 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 76 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 76 of file DetermineTowerBackground.h
Referenced by process_event(), and SetSeedType().
|
private |
Definition at line 54 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 54 of file DetermineTowerBackground.h
Referenced by DetermineTowerBackground(), FillNode(), and process_event().
|
private |
Definition at line 52 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 52 of file DetermineTowerBackground.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 86 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 86 of file DetermineTowerBackground.h
Referenced by process_event(), and set_towerinfo().