EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4BlockCellReco.h>
Public Member Functions | |
PHG4BlockCellReco (const std::string &name="BLOCKRECO") | |
~PHG4BlockCellReco () override | |
int | InitRun (PHCompositeNode *topNode) override |
module initialization | |
int | process_event (PHCompositeNode *topNode) override |
event processing | |
int | ResetEvent (PHCompositeNode *topNode) override |
Clean up after each event. | |
void | SetDefaultParameters () override |
void | Detector (const std::string &d) |
void | etaxsize (const int i, const double deltaeta, const double deltax) |
void | checkenergy (const int i=1) |
void | set_timing_window (const int detid, const double tmin, const double tmax) |
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. | |
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 Member Functions | |
void | set_size (const int i, const double sizeA, const double sizeB, const int what) |
int | CheckEnergy (PHCompositeNode *topNode) |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Protected Member Functions inherited from Fun4AllBase | |
Fun4AllBase (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 () |
Protected Attributes | |
double | sum_energy_g4hit |
std::map< int, int > | binning |
std::map< int, std::pair < double, double > > | cell_size |
std::map< int, std::pair < double, double > > | zmin_max |
std::map< int, double > | xstep |
std::map< int, double > | etastep |
std::map< int, std::pair < double, double > > | tmin_max |
std::set< int > | implemented_detid |
std::string | detector |
std::string | hitnodename |
std::string | cellnodename |
std::string | geonodename |
std::string | seggeonodename |
std::map< int, std::pair< int, int > > | n_x_z_bins |
int | chkenergyconservation |
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 } |
Definition at line 17 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4BlockCellReco.h
PHG4BlockCellReco::PHG4BlockCellReco | ( | const std::string & | name = "BLOCKRECO" | ) |
Definition at line 40 of file PHG4BlockCellReco.cc.
View newest version in sPHENIX GitHub at line 40 of file PHG4BlockCellReco.cc
References SetDefaultParameters().
|
inlineoverride |
Definition at line 22 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4BlockCellReco.h
|
inline |
Definition at line 36 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4BlockCellReco.h
References chkenergyconservation.
|
protected |
Definition at line 519 of file PHG4BlockCellReco.cc.
View newest version in sPHENIX GitHub at line 519 of file PHG4BlockCellReco.cc
References cellnodename, Acts::UnitConstants::e, PHG4CellContainer::getCells(), Fun4AllBase::Name(), sum_energy_g4hit, and Fun4AllBase::Verbosity().
Referenced by process_event().
|
inline |
Definition at line 34 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4BlockCellReco.h
void PHG4BlockCellReco::etaxsize | ( | const int | i, |
const double | deltaeta, | ||
const double | deltax | ||
) |
Definition at line 489 of file PHG4BlockCellReco.cc.
View newest version in sPHENIX GitHub at line 489 of file PHG4BlockCellReco.cc
References PHParameterContainerInterface::set_double_param().
|
overridevirtual |
module initialization
Reimplemented from SubsysReco.
Definition at line 55 of file PHG4BlockCellReco.cc.
View newest version in sPHENIX GitHub at line 55 of file PHG4BlockCellReco.cc
References PHG4BlockCellGeomContainer::AddLayerCellGeom(), PHCompositeNode::addNode(), binning, cell_size, cellnodename, detector, Acts::UnitConstants::e, PHG4CellDefs::etaphibinning, etastep, Fun4AllReturnCodes::EVENT_OK, PHParameterContainerInterface::ExistDetid(), exit(), PHNodeIterator::findFirst(), geonodename, PHG4BlockGeomContainer::get_begin_end(), PHG4BlockGeom::get_center_x(), PHG4BlockGeom::get_center_y(), PHG4BlockGeom::get_center_z(), PHParameterContainerInterface::get_double_param(), PHG4Utils::get_eta(), PHG4BlockGeom::get_layer(), PHG4BlockGeom::get_size_x(), PHG4BlockGeom::get_size_y(), PHG4BlockGeom::get_size_z(), PHG4BlockGeom::get_width(), PHParameterContainerInterface::GetParamsContainer(), PHParameterContainerInterface::GetParamsContainerModify(), hitnodename, PHG4BlockCellGeom::identify(), PHG4BlockGeomContainer::identify(), implemented_detid, G4TTL::layer, n_x_z_bins, Fun4AllBase::Name(), PHParametersContainer::Name(), G4BECAL::radius, PHParameterContainerInterface::SaveToNodeTree(), seggeonodename, PHG4BlockCellGeom::set_binning(), PHG4BlockCellGeom::set_etabins(), PHG4BlockCellGeom::set_etamin(), PHG4BlockCellGeom::set_etastep(), PHG4BlockCellGeom::set_layer(), PHParametersContainer::set_name(), set_size(), PHG4BlockCellGeom::set_xbins(), PHG4BlockCellGeom::set_xmin(), PHG4BlockCellGeom::set_xstep(), tmin_max, PHParameterContainerInterface::UpdateParametersWithMacro(), Fun4AllBase::Verbosity(), width(), charm_jet_strange_helicity::xbins, xmin, xstep, and zmin_max.
|
overridevirtual |
event processing
Reimplemented from SubsysReco.
Definition at line 248 of file PHG4BlockCellReco.cc.
View newest version in sPHENIX GitHub at line 248 of file PHG4BlockCellReco.cc
References PHG4CellContainer::AddCell(), KF_timing::ax, binning, cellnodename, cellptarray, CheckEnergy(), chkenergyconservation, dx, dy, KF_timing::etabin, PHG4CellDefs::etaphibinning, Fun4AllReturnCodes::EVENT_OK, exit(), PHG4CellDefs::EtaXsizeBinning::genkey(), PHG4BlockCellGeom::get_etabin(), PHG4BlockCellGeom::get_etacenter(), PHG4Utils::get_etaphi(), PHG4BlockCellGeom::get_etastep(), PHG4BlockCellGeom::get_xbin(), PHG4BlockCellGeom::get_xcenter(), PHG4BlockCellGeom::get_xstep(), PHG4HitContainer::getHits(), PHG4BlockCellGeomContainer::GetLayerCellGeom(), PHG4HitContainer::getLayers(), hitnodename, implemented_detid, Acts::PlanarHelper::intersect(), G4TTL::layer, PHG4Utils::line_and_rectangle_intersect(), M_PI, n_x_z_bins, Fun4AllBase::Name(), PHWHERE, PHG4Hit::prop_light_yield, seggeonodename, sum_energy_g4hit, tmin_max, and Fun4AllBase::Verbosity().
|
overridevirtual |
Clean up after each event.
Reimplemented from SubsysReco.
Definition at line 49 of file PHG4BlockCellReco.cc.
View newest version in sPHENIX GitHub at line 49 of file PHG4BlockCellReco.cc
References Fun4AllReturnCodes::EVENT_OK, and sum_energy_g4hit.
|
protected |
Definition at line 503 of file PHG4BlockCellReco.cc.
View newest version in sPHENIX GitHub at line 503 of file PHG4BlockCellReco.cc
References binning, and cell_size.
Referenced by InitRun().
void PHG4BlockCellReco::set_timing_window | ( | const int | detid, |
const double | tmin, | ||
const double | tmax | ||
) |
Definition at line 496 of file PHG4BlockCellReco.cc.
View newest version in sPHENIX GitHub at line 496 of file PHG4BlockCellReco.cc
References PHParameterContainerInterface::set_double_param().
|
overridevirtual |
Implements PHParameterContainerInterface.
Definition at line 586 of file PHG4BlockCellReco.cc.
View newest version in sPHENIX GitHub at line 586 of file PHG4BlockCellReco.cc
References PHParameterContainerInterface::set_default_double_param().
Referenced by PHG4BlockCellReco().
|
protected |
Definition at line 45 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4BlockCellReco.h
Referenced by InitRun(), process_event(), and set_size().
|
protected |
Definition at line 46 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4BlockCellReco.h
Referenced by InitRun(), and set_size().
|
protected |
Definition at line 54 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4BlockCellReco.h
Referenced by CheckEnergy(), InitRun(), and process_event().
|
protected |
Definition at line 58 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4BlockCellReco.h
Referenced by checkenergy(), and process_event().
|
protected |
Definition at line 52 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4BlockCellReco.h
Referenced by Detector(), and InitRun().
|
protected |
Definition at line 49 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4BlockCellReco.h
Referenced by InitRun().
|
protected |
Definition at line 55 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4BlockCellReco.h
Referenced by InitRun().
|
protected |
Definition at line 53 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4BlockCellReco.h
Referenced by InitRun(), and process_event().
|
protected |
Definition at line 51 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4BlockCellReco.h
Referenced by InitRun(), and process_event().
|
protected |
Definition at line 57 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4BlockCellReco.h
Referenced by InitRun(), and process_event().
|
protected |
Definition at line 56 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4BlockCellReco.h
Referenced by InitRun(), and process_event().
|
protected |
Definition at line 44 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4BlockCellReco.h
Referenced by CheckEnergy(), process_event(), and ResetEvent().
|
protected |
Definition at line 50 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4BlockCellReco.h
Referenced by InitRun(), and process_event().
|
protected |
Definition at line 48 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4BlockCellReco.h
Referenced by InitRun().
|
protected |
Definition at line 47 of file PHG4BlockCellReco.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4BlockCellReco.h
Referenced by InitRun().