ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4mvtx/PHG4MvtxHitReco.h>
Public Member Functions | |
PHG4MvtxHitReco (const std::string &name="PHG4MvtxRECO") | |
~PHG4MvtxHitReco () override | |
int | InitRun (PHCompositeNode *topNode) override |
module initialization | |
int | process_event (PHCompositeNode *topNode) override |
event processing | |
void | Detector (const std::string &d) |
double | get_timing_window_min (const int i) |
double | get_timing_window_max (const int i) |
void | set_timing_window (const int detid, const double tmin, const double tmax) |
void | SetDefaultParameters () override |
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. | |
Public Member Functions inherited from PHParameterContainerInterface | |
PHParameterContainerInterface (const std::string &name) | |
PHParameterContainerInterface (const PHParameterContainerInterface &)=delete | |
virtual | ~PHParameterContainerInterface () |
void | set_name (const std::string &name) |
void | set_double_param (const int id, const std::string &name, const double dval) |
double | get_double_param (const int id, const std::string &name) const |
void | set_int_param (const int id, const std::string &name, const int ival) |
int | get_int_param (const int id, const std::string &name) const |
void | set_string_param (const int id, const std::string &name, const std::string &sval) |
std::string | get_string_param (const int id, const std::string &name) const |
void | UpdateParametersWithMacro () |
void | CreateInitialize (const int detid) |
void | SaveToNodeTree (PHCompositeNode *runNode, const std::string &nodename) |
void | PutOnParNode (PHCompositeNode *parNode, const std::string &nodename) |
int | ExistDetid (const int detid) const |
Protected Attributes | |
std::string | detector |
std::string | hitnodename |
std::string | geonodename |
std::map< int, std::pair < double, double > > | tmin_max |
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 = INT_MAX - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Protected Member Functions inherited from PHParameterContainerInterface | |
void | set_default_double_param (const std::string &name, const double dval) |
void | set_default_int_param (const std::string &name, const int ival) |
void | set_default_string_param (const std::string &name, const std::string &sval) |
void | InitializeParameters () |
const PHParametersContainer * | GetParamsContainer () |
PHParametersContainer * | GetParamsContainerModify () |
const PHParameters * | GetDefaultParameters () |
Definition at line 14 of file PHG4MvtxHitReco.h.
View newest version in sPHENIX GitHub at line 14 of file PHG4MvtxHitReco.h
|
explicit |
Definition at line 44 of file PHG4MvtxHitReco.cc.
View newest version in sPHENIX GitHub at line 44 of file PHG4MvtxHitReco.cc
References SetDefaultParameters(), and Fun4AllBase::Verbosity().
|
inlineoverride |
Definition at line 19 of file PHG4MvtxHitReco.h.
View newest version in sPHENIX GitHub at line 19 of file PHG4MvtxHitReco.h
|
inline |
Definition at line 27 of file PHG4MvtxHitReco.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4MvtxHitReco.h
|
inline |
Definition at line 30 of file PHG4MvtxHitReco.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4MvtxHitReco.h
References tmin_max.
|
inline |
Definition at line 29 of file PHG4MvtxHitReco.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4MvtxHitReco.h
References tmin_max.
|
overridevirtual |
module initialization
Reimplemented from SubsysReco.
Definition at line 54 of file PHG4MvtxHitReco.cc.
View newest version in sPHENIX GitHub at line 54 of file PHG4MvtxHitReco.cc
References PHCompositeNode::addNode(), detector, Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHNodeIterator::findFirst(), geonodename, hitnodename, PHG4CylinderGeomContainer::identify(), PHWHERE, and Fun4AllBase::Verbosity().
|
overridevirtual |
event processing
Reimplemented from SubsysReco.
Definition at line 123 of file PHG4MvtxHitReco.cc.
View newest version in sPHENIX GitHub at line 123 of file PHG4MvtxHitReco.cc
References TrkrHit::addEnergy(), PHG4Utils::circle_rectangle_intersection(), Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), MvtxDefs::genHitKey(), MvtxDefs::genHitSetKey(), geonodename, CylinderGeom_Mvtx::get_layer(), CylinderGeom_Mvtx::get_local_coords_from_pixel(), CylinderGeom_Mvtx::get_local_from_world_coords(), CylinderGeom_Mvtx::get_NX(), CylinderGeom_Mvtx::get_NZ(), CylinderGeom_Mvtx::get_pixel_from_local_coords(), CylinderGeom_Mvtx::get_pixel_number_from_xbin_zbin(), CylinderGeom_Mvtx::get_pixel_x(), CylinderGeom_Mvtx::get_pixel_X_from_pixel_number(), CylinderGeom_Mvtx::get_pixel_z(), CylinderGeom_Mvtx::get_pixel_Z_from_pixel_number(), CylinderGeom_Mvtx::get_world_from_local_coords(), PHG4HitContainer::getHits(), PHG4CylinderGeomContainer::GetLayerGeom(), PHG4HitContainer::getLayers(), hitnodename, CylinderGeom_Mvtx::identify(), G4TTL::layer, M_PI, PHWHERE, PHG4Hit::prop_chip_index, PHG4Hit::prop_eion, PHG4Hit::prop_half_stave_index, PHG4Hit::prop_module_index, PHG4Hit::prop_stave_index, tmin_max, tmp, Fun4AllBase::Verbosity(), x1, x2, z1, and z2.
Definition at line 551 of file PHG4MvtxHitReco.cc.
View newest version in sPHENIX GitHub at line 551 of file PHG4MvtxHitReco.cc
|
overridevirtual |
Implements PHParameterContainerInterface.
Definition at line 564 of file PHG4MvtxHitReco.cc.
View newest version in sPHENIX GitHub at line 564 of file PHG4MvtxHitReco.cc
References tmin_max.
Referenced by PHG4MvtxHitReco().
|
protected |
Definition at line 36 of file PHG4MvtxHitReco.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4MvtxHitReco.h
Referenced by Detector(), and InitRun().
|
protected |
Definition at line 38 of file PHG4MvtxHitReco.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4MvtxHitReco.h
Referenced by InitRun(), and process_event().
|
protected |
Definition at line 37 of file PHG4MvtxHitReco.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4MvtxHitReco.h
Referenced by InitRun(), and process_event().
|
protected |
Definition at line 39 of file PHG4MvtxHitReco.h.
View newest version in sPHENIX GitHub at line 39 of file PHG4MvtxHitReco.h
Referenced by get_timing_window_max(), get_timing_window_min(), process_event(), set_timing_window(), and SetDefaultParameters().