ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4FullProjSpacalCellReco.h>
Classes | |
class | LightCollectionModel |
Public Member Functions | |
PHG4FullProjSpacalCellReco (const std::string &name="HCALCELLRECO") | |
~PHG4FullProjSpacalCellReco () override | |
int | InitRun (PHCompositeNode *topNode) override |
module initialization | |
int | process_event (PHCompositeNode *topNode) override |
event processing | |
int | ResetEvent (PHCompositeNode *topNode) override |
reset after event processing | |
void | SetDefaultParameters () override |
void | Detector (const std::string &d) |
void | checkenergy (const int i=1) |
void | set_timing_window (const double tmin, const double tmax) |
LightCollectionModel & | get_light_collection_model () |
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 PHParameterInterface | |
PHParameterInterface (const std::string &name) | |
PHParameterInterface (const PHParameterInterface &)=delete | |
virtual | ~PHParameterInterface () |
void | set_paramname (const std::string &name) |
void | set_double_param (const std::string &name, const double dval) |
double | get_double_param (const std::string &name) const |
void | set_int_param (const std::string &name, const int ival) |
int | get_int_param (const std::string &name) const |
void | set_string_param (const std::string &name, const std::string &sval) |
std::string | get_string_param (const std::string &name) const |
void | UpdateParametersWithMacro () |
void | SaveToNodeTree (PHCompositeNode *runNode, const std::string &nodename) |
void | PutOnParNode (PHCompositeNode *parNode, const std::string &nodename) |
Protected Member Functions | |
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 PHParameterInterface | |
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 () |
Protected Attributes | |
std::string | detector |
std::string | hitnodename |
std::string | cellnodename |
std::string | geonodename |
std::string | seggeonodename |
double | sum_energy_g4hit |
int | chkenergyconservation |
std::map< unsigned int, PHG4Cell * > | celllist |
double | tmin |
timing window size in ns. This is for a simple simulation of the ADC integration window starting from 0ns to this value. Default to infinity, i.e. include all hits | |
double | tmax |
LightCollectionModel | light_collection_model |
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 18 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4FullProjSpacalCellReco.h
PHG4FullProjSpacalCellReco::PHG4FullProjSpacalCellReco | ( | const std::string & | name = "HCALCELLRECO" | ) |
Definition at line 53 of file PHG4FullProjSpacalCellReco.cc.
View newest version in sPHENIX GitHub at line 53 of file PHG4FullProjSpacalCellReco.cc
References PHParameterInterface::InitializeParameters().
|
inlineoverride |
Definition at line 24 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4FullProjSpacalCellReco.h
Definition at line 39 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 39 of file PHG4FullProjSpacalCellReco.h
References chkenergyconservation.
|
protected |
Definition at line 506 of file PHG4FullProjSpacalCellReco.cc.
View newest version in sPHENIX GitHub at line 506 of file PHG4FullProjSpacalCellReco.cc
References cellnodename, e, PHG4CellContainer::getCells(), Fun4AllBase::Name(), sum_energy_g4hit, and Fun4AllBase::Verbosity().
Referenced by process_event().
|
inline |
Definition at line 37 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4FullProjSpacalCellReco.h
Referenced by CEMC_Cells().
|
inline |
Definition at line 76 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4FullProjSpacalCellReco.h
References light_collection_model.
Referenced by CEMC_Cells().
|
overridevirtual |
module initialization
Reimplemented from SubsysReco.
Definition at line 73 of file PHG4FullProjSpacalCellReco.cc.
View newest version in sPHENIX GitHub at line 73 of file PHG4FullProjSpacalCellReco.cc
References PHG4CylinderCellGeomContainer::AddLayerCellGeom(), PHCompositeNode::addNode(), cellnodename, PHG4CylinderGeom_Spacalv3::geom_tower::centralZ, detector, dz, KF_timing::etabin, Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHNodeIterator::findFirst(), geonodename, PHG4CylinderGeom_Spacalv2::get_azimuthal_n_sec(), PHParameterInterface::get_double_param(), PHG4CylinderGeomv1::get_layer(), PHG4CylinderGeom_Spacalv3::get_max_phi_bin_in_sec(), PHG4CylinderGeom_Spacalv3::get_n_subtower_eta(), PHG4CylinderGeom_Spacalv3::get_n_subtower_phi(), PHG4CylinderGeomv1::get_radius(), PHG4CylinderGeom_Spacalv1::get_sector_map(), PHG4CylinderGeom_Spacalv3::get_sector_tower_map(), PHG4CylinderGeomv1::get_thickness(), PHG4CylinderGeom_Spacalv3::get_tower_radial_position(), PHG4CylinderGeom_Spacalv3::get_tower_z_phi_ID(), PHG4CylinderGeomContainer::GetFirstLayerGeom(), hitnodename, PHG4CylinderGeomContainer::identify(), PHG4CylinderCellGeom_Spacalv1::identify(), PHG4CylinderGeom_Spacalv3::identify(), M_PI, M_PI_2, Fun4AllBase::Name(), PHG4CylinderGeom_Spacalv3::geom_tower::NSubtowerY, PHG4CylinderGeom_Spacalv3::geom_tower::pDy1, PHG4CylinderGeom_Spacalv3::geom_tower::pDy2, PHWHERE, PHG4CylinderGeom_Spacalv3::geom_tower::pRotationAngleX, PHParameterInterface::PutOnParNode(), PHParameterInterface::SaveToNodeTree(), seggeonodename, PHG4CylinderCellGeom::set_binning(), PHG4CylinderCellGeom::set_etabins(), PHG4CylinderCellGeom_Spacalv1::set_etabounds(), PHG4CylinderCellGeom::set_etamin(), PHG4CylinderCellGeom::set_etastep(), PHG4CylinderCellGeom::set_layer(), PHG4CylinderCellGeom::set_phibins(), PHG4CylinderCellGeom::set_phimin(), PHG4CylinderCellGeom::set_phistep(), PHG4CylinderCellGeom::set_radius(), PHG4CylinderCellGeom::set_thickness(), PHG4CylinderCellGeom_Spacalv1::set_tower_z_ID_eta_bin_map(), PHG4CylinderCellGeom_Spacalv1::set_zbounds(), PHG4CellDefs::spacalbinning, PHG4CylinderGeom_Spacalv3::subtower_consistency_check(), tmax, tmin, PHParameterInterface::UpdateParametersWithMacro(), Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_SOME, and z.
|
overridevirtual |
event processing
Reimplemented from SubsysReco.
Definition at line 332 of file PHG4FullProjSpacalCellReco.cc.
View newest version in sPHENIX GitHub at line 332 of file PHG4FullProjSpacalCellReco.cc
References PHG4Cell::add_edep(), PHG4Cell::add_light_yield(), PHG4Cell::add_shower_edep(), PHG4CellContainer::AddCell(), celllist, cellnodename, CheckEnergy(), chkenergyconservation, e, KF_timing::etabin, Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHG4CylinderGeom_Spacalv3::scint_id_coder::fiber_ID, PHG4CellDefs::SpacalBinning::genkey(), geonodename, PHG4CellDefs::SpacalBinning::get_etabin(), PHG4CylinderCellGeom_Spacalv1::get_etabin_block(), PHG4FullProjSpacalCellReco::LightCollectionModel::get_fiber_transmission(), PHG4CellDefs::SpacalBinning::get_fiberid(), PHG4FullProjSpacalCellReco::LightCollectionModel::get_light_guide_efficiency(), PHG4Cell::get_light_yield(), PHG4CylinderGeom_Spacalv3::get_n_subtower_eta(), PHG4CylinderGeom_Spacalv3::get_n_subtower_phi(), PHG4CellDefs::SpacalBinning::get_phibin(), PHG4CylinderGeom_Spacalv3::get_sector_tower_map(), PHG4CylinderGeom_Spacalv3::get_tower_z_phi_ID(), PHG4CylinderCellGeomContainer::GetFirstLayerCellGeom(), PHG4CylinderGeomContainer::GetFirstLayerGeom(), PHG4HitContainer::getHits(), hitnodename, PHG4CylinderCellGeom_Spacalv1::identify(), PHG4CylinderGeom_Spacalv3::scint_id_coder::identify(), it, light_collection_model, Fun4AllBase::Name(), PHG4CylinderGeom_Spacalv3::scint_id_coder::sector_ID, seggeonodename, sum_energy_g4hit, tmax, tmin, PHG4CylinderGeom_Spacalv3::scint_id_coder::tower_ID, PHG4FullProjSpacalCellReco::LightCollectionModel::use_fiber_model(), Fun4AllBase::Verbosity(), x, y, and z.
|
overridevirtual |
reset after event processing
Reimplemented from SubsysReco.
Definition at line 66 of file PHG4FullProjSpacalCellReco.cc.
View newest version in sPHENIX GitHub at line 66 of file PHG4FullProjSpacalCellReco.cc
References Fun4AllReturnCodes::EVENT_OK, and sum_energy_g4hit.
void PHG4FullProjSpacalCellReco::set_timing_window | ( | const double | tmin, |
const double | tmax | ||
) |
Definition at line 635 of file PHG4FullProjSpacalCellReco.cc.
View newest version in sPHENIX GitHub at line 635 of file PHG4FullProjSpacalCellReco.cc
References PHParameterInterface::set_double_param().
|
overridevirtual |
Implements PHParameterInterface.
Definition at line 627 of file PHG4FullProjSpacalCellReco.cc.
View newest version in sPHENIX GitHub at line 627 of file PHG4FullProjSpacalCellReco.cc
References PHParameterInterface::set_default_double_param().
Definition at line 90 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 90 of file PHG4FullProjSpacalCellReco.h
Referenced by process_event().
|
protected |
Definition at line 84 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4FullProjSpacalCellReco.h
Referenced by CheckEnergy(), InitRun(), and process_event().
|
protected |
Definition at line 89 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 89 of file PHG4FullProjSpacalCellReco.h
Referenced by checkenergy(), and process_event().
|
protected |
Definition at line 82 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4FullProjSpacalCellReco.h
Referenced by Detector(), and InitRun().
|
protected |
Definition at line 85 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4FullProjSpacalCellReco.h
Referenced by InitRun(), and process_event().
|
protected |
Definition at line 83 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4FullProjSpacalCellReco.h
Referenced by InitRun(), and process_event().
|
protected |
Definition at line 96 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 96 of file PHG4FullProjSpacalCellReco.h
Referenced by get_light_collection_model(), and process_event().
|
protected |
Definition at line 86 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 86 of file PHG4FullProjSpacalCellReco.h
Referenced by InitRun(), and process_event().
|
protected |
Definition at line 88 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 88 of file PHG4FullProjSpacalCellReco.h
Referenced by CheckEnergy(), process_event(), and ResetEvent().
|
protected |
Definition at line 94 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 94 of file PHG4FullProjSpacalCellReco.h
Referenced by InitRun(), and process_event().
|
protected |
timing window size in ns. This is for a simple simulation of the ADC integration window starting from 0ns to this value. Default to infinity, i.e. include all hits
Definition at line 93 of file PHG4FullProjSpacalCellReco.h.
View newest version in sPHENIX GitHub at line 93 of file PHG4FullProjSpacalCellReco.h
Referenced by InitRun(), and process_event().