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

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

+ Inheritance diagram for FastPid_RICH:
+ Collaboration diagram for FastPid_RICH:

Public Member Functions

 FastPid_RICH (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.
 
- 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 _pidinfo_node_name
 
PidInfoContainer_pidinfos
 
TrackProjectorPid_trackproj
 
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

Class that allows to use a parametrized response of a RICH detector based on the information of the reconstructed incoming charged track for particle ID.

Definition at line 20 of file FastPid_RICH.h.

View newest version in sPHENIX GitHub at line 20 of file FastPid_RICH.h

Constructor & Destructor Documentation

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

Definition at line 28 of file FastPid_RICH.C.

View newest version in sPHENIX GitHub at line 28 of file FastPid_RICH.C

References _detector, and _pidinfo_node_name.

Member Function Documentation

void FastPid_RICH::CreateNodes ( PHCompositeNode topNode)
private

Definition at line 177 of file FastPid_RICH.C.

View newest version in sPHENIX GitHub at line 177 of file FastPid_RICH.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 FastPid_RICH::End ( PHCompositeNode )
virtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 172 of file FastPid_RICH.C.

View newest version in sPHENIX GitHub at line 172 of file FastPid_RICH.C

int FastPid_RICH::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 42 of file FastPid_RICH.C.

View newest version in sPHENIX GitHub at line 42 of file FastPid_RICH.C

References _ievent, and _verbose.

int FastPid_RICH::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 52 of file FastPid_RICH.C.

View newest version in sPHENIX GitHub at line 52 of file FastPid_RICH.C

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

+ Here is the call graph for this function:

Member Data Documentation

std::string FastPid_RICH::_detector
private

Definition at line 45 of file FastPid_RICH.h.

View newest version in sPHENIX GitHub at line 45 of file FastPid_RICH.h

Referenced by CreateNodes(), and FastPid_RICH().

int FastPid_RICH::_ievent
private

Definition at line 42 of file FastPid_RICH.h.

View newest version in sPHENIX GitHub at line 42 of file FastPid_RICH.h

Referenced by Init(), and process_event().

std::string FastPid_RICH::_pidinfo_node_name
private

Definition at line 51 of file FastPid_RICH.h.

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

Referenced by CreateNodes(), and FastPid_RICH().

PidInfoContainer* FastPid_RICH::_pidinfos
private

Definition at line 54 of file FastPid_RICH.h.

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

Referenced by CreateNodes(), and process_event().

float FastPid_RICH::_radius
private

Definition at line 60 of file FastPid_RICH.h.

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

Referenced by process_event().

std::string FastPid_RICH::_trackmap_name
private

Definition at line 48 of file FastPid_RICH.h.

View newest version in sPHENIX GitHub at line 48 of file FastPid_RICH.h

Referenced by process_event().

TrackProjectorPid* FastPid_RICH::_trackproj
private

Definition at line 57 of file FastPid_RICH.h.

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

Referenced by InitRun(), and process_event().

bool FastPid_RICH::_verbose
private

Definition at line 40 of file FastPid_RICH.h.

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

Referenced by Init().


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