Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/tpcdaq/TPCIntegratedCharge.h>
Public Member Functions | |
TPCIntegratedCharge (unsigned int minLayer, unsigned int m_maxLayer, const std::string &outputfilename="TPCIntegratedCharge.root") | |
virtual | ~TPCIntegratedCharge () |
int | Init (PHCompositeNode *topNode) |
int | InitRun (PHCompositeNode *topNode) |
int | process_event (PHCompositeNode *topNode) |
int | End (PHCompositeNode *topNode) |
Called at the end of all processing. | |
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. | |
Private Member Functions | |
Fun4AllHistoManager * | getHistoManager () |
Private Attributes | |
std::string | m_outputFileName |
unsigned int | m_minLayer |
unsigned int | m_maxLayer |
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 at line 12 of file TPCIntegratedCharge.h.
View newest version in sPHENIX GitHub at line 12 of file TPCIntegratedCharge.h
TPCIntegratedCharge::TPCIntegratedCharge | ( | unsigned int | minLayer, |
unsigned int | m_maxLayer, | ||
const std::string & | outputfilename = "TPCIntegratedCharge.root" |
||
) |
Definition at line 43 of file TPCIntegratedCharge.cc.
View newest version in sPHENIX GitHub at line 43 of file TPCIntegratedCharge.cc
|
virtual |
Definition at line 54 of file TPCIntegratedCharge.cc.
View newest version in sPHENIX GitHub at line 54 of file TPCIntegratedCharge.cc
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 63 of file TPCIntegratedCharge.cc.
View newest version in sPHENIX GitHub at line 63 of file TPCIntegratedCharge.cc
References assert, PHTFileServer::cd(), Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), Fun4AllHistoManager::getHisto(), getHistoManager(), i, m_outputFileName, Fun4AllHistoManager::nHistos(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.
|
private |
Definition at line 359 of file TPCIntegratedCharge.cc.
View newest version in sPHENIX GitHub at line 359 of file TPCIntegratedCharge.cc
References assert, Fun4AllServer::getHistoManager(), Fun4AllServer::instance(), and Fun4AllServer::registerHistoManager().
Referenced by End(), InitRun(), and process_event().
|
virtual |
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 58 of file TPCIntegratedCharge.cc.
View newest version in sPHENIX GitHub at line 58 of file TPCIntegratedCharge.cc
References Fun4AllReturnCodes::EVENT_OK.
|
virtual |
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 82 of file TPCIntegratedCharge.cc.
View newest version in sPHENIX GitHub at line 82 of file TPCIntegratedCharge.cc
References assert, Acts::UnitConstants::e, Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), getHistoManager(), h, i, m_maxLayer, m_minLayer, m_outputFileName, PHTFileServer::open(), Fun4AllHistoManager::registerHisto(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 142 of file TPCIntegratedCharge.cc.
View newest version in sPHENIX GitHub at line 142 of file TPCIntegratedCharge.cc
References assert, Acts::UnitConstants::e, Fun4AllReturnCodes::EVENT_OK, PHG4Cell::get_cellid(), PHG4Cell::get_edep(), PHG4Cell::get_eion(), PHG4Cell::get_layer(), PHG4CellDefs::SizeBinning::get_phibin(), PHG4CylinderCellGeom::get_phibins(), PHG4CellDefs::SizeBinning::get_zbin(), PHG4CylinderCellGeom::get_zbins(), PHG4CellContainer::getCells(), Fun4AllHistoManager::getHisto(), getHistoManager(), PHG4HitContainer::getHits(), PHG4CylinderCellGeomContainer::GetLayerCellGeom(), PHG4Cell::identify(), layer, m_maxLayer, m_minLayer, PHHepMCGenEventMap::size(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_MORE.
|
private |
Definition at line 35 of file TPCIntegratedCharge.h.
View newest version in sPHENIX GitHub at line 35 of file TPCIntegratedCharge.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 34 of file TPCIntegratedCharge.h.
View newest version in sPHENIX GitHub at line 34 of file TPCIntegratedCharge.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 32 of file TPCIntegratedCharge.h.
View newest version in sPHENIX GitHub at line 32 of file TPCIntegratedCharge.h