Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/tpc/TpcClusterQA.h>
Public Member Functions | |
TpcClusterQA (const std::string &name="TpcClusterQA") | |
~TpcClusterQA () override | |
int | Init (PHCompositeNode *topNode) override |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | EndRun (const int runnumber) override |
Called at the end of each run. | |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
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 | |
void | createHistos () |
std::string | getHistoPrefix () const |
Private Attributes | |
std::set< int > | m_layers |
std::multimap< int, int > | m_layerRegionMap |
int | m_event = 0 |
int | m_totalClusters = 0 |
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 14 of file TpcClusterQA.h.
View newest version in sPHENIX GitHub at line 14 of file TpcClusterQA.h
TpcClusterQA::TpcClusterQA | ( | const std::string & | name = "TpcClusterQA" | ) |
Definition at line 29 of file TpcClusterQA.cc.
View newest version in sPHENIX GitHub at line 29 of file TpcClusterQA.cc
|
override |
Definition at line 35 of file TpcClusterQA.cc.
View newest version in sPHENIX GitHub at line 35 of file TpcClusterQA.cc
|
private |
Definition at line 193 of file TpcClusterQA.cc.
View newest version in sPHENIX GitHub at line 193 of file TpcClusterQA.cc
References assert, QAHistManagerDef::getHistoManager(), getHistoPrefix(), and h.
Referenced by InitRun().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 184 of file TpcClusterQA.cc.
View newest version in sPHENIX GitHub at line 184 of file TpcClusterQA.cc
References Fun4AllReturnCodes::EVENT_OK.
|
overridevirtual |
Called at the end of each run.
Reimplemented from SubsysReco.
Definition at line 174 of file TpcClusterQA.cc.
View newest version in sPHENIX GitHub at line 174 of file TpcClusterQA.cc
References assert, Fun4AllReturnCodes::EVENT_OK, QAHistManagerDef::getHistoManager(), getHistoPrefix(), m_event, and m_totalClusters.
|
private |
Definition at line 189 of file TpcClusterQA.cc.
View newest version in sPHENIX GitHub at line 189 of file TpcClusterQA.cc
References Fun4AllBase::Name().
Referenced by createHistos(), EndRun(), and process_event().
|
overridevirtual |
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 40 of file TpcClusterQA.cc.
View newest version in sPHENIX GitHub at line 40 of file TpcClusterQA.cc
References Fun4AllReturnCodes::EVENT_OK.
|
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 46 of file TpcClusterQA.cc.
View newest version in sPHENIX GitHub at line 46 of file TpcClusterQA.cc
References Fun4AllReturnCodes::ABORTRUN, createHistos(), Fun4AllReturnCodes::EVENT_OK, m_layerRegionMap, m_layers, and PHWHERE.
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 79 of file TpcClusterQA.cc.
View newest version in sPHENIX GitHub at line 79 of file TpcClusterQA.cc
References Fun4AllReturnCodes::ABORTEVENT, assert, Fun4AllReturnCodes::EVENT_OK, QAHistManagerDef::getHistoManager(), getHistoPrefix(), TrkrDefs::getLayer(), TpcDefs::getSectorId(), TpcDefs::getSide(), h, add_histos::hist, add_histos::histos, i, it, m_event, m_layerRegionMap, m_totalClusters, PHWHERE, Acts::tGeometry, and TrkrDefs::tpcId.
|
private |
Definition at line 34 of file TpcClusterQA.h.
View newest version in sPHENIX GitHub at line 34 of file TpcClusterQA.h
Referenced by EndRun(), and process_event().
|
private |
Definition at line 32 of file TpcClusterQA.h.
View newest version in sPHENIX GitHub at line 32 of file TpcClusterQA.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 31 of file TpcClusterQA.h.
View newest version in sPHENIX GitHub at line 31 of file TpcClusterQA.h
Referenced by InitRun().
|
private |
Definition at line 35 of file TpcClusterQA.h.
View newest version in sPHENIX GitHub at line 35 of file TpcClusterQA.h
Referenced by EndRun(), and process_event().