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

#include <prototype/blob/master/offline/packages/tpc2019/TpcPrototypeClusterizer.h>

+ Inheritance diagram for TpcPrototypeClusterizer:
+ Collaboration diagram for TpcPrototypeClusterizer:

Public Member Functions

 TpcPrototypeClusterizer (const std::string &name="TpcPrototypeClusterizer")
 
virtual ~TpcPrototypeClusterizer ()
 
int InitRun (PHCompositeNode *topNode)
 
int process_event (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 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

bool is_local_maximum (int phi, int z, std::vector< std::vector< double >> &adcval)
 
void get_cluster (int phibin, int zbin, int &phiup, int &phidown, int &zup, int &zdown, std::vector< std::vector< double >> &adcval)
 

Private Attributes

TrkrHitSetContainerm_hits
 
TrkrClusterContainerm_clusterlist
 
TrkrClusterHitAssocm_clusterhitassoc
 
double zz_shaping_correction
 
double pedestal
 
int NPhiBinsMax
 
int NPhiBinsMin
 
int NZBinsMax
 
int NZBinsMin
 

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 14 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 14 of file TpcPrototypeClusterizer.h

Constructor & Destructor Documentation

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

Definition at line 40 of file TpcPrototypeClusterizer.cc.

View newest version in sPHENIX GitHub at line 40 of file TpcPrototypeClusterizer.cc

virtual TpcPrototypeClusterizer::~TpcPrototypeClusterizer ( )
inlinevirtual

Definition at line 18 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 18 of file TpcPrototypeClusterizer.h

Member Function Documentation

void TpcPrototypeClusterizer::get_cluster ( int  phibin,
int  zbin,
int &  phiup,
int &  phidown,
int &  zup,
int &  zdown,
std::vector< std::vector< double >> &  adcval 
)
private

Definition at line 83 of file TpcPrototypeClusterizer.cc.

View newest version in sPHENIX GitHub at line 83 of file TpcPrototypeClusterizer.cc

References NPhiBinsMax, NPhiBinsMin, NZBinsMax, and NZBinsMin.

Referenced by process_event().

+ Here is the caller graph for this function:

int TpcPrototypeClusterizer::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 142 of file TpcPrototypeClusterizer.cc.

View newest version in sPHENIX GitHub at line 142 of file TpcPrototypeClusterizer.cc

References Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), and PHWHERE.

+ Here is the call graph for this function:

bool TpcPrototypeClusterizer::is_local_maximum ( int  phi,
int  z,
std::vector< std::vector< double >> &  adcval 
)
private

Definition at line 55 of file TpcPrototypeClusterizer.cc.

View newest version in sPHENIX GitHub at line 55 of file TpcPrototypeClusterizer.cc

References NPhiBinsMax, NPhiBinsMin, NZBinsMax, and NZBinsMin.

Referenced by process_event().

+ Here is the caller graph for this function:

int TpcPrototypeClusterizer::process_event ( PHCompositeNode )
virtual

Member Data Documentation

TrkrClusterHitAssoc* TpcPrototypeClusterizer::m_clusterhitassoc
private

Definition at line 29 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 29 of file TpcPrototypeClusterizer.h

Referenced by process_event().

TrkrClusterContainer* TpcPrototypeClusterizer::m_clusterlist
private

Definition at line 28 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 28 of file TpcPrototypeClusterizer.h

Referenced by process_event().

TrkrHitSetContainer* TpcPrototypeClusterizer::m_hits
private

Definition at line 27 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 27 of file TpcPrototypeClusterizer.h

Referenced by process_event().

int TpcPrototypeClusterizer::NPhiBinsMax
private

Definition at line 34 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 34 of file TpcPrototypeClusterizer.h

Referenced by get_cluster(), is_local_maximum(), and process_event().

int TpcPrototypeClusterizer::NPhiBinsMin
private

Definition at line 35 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 35 of file TpcPrototypeClusterizer.h

Referenced by get_cluster(), is_local_maximum(), and process_event().

int TpcPrototypeClusterizer::NZBinsMax
private

Definition at line 36 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 36 of file TpcPrototypeClusterizer.h

Referenced by get_cluster(), is_local_maximum(), and process_event().

int TpcPrototypeClusterizer::NZBinsMin
private

Definition at line 37 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 37 of file TpcPrototypeClusterizer.h

Referenced by get_cluster(), is_local_maximum(), and process_event().

double TpcPrototypeClusterizer::pedestal
private

Definition at line 32 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 32 of file TpcPrototypeClusterizer.h

Referenced by process_event().

double TpcPrototypeClusterizer::zz_shaping_correction
private

Definition at line 31 of file TpcPrototypeClusterizer.h.

View newest version in sPHENIX GitHub at line 31 of file TpcPrototypeClusterizer.h

Referenced by process_event().


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