Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CaloUnpackPRDF Class Reference

#include <analysis/blob/master/EMCTemplateFitting/src/CaloUnpackPRDF.h>

+ Inheritance diagram for CaloUnpackPRDF:
+ Collaboration diagram for CaloUnpackPRDF:

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
 
PHCompositeNodedst_node
 
PHCompositeNodedata_node
 
RawTowerContainerhcalin_towers_lg
 
RawTowerContainerhcalout_towers_lg
 
RawTowerContainerhcalin_towers_hg
 
RawTowerContainerhcalout_towers_hg
 
RawTowerContaineremcal_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")
 

Detailed Description

Definition at line 16 of file CaloUnpackPRDF.h.

View newest version in sPHENIX GitHub at line 16 of file CaloUnpackPRDF.h

Constructor & Destructor Documentation

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 ( )

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CaloUnpackPRDF::CreateNodeTree ( PHCompositeNode topNode)
void CaloUnpackPRDF::CreateNodeTree ( PHCompositeNode topNode)
void CaloUnpackPRDF::CreateNodeTree ( PHCompositeNode topNode)
int CaloUnpackPRDF::Init ( PHCompositeNode )
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.

int CaloUnpackPRDF::InitRun ( PHCompositeNode )
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.

int CaloUnpackPRDF::InitRun ( PHCompositeNode )
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.

+ Here is the call graph for this function:

int CaloUnpackPRDF::InitRun ( PHCompositeNode )
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.

int CaloUnpackPRDF::InitRun ( PHCompositeNode )
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.

int CaloUnpackPRDF::process_event ( PHCompositeNode )
virtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

int CaloUnpackPRDF::process_event ( PHCompositeNode )
virtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

int CaloUnpackPRDF::process_event ( PHCompositeNode )
virtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

void CaloUnpackPRDF::set_use_high_eta_EMCal ( bool  b)
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.

Member Data Documentation

Event * CaloUnpackPRDF::_event
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().

int CaloUnpackPRDF::_nevents
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().

Packet * CaloUnpackPRDF::_packet
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().

int CaloUnpackPRDF::_use_high_eta_EMCal
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().

PHCompositeNode * CaloUnpackPRDF::data_node
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().

PHCompositeNode * CaloUnpackPRDF::dst_node
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().

RawTowerContainer * CaloUnpackPRDF::emcal_towers
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().

RawTowerContainer * CaloUnpackPRDF::hcalin_towers_hg
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().

RawTowerContainer * CaloUnpackPRDF::hcalin_towers_lg
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().

RawTowerContainer * CaloUnpackPRDF::hcalout_towers_hg
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().

RawTowerContainer * CaloUnpackPRDF::hcalout_towers_lg
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().


The documentation for this class was generated from the following files: