Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/EMCTemplateFitting/src/CaloUnpackPRDF.h>
Public Member Functions | |
CaloUnpackPRDF () | |
int | InitRun (PHCompositeNode *topNode) |
int | process_event (PHCompositeNode *topNode) |
void | CreateNodeTree (PHCompositeNode *topNode) |
CaloUnpackPRDF () | |
int | Init (PHCompositeNode *topNode) |
int | InitRun (PHCompositeNode *topNode) |
int | process_event (PHCompositeNode *topNode) |
void | CreateNodeTree (PHCompositeNode *topNode) |
CaloUnpackPRDF () | |
int | InitRun (PHCompositeNode *topNode) |
int | process_event (PHCompositeNode *topNode) |
void | CreateNodeTree (PHCompositeNode *topNode) |
void | set_use_high_eta_EMCal (bool b) |
whether to use high eta EMCal | |
CaloUnpackPRDF () | |
int | InitRun (PHCompositeNode *topNode) |
int | process_event (PHCompositeNode *topNode) |
void | CreateNodeTree (PHCompositeNode *topNode) |
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 | 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 | |
Event * | _event |
Packet * | _packet |
int | _nevents |
PHCompositeNode * | dst_node |
PHCompositeNode * | data_node |
RawTowerContainer * | hcalin_towers_lg |
RawTowerContainer * | hcalout_towers_lg |
RawTowerContainer * | hcalin_towers_hg |
RawTowerContainer * | hcalout_towers_hg |
RawTowerContainer * | emcal_towers |
int | _use_high_eta_EMCal |
-1 - read from RunInfo, +1, true, 0 false; | |
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 16 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 16 of file CaloUnpackPRDF.h
CaloUnpackPRDF::CaloUnpackPRDF | ( | ) |
Definition at line 33 of file CaloUnpackPRDF.cc.
View newest version in sPHENIX GitHub at line 33 of file CaloUnpackPRDF.cc
CaloUnpackPRDF::CaloUnpackPRDF | ( | ) |
CaloUnpackPRDF::CaloUnpackPRDF | ( | ) |
CaloUnpackPRDF::CaloUnpackPRDF | ( | ) |
void CaloUnpackPRDF::CreateNodeTree | ( | PHCompositeNode * | topNode | ) |
Definition at line 227 of file CaloUnpackPRDF.cc.
View newest version in sPHENIX GitHub at line 227 of file CaloUnpackPRDF.cc
References PHCompositeNode::addNode(), RawTowerDefs::CEMC, data_node, dst_node, emcal_towers, PHNodeIterator::findFirst(), RawTowerDefs::HCALIN, hcalin_towers_hg, hcalin_towers_lg, RawTowerDefs::HCALOUT, hcalout_towers_hg, hcalout_towers_lg, and Fun4AllBase::Verbosity().
Referenced by InitRun().
void CaloUnpackPRDF::CreateNodeTree | ( | PHCompositeNode * | topNode | ) |
void CaloUnpackPRDF::CreateNodeTree | ( | PHCompositeNode * | topNode | ) |
void CaloUnpackPRDF::CreateNodeTree | ( | PHCompositeNode * | topNode | ) |
|
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 59 of file CaloUnpackPRDF.cc.
View newest version in sPHENIX GitHub at line 59 of file CaloUnpackPRDF.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.
|
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 59 of file CaloUnpackPRDF.cc.
View newest version in sPHENIX GitHub at line 59 of file CaloUnpackPRDF.cc
References CreateNodeTree(), and 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.
|
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.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 66 of file CaloUnpackPRDF.cc.
View newest version in sPHENIX GitHub at line 66 of file CaloUnpackPRDF.cc
References _event, _nevents, _packet, PROTOTYPE4_FEM::ADC_DATA_MASK, RawTowerContainer::AddTower(), assert, DATAEVENT, Fun4AllReturnCodes::DISCARDEVENT, emcal_towers, Fun4AllReturnCodes::EVENT_OK, RawTower_Prototype4::get_signal_samples(), PROTOTYPE4_FEM::GetChannelNumber(), Event::getEvtType(), Event::getPacket(), RawTowerContainer::getTower(), RawTowerContainer::getTowers(), hcalin_towers_hg, hcalin_towers_lg, hcalout_towers_hg, hcalout_towers_lg, RawTower_Prototype4::identify(), RawTowerContainer::identify(), Event::identify(), Packet::iValue(), PROTOTYPE4_FEM::NCH_EMCAL_COLUMNS, PROTOTYPE4_FEM::NCH_EMCAL_ROWS, PROTOTYPE4_FEM::NCH_IHCAL_COLUMNS, PROTOTYPE4_FEM::NCH_IHCAL_ROWS, PROTOTYPE4_FEM::NCH_OHCAL_COLUMNS, PROTOTYPE4_FEM::NCH_OHCAL_ROWS, PROTOTYPE4_FEM::NSAMPLES, PROTOTYPE4_FEM::PACKET_ID, PHWHERE, RawTower_Prototype4::set_energy(), RawTower_Prototype4::set_HBD_channel_number(), RawTower_Prototype4::set_signal_samples(), and Fun4AllBase::Verbosity().
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
|
inline |
whether to use high eta EMCal
Definition at line 28 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 28 of file CaloUnpackPRDF.h
References _use_high_eta_EMCal.
|
private |
Definition at line 28 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 28 of file CaloUnpackPRDF.h
Referenced by process_event().
|
private |
Definition at line 30 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 30 of file CaloUnpackPRDF.h
Referenced by process_event().
|
private |
Definition at line 29 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 29 of file CaloUnpackPRDF.h
Referenced by process_event().
|
private |
-1 - read from RunInfo, +1, true, 0 false;
Definition at line 36 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 36 of file CaloUnpackPRDF.h
Referenced by set_use_high_eta_EMCal().
|
private |
Definition at line 34 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 34 of file CaloUnpackPRDF.h
Referenced by CreateNodeTree().
|
private |
Definition at line 33 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 33 of file CaloUnpackPRDF.h
Referenced by CreateNodeTree().
|
private |
Definition at line 43 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 43 of file CaloUnpackPRDF.h
Referenced by CreateNodeTree(), and process_event().
|
private |
Definition at line 40 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 40 of file CaloUnpackPRDF.h
Referenced by CreateNodeTree(), and process_event().
|
private |
Definition at line 37 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 37 of file CaloUnpackPRDF.h
Referenced by CreateNodeTree(), and process_event().
|
private |
Definition at line 41 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 41 of file CaloUnpackPRDF.h
Referenced by CreateNodeTree(), and process_event().
|
private |
Definition at line 38 of file CaloUnpackPRDF.h.
View newest version in sPHENIX GitHub at line 38 of file CaloUnpackPRDF.h
Referenced by CreateNodeTree(), and process_event().