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

#include <analysis/blob/master/TPC-GemGain/src/TPCGemGainCalb.h>

+ Inheritance diagram for TPCGemGainCalb:
+ Collaboration diagram for TPCGemGainCalb:

Public Member Functions

 TPCGemGainCalb (const std::string &name="TPCGemGainCalb")
 
virtual ~TPCGemGainCalb ()
 
void set_track_map_name (const std::string &map_name)
 
int InitRun (PHCompositeNode *topNode)
 run initialization
 
int process_event (PHCompositeNode *topNode)
 event processing
 
int EndRun (PHCompositeNode *topNode)
 
int End (PHCompositeNode *topNode)
 end of process
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int EndRun (const int)
 Called at the end of each run.
 
virtual int Init (PHCompositeNode *)
 
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

int GetNodes (PHCompositeNode *topNode)
 

Private Attributes

std::string _track_map_name
 
SvtxTrackMap *_track_map nullptr
 
SvtxTrack_track {nullptr}
 
SvtxVertexMap_vertex_map {nullptr}
 
TrkrClusterContainer_cluster_map
 
TNtuple * ntp {nullptr}
 
TFile * fout
 

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 22 of file TPCGemGainCalb.h.

View newest version in sPHENIX GitHub at line 22 of file TPCGemGainCalb.h

Constructor & Destructor Documentation

TPCGemGainCalb::TPCGemGainCalb ( const std::string &  name = "TPCGemGainCalb")

Definition at line 25 of file TPCGemGainCalb.cc.

View newest version in sPHENIX GitHub at line 25 of file TPCGemGainCalb.cc

References fout, and ntp.

TPCGemGainCalb::~TPCGemGainCalb ( )
virtual

Definition at line 37 of file TPCGemGainCalb.cc.

View newest version in sPHENIX GitHub at line 37 of file TPCGemGainCalb.cc

Member Function Documentation

int TPCGemGainCalb::End ( PHCompositeNode topNode)
virtual

end of process

Reimplemented from SubsysReco.

Definition at line 184 of file TPCGemGainCalb.cc.

View newest version in sPHENIX GitHub at line 184 of file TPCGemGainCalb.cc

References Fun4AllReturnCodes::EVENT_OK, and fout.

int TPCGemGainCalb::EndRun ( PHCompositeNode topNode)

Definition at line 177 of file TPCGemGainCalb.cc.

View newest version in sPHENIX GitHub at line 177 of file TPCGemGainCalb.cc

References Fun4AllReturnCodes::EVENT_OK.

int TPCGemGainCalb::GetNodes ( PHCompositeNode topNode)
private

Definition at line 195 of file TPCGemGainCalb.cc.

View newest version in sPHENIX GitHub at line 195 of file TPCGemGainCalb.cc

References _cluster_map, _vertex_map, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, and PHWHERE.

Referenced by InitRun().

+ Here is the caller graph for this function:

int TPCGemGainCalb::InitRun ( PHCompositeNode topNode)
virtual

run initialization

Reimplemented from SubsysReco.

Definition at line 43 of file TPCGemGainCalb.cc.

View newest version in sPHENIX GitHub at line 43 of file TPCGemGainCalb.cc

References GetNodes().

+ Here is the call graph for this function:

void TPCGemGainCalb::set_track_map_name ( const std::string &  map_name)
inline

Definition at line 30 of file TPCGemGainCalb.h.

View newest version in sPHENIX GitHub at line 30 of file TPCGemGainCalb.h

References _track_map_name.

Member Data Documentation

TrkrClusterContainer* TPCGemGainCalb::_cluster_map
private

Definition at line 54 of file TPCGemGainCalb.h.

View newest version in sPHENIX GitHub at line 54 of file TPCGemGainCalb.h

Referenced by GetNodes(), and process_event().

SvtxTrack* TPCGemGainCalb::_track {nullptr}
private

Definition at line 52 of file TPCGemGainCalb.h.

View newest version in sPHENIX GitHub at line 52 of file TPCGemGainCalb.h

Referenced by process_event().

std::string TPCGemGainCalb::_track_map_name
private

Definition at line 49 of file TPCGemGainCalb.h.

View newest version in sPHENIX GitHub at line 49 of file TPCGemGainCalb.h

Referenced by set_track_map_name().

SvtxVertexMap* TPCGemGainCalb::_vertex_map {nullptr}
private

Definition at line 53 of file TPCGemGainCalb.h.

View newest version in sPHENIX GitHub at line 53 of file TPCGemGainCalb.h

Referenced by GetNodes(), and process_event().

TFile* TPCGemGainCalb::fout
private

Definition at line 57 of file TPCGemGainCalb.h.

View newest version in sPHENIX GitHub at line 57 of file TPCGemGainCalb.h

Referenced by End(), and TPCGemGainCalb().

TNtuple* TPCGemGainCalb::ntp {nullptr}
private

Definition at line 56 of file TPCGemGainCalb.h.

View newest version in sPHENIX GitHub at line 56 of file TPCGemGainCalb.h

Referenced by process_event(), and TPCGemGainCalb().

SvtxTrackMap* _track_map TPCGemGainCalb::nullptr
private

Definition at line 51 of file TPCGemGainCalb.h.

View newest version in sPHENIX GitHub at line 51 of file TPCGemGainCalb.h


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