ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
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) |
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< 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 |
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 = 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 27 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 27 of file DetermineTowerBackground.h
DetermineTowerBackground::DetermineTowerBackground | ( | const std::string & | name = "DetermineTowerBackground" | ) |
Definition at line 40 of file DetermineTowerBackground.cc.
View newest version in sPHENIX GitHub at line 40 of file DetermineTowerBackground.cc
References _UE.
|
inlineoverride |
Definition at line 31 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 31 of file DetermineTowerBackground.h
|
private |
Definition at line 627 of file DetermineTowerBackground.cc.
View newest version in sPHENIX GitHub at line 627 of file DetermineTowerBackground.cc
References _backgroundName, Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHNodeIterator::findFirst(), and PHWHERE.
Referenced by InitRun().
|
private |
Definition at line 664 of file DetermineTowerBackground.cc.
View newest version in sPHENIX GitHub at line 664 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 57 of file DetermineTowerBackground.cc.
View newest version in sPHENIX GitHub at line 57 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 62 of file DetermineTowerBackground.cc.
View newest version in sPHENIX GitHub at line 62 of file DetermineTowerBackground.cc
References _do_flow, _EMCAL_E, _FULLCALOFLOW_PHI_E, _FULLCALOFLOW_PHI_VAL, _HCAL_NETA, _HCAL_NPHI, _IHCAL_E, _nStrips, _nTowers, _OHCAL_E, _Psi2, _seed_eta, _seed_jet_D, _seed_jet_pt, _seed_phi, _seed_type, _UE, _v2, Acts::Test::at, JetMap::begin(), Jet::begin_comp(), E, JetMap::end(), Jet::end_comp(), Acts::VectorHelpers::eta(), Fun4AllReturnCodes::EVENT_OK, FillNode(), PHG4Particle::get_e(), RawTower::get_energy(), Jet::get_eta(), RawTowerGeom::get_eta(), RawTowerGeomContainer::get_etabin(), RawTowerGeomContainer::get_etabins(), RawTowerGeomContainer::get_etabounds(), RawTowerGeomContainer::get_etacenter(), RawTower::get_key(), Jet::get_phi(), RawTowerGeom::get_phi(), RawTowerGeomContainer::get_phibin(), RawTowerGeomContainer::get_phibins(), RawTowerGeomContainer::get_phibounds(), RawTowerGeomContainer::get_phicenter(), PHG4Particle::get_pid(), Jet::get_pt(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), RawTowerGeomContainer::get_tower_geometry(), PHG4Particle::get_track_id(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), RawTowerContainer::getTower(), RawTowerContainer::getTowers(), if(), PHG4TruthInfoContainer::isEmbeded(), G4TTL::layer, phi, Jet::set_property(), RawTowerContainer::size(), t, and Fun4AllBase::Verbosity().
|
inline |
Definition at line 36 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 36 of file DetermineTowerBackground.h
References _backgroundName.
Definition at line 38 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 38 of file DetermineTowerBackground.h
References _do_flow.
|
inline |
Definition at line 40 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 40 of file DetermineTowerBackground.h
References _seed_jet_D, and D().
|
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_pt, and pt.
Definition at line 37 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 37 of file DetermineTowerBackground.h
References _seed_type.
|
private |
Definition at line 66 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 66 of file DetermineTowerBackground.h
Referenced by CreateNode(), FillNode(), and SetBackgroundOutputName().
|
private |
Definition at line 47 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 47 of file DetermineTowerBackground.h
Referenced by process_event(), and SetFlow().
|
private |
Definition at line 57 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 57 of file DetermineTowerBackground.h
Referenced by 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 64 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 64 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 54 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 54 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 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 51 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 51 of file DetermineTowerBackground.h
Referenced by 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 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 49 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 49 of file DetermineTowerBackground.h
Referenced by FillNode(), and 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 69 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 69 of file DetermineTowerBackground.h
Referenced by process_event(), and SetSeedJetD().
|
private |
Definition at line 70 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 70 of file DetermineTowerBackground.h
Referenced by process_event(), and SetSeedJetPt().
|
private |
Definition at line 73 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 73 of file DetermineTowerBackground.h
Referenced by process_event().
|
private |
Definition at line 68 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 68 of file DetermineTowerBackground.h
Referenced by process_event(), and SetSeedType().
|
private |
Definition at line 50 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 50 of file DetermineTowerBackground.h
Referenced by DetermineTowerBackground(), FillNode(), and process_event().
|
private |
Definition at line 48 of file DetermineTowerBackground.h.
View newest version in sPHENIX GitHub at line 48 of file DetermineTowerBackground.h
Referenced by FillNode(), and process_event().