Analysis Software
Documentation for sPHENIX simulation software
|
#include <prototype/blob/master/offline/packages/MvtxPrototype1/MvtxUnpackPRDF.h>
Public Member Functions | |
MvtxUnpackPRDF () | |
int | Init (PHCompositeNode *topNode) |
int | InitRun (PHCompositeNode *topNode) |
int | process_event (PHCompositeNode *topNode) |
int | End (PHCompositeNode *topNode) |
Called at the end of all processing. | |
void | Verbosity (int v) |
Sets the verbosity of this module (0 by default=quiet). | |
void | CreateNodeTree (PHCompositeNode *topNode) |
void | MakeHits () |
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 (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 | |
PHCompositeNode * | dstNode |
Event * | _event |
Packet_hbd_fpgashort * | _packet |
TrkrHitSetContainer * | _hitsetcon |
int | _nevents |
int | _verbosity |
bool | _first |
int | _nevent_per_chip [NCHIP] |
int | _npixel_per_chip [NCHIP] |
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 20 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 20 of file MvtxUnpackPRDF.h
MvtxUnpackPRDF::MvtxUnpackPRDF | ( | ) |
Definition at line 29 of file MvtxUnpackPRDF.C.
View newest version in sPHENIX GitHub at line 29 of file MvtxUnpackPRDF.C
References _nevent_per_chip, _npixel_per_chip, and NCHIP.
void MvtxUnpackPRDF::CreateNodeTree | ( | PHCompositeNode * | topNode | ) |
Definition at line 121 of file MvtxUnpackPRDF.C.
View newest version in sPHENIX GitHub at line 121 of file MvtxUnpackPRDF.C
References PHCompositeNode::addNode(), dstNode, and PHNodeIterator::findFirst().
Referenced by InitRun().
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 303 of file MvtxUnpackPRDF.C.
View newest version in sPHENIX GitHub at line 303 of file MvtxUnpackPRDF.C
References _nevent_per_chip, _npixel_per_chip, _verbosity, Fun4AllReturnCodes::EVENT_OK, and NCHIP.
|
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 46 of file MvtxUnpackPRDF.C.
View newest version in sPHENIX GitHub at line 46 of file MvtxUnpackPRDF.C
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 55 of file MvtxUnpackPRDF.C.
View newest version in sPHENIX GitHub at line 55 of file MvtxUnpackPRDF.C
References CreateNodeTree(), and Fun4AllReturnCodes::EVENT_OK.
void MvtxUnpackPRDF::MakeHits | ( | ) |
Definition at line 166 of file MvtxUnpackPRDF.C.
View newest version in sPHENIX GitHub at line 166 of file MvtxUnpackPRDF.C
References _event, _hitsetcon, _nevent_per_chip, _nevents, _npixel_per_chip, _verbosity, col, Event::getPacket(), PHObject::identify(), Packet::iValue(), NCHIP, NCOL_PER_REGION, NREGION, NROW, and merge_hashes::p.
Referenced by process_event().
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 66 of file MvtxUnpackPRDF.C.
View newest version in sPHENIX GitHub at line 66 of file MvtxUnpackPRDF.C
References _event, _hitsetcon, _nevents, _verbosity, Fun4AllReturnCodes::EVENT_OK, Event::getEvtType(), PHObject::identify(), MakeHits(), and NCHIP.
|
inlinevirtual |
Sets the verbosity of this module (0 by default=quiet).
Reimplemented from Fun4AllBase.
Definition at line 38 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 38 of file MvtxUnpackPRDF.h
References _verbosity, and testSigmaEff::v.
Referenced by Fun4All_TestBeam().
|
private |
Definition at line 49 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 49 of file MvtxUnpackPRDF.h
Referenced by MakeHits(), and process_event().
|
private |
Definition at line 55 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 55 of file MvtxUnpackPRDF.h
|
private |
Definition at line 51 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 51 of file MvtxUnpackPRDF.h
Referenced by MakeHits(), and process_event().
|
private |
Definition at line 57 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 57 of file MvtxUnpackPRDF.h
Referenced by End(), MakeHits(), and MvtxUnpackPRDF().
|
private |
Definition at line 53 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 53 of file MvtxUnpackPRDF.h
Referenced by MakeHits(), and process_event().
|
private |
Definition at line 58 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 58 of file MvtxUnpackPRDF.h
Referenced by End(), MakeHits(), and MvtxUnpackPRDF().
|
private |
Definition at line 50 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 50 of file MvtxUnpackPRDF.h
|
private |
Definition at line 54 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 54 of file MvtxUnpackPRDF.h
Referenced by End(), MakeHits(), process_event(), and Verbosity().
|
private |
Definition at line 47 of file MvtxUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 47 of file MvtxUnpackPRDF.h
Referenced by CreateNodeTree().