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

#include <analysis/blob/master/ParticleID/RICHAnalysis/RICHParticleID.h>

+ Inheritance diagram for RICHParticleID:
+ Collaboration diagram for RICHParticleID:

Public Member Functions

 RICHParticleID (std::string richname, std::string tracksname)
 
int Init (PHCompositeNode *)
 
int InitRun (PHCompositeNode *)
 
int process_event (PHCompositeNode *)
 
int End (PHCompositeNode *)
 Called at the end of all processing.
 
void set_refractive_index (float newidx)
 
- 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 (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

void CreateNodes (PHCompositeNode *topNode)
 

Private Attributes

bool _verbose
 
int _ievent
 
std::string _detector
 
std::string _trackmap_name
 
std::string _richhits_name
 
std::string _pidinfo_node_name
 
float _refractive_index
 
PidInfoContainer_pidinfos
 
TrackProjectorPid_trackproj
 
SetupDualRICHAnalyzer_acquire
 
PIDProbabilities_particleid
 
float _radius
 

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 23 of file RICHParticleID.h.

View newest version in sPHENIX GitHub at line 23 of file RICHParticleID.h

Constructor & Destructor Documentation

RICHParticleID::RICHParticleID ( std::string  richname,
std::string  tracksname 
)

Definition at line 38 of file RICHParticleID.C.

View newest version in sPHENIX GitHub at line 38 of file RICHParticleID.C

References _detector, _pidinfo_node_name, and _richhits_name.

Member Function Documentation

void RICHParticleID::CreateNodes ( PHCompositeNode topNode)
private

Definition at line 272 of file RICHParticleID.C.

View newest version in sPHENIX GitHub at line 272 of file RICHParticleID.C

References _detector, _pidinfo_node_name, _pidinfos, PHCompositeNode::addNode(), PHNodeIterator::findFirst(), and PHWHERE.

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int RICHParticleID::End ( PHCompositeNode )
virtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 267 of file RICHParticleID.C.

View newest version in sPHENIX GitHub at line 267 of file RICHParticleID.C

int RICHParticleID::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 56 of file RICHParticleID.C.

View newest version in sPHENIX GitHub at line 56 of file RICHParticleID.C

References _ievent, _particleid, _refractive_index, _verbose, and PHWHERE.

int RICHParticleID::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 73 of file RICHParticleID.C.

View newest version in sPHENIX GitHub at line 73 of file RICHParticleID.C

References _acquire, _trackproj, CreateNodes(), Acts::UnitConstants::e, and PHWHERE.

+ Here is the call graph for this function:

void RICHParticleID::set_refractive_index ( float  newidx)
inline

Definition at line 40 of file RICHParticleID.h.

View newest version in sPHENIX GitHub at line 40 of file RICHParticleID.h

References _refractive_index.

Referenced by Fun4All_RICHReco().

+ Here is the caller graph for this function:

Member Data Documentation

SetupDualRICHAnalyzer* RICHParticleID::_acquire
private

Definition at line 75 of file RICHParticleID.h.

View newest version in sPHENIX GitHub at line 75 of file RICHParticleID.h

Referenced by InitRun(), and process_event().

std::string RICHParticleID::_detector
private

Definition at line 54 of file RICHParticleID.h.

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

Referenced by CreateNodes(), and RICHParticleID().

int RICHParticleID::_ievent
private

Definition at line 51 of file RICHParticleID.h.

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

Referenced by Init(), and process_event().

PIDProbabilities* RICHParticleID::_particleid
private

Definition at line 78 of file RICHParticleID.h.

View newest version in sPHENIX GitHub at line 78 of file RICHParticleID.h

Referenced by Init(), and process_event().

std::string RICHParticleID::_pidinfo_node_name
private

Definition at line 63 of file RICHParticleID.h.

View newest version in sPHENIX GitHub at line 63 of file RICHParticleID.h

Referenced by CreateNodes(), and RICHParticleID().

PidInfoContainer* RICHParticleID::_pidinfos
private

Definition at line 69 of file RICHParticleID.h.

View newest version in sPHENIX GitHub at line 69 of file RICHParticleID.h

Referenced by CreateNodes(), and process_event().

float RICHParticleID::_radius
private

Definition at line 81 of file RICHParticleID.h.

View newest version in sPHENIX GitHub at line 81 of file RICHParticleID.h

Referenced by process_event().

float RICHParticleID::_refractive_index
private

Definition at line 66 of file RICHParticleID.h.

View newest version in sPHENIX GitHub at line 66 of file RICHParticleID.h

Referenced by Init(), process_event(), and set_refractive_index().

std::string RICHParticleID::_richhits_name
private

Definition at line 60 of file RICHParticleID.h.

View newest version in sPHENIX GitHub at line 60 of file RICHParticleID.h

Referenced by process_event(), and RICHParticleID().

std::string RICHParticleID::_trackmap_name
private

Definition at line 57 of file RICHParticleID.h.

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

Referenced by process_event().

TrackProjectorPid* RICHParticleID::_trackproj
private

Definition at line 72 of file RICHParticleID.h.

View newest version in sPHENIX GitHub at line 72 of file RICHParticleID.h

Referenced by InitRun(), and process_event().

bool RICHParticleID::_verbose
private

Definition at line 49 of file RICHParticleID.h.

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

Referenced by Init().


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