Analysis Software
Documentation for sPHENIX simulation software
|
Definition of this analysis module class. More...
#include <analysis/blob/master/TowerInfoExample/src/RunTowerInfo.h>
Public Member Functions | |
RunTowerInfo (const std::string &name="RunTowerInfo") | |
Constructor. | |
virtual | ~RunTowerInfo () |
int | Init (PHCompositeNode *) |
SubsysReco initialize processing method. | |
int | process_event (PHCompositeNode *) |
SubsysReco event processing method. | |
int | End (PHCompositeNode *) |
SubsysReco end processing method. | |
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 Attributes | |
TowerInfoContainerv1 * | m_EMCalTowerContainer |
String to contain the outfile name containing the trees. | |
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") | |
Definition of this analysis module class.
Definition at line 12 of file RunTowerInfo.h.
View newest version in sPHENIX GitHub at line 12 of file RunTowerInfo.h
RunTowerInfo::RunTowerInfo | ( | const std::string & | name = "RunTowerInfo" | ) |
Constructor.
RunTowerInfo is a class developed to reconstruct jets containing a D-meson The class can be adapted to tag jets using any kind of particle Author: Antonio Silva (anton) Constructor of module io.s pheni x@gm ail.c om
Initialize variables and trees so we don't accidentally access memory that was never allocated
Definition at line 29 of file RunTowerInfo.cc.
View newest version in sPHENIX GitHub at line 29 of file RunTowerInfo.cc
|
virtual |
Destructor of module
Definition at line 40 of file RunTowerInfo.cc.
View newest version in sPHENIX GitHub at line 40 of file RunTowerInfo.cc
|
virtual |
SubsysReco end processing method.
End the module and finish any data collection. Clean up any remaining loose ends
Reimplemented from SubsysReco.
Definition at line 100 of file RunTowerInfo.cc.
View newest version in sPHENIX GitHub at line 100 of file RunTowerInfo.cc
References Fun4AllBase::Verbosity().
|
virtual |
SubsysReco initialize processing method.
Initialize the module and prepare looping over events
Reimplemented from SubsysReco.
Definition at line 48 of file RunTowerInfo.cc.
View newest version in sPHENIX GitHub at line 48 of file RunTowerInfo.cc
References Fun4AllBase::Verbosity().
|
virtual |
SubsysReco event processing method.
Main workhorse function where each event is looped over and data from each event is collected from the node tree for analysis
Reimplemented from SubsysReco.
Definition at line 62 of file RunTowerInfo.cc.
View newest version in sPHENIX GitHub at line 62 of file RunTowerInfo.cc
References Fun4AllReturnCodes::DISCARDEVENT, Fun4AllReturnCodes::EVENT_OK, TowerInfov1::get_energy(), TowerInfov1::get_time(), TowerInfoContainer::getTowerEtaBin(), TowerInfoContainer::getTowerPhiBin(), m_EMCalTowerContainer, Range(), and Fun4AllBase::Verbosity().
|
private |
String to contain the outfile name containing the trees.
Definition at line 34 of file RunTowerInfo.h.
View newest version in sPHENIX GitHub at line 34 of file RunTowerInfo.h
Referenced by process_event().