ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/database/PHParameter/PHParameters.h>
Public Types | |
typedef std::map< const std::string, double > | dMap |
typedef dMap::const_iterator | dIter |
typedef std::map< const std::string, int > | iMap |
typedef iMap::const_iterator | iIter |
typedef std::map< const std::string, std::string > | strMap |
typedef std::map< const std::string, std::string > ::const_iterator | strIter |
Public Member Functions | |
PHParameters (const std::string &name) | |
PHParameters (const PHParameters ¶ms, const std::string &name) | |
~PHParameters () override | |
void | Print (Option_t *option="") const override |
size_t | get_hash () const |
hash of binary information for checking purpose | |
void | set_int_param (const std::string &name, const int ival) |
int | get_int_param (const std::string &name) const |
bool | exist_int_param (const std::string &name) const |
std::pair< std::map< const std::string, int > ::const_iterator, std::map < const std::string, int > ::const_iterator > | get_all_int_params () |
void | set_double_param (const std::string &name, const double dval) |
double | get_double_param (const std::string &name) const |
bool | exist_double_param (const std::string &name) const |
std::pair< std::map< const std::string, double > ::const_iterator, std::map < const std::string, double > ::const_iterator > | get_all_double_params () |
void | set_string_param (const std::string &name, const std::string &str) |
std::string | get_string_param (const std::string &name) const |
bool | exist_string_param (const std::string &name) const |
std::pair< std::map< const std::string, std::string > ::const_iterator, std::map < const std::string, std::string >::const_iterator > | get_all_string_params () |
void | set_name (const std::string &name) |
std::string | Name () const |
void | FillFrom (const PdbParameterMap *saveparams) |
void | FillFrom (const PdbParameterMapContainer *saveparamcontainer, const int layer) |
void | FillFrom (const PHParameters *saveparams) |
void | SaveToNodeTree (PHCompositeNode *topNode, const std::string &nodename) |
void | SaveToNodeTree (PHCompositeNode *topNode, const std::string &nodename, const int layer) |
void | UpdateNodeTree (PHCompositeNode *topNode, const std::string &nodename) |
void | UpdateNodeTree (PHCompositeNode *topNode, const std::string &nodename, const int layer) |
int | WriteToDB () |
int | ReadFromDB () |
int | ReadFromDB (const std::string &name, const int layer) |
int | WriteToFile (const std::string &extension, const std::string &dir=".") |
int | ReadFromFile (const std::string &name, const std::string &extension, const std::string &dir=".") |
simple read without super detector and layer structures | |
int | ReadFromFile (const std::string &name, const std::string &extension, const int layer, const int issuper, const std::string &dir=".") |
Fully fledged read. | |
void | CopyToPdbParameterMap (PdbParameterMap *myparm) |
void | printint () const |
void | printdouble () const |
void | printstring () const |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual void | identify (std::ostream &os=std::cout) const |
virtual void | Reset () |
Clear Event. | |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | isValid (const float) const |
virtual int | isValid (const double) const |
virtual int | isValid (const int) const |
virtual int | isValid (const unsigned int) const |
virtual int | isImplemented (const float f) const |
virtual int | isImplemented (const double f) const |
virtual int | isImplemented (const int i) const |
virtual int | isImplemented (const unsigned int i) const |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Private Member Functions | |
unsigned int | ConvertStringToUint (const std::string &str) const |
Private Attributes | |
std::string | m_Detector |
dMap | m_DoubleParMap |
iMap | m_IntParMap |
strMap | m_StringParMap |
Definition at line 20 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 20 of file PHParameters.h
typedef dMap::const_iterator PHParameters::dIter |
Definition at line 24 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 24 of file PHParameters.h
typedef std::map<const std::string, double> PHParameters::dMap |
Definition at line 23 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 23 of file PHParameters.h
typedef iMap::const_iterator PHParameters::iIter |
Definition at line 26 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 26 of file PHParameters.h
typedef std::map<const std::string, int> PHParameters::iMap |
Definition at line 25 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 25 of file PHParameters.h
typedef std::map<const std::string, std::string>::const_iterator PHParameters::strIter |
Definition at line 28 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 28 of file PHParameters.h
typedef std::map<const std::string, std::string> PHParameters::strMap |
Definition at line 27 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 27 of file PHParameters.h
|
inlineexplicit |
Definition at line 30 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 30 of file PHParameters.h
PHParameters::PHParameters | ( | const PHParameters & | params, |
const std::string & | name | ||
) |
Definition at line 37 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 37 of file PHParameters.cc
References FillFrom().
|
override |
Definition at line 43 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 43 of file PHParameters.cc
References m_DoubleParMap, m_IntParMap, and m_StringParMap.
|
private |
Definition at line 646 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 646 of file PHParameters.cc
References g4zmq::exit().
Referenced by ReadFromFile().
void PHParameters::CopyToPdbParameterMap | ( | PdbParameterMap * | myparm | ) |
Definition at line 626 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 626 of file PHParameters.cc
References m_DoubleParMap, m_IntParMap, m_StringParMap, PdbParameterMap::set_double_param(), PdbParameterMap::set_int_param(), and PdbParameterMap::set_string_param().
Referenced by SaveToNodeTree(), UpdateNodeTree(), WriteToDB(), and WriteToFile().
bool PHParameters::exist_double_param | ( | const std::string & | name | ) | const |
Definition at line 116 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 116 of file PHParameters.cc
References m_DoubleParMap.
Referenced by PHG4CylinderGeom_Spacalv3::ImportParameters(), PHG4CylinderGeom_Spacalv2::ImportParameters(), PHG4CylinderGeomv1::ImportParameters(), PHG4CylinderGeom_Spacalv1::ImportParameters(), PHG4CentralityReco::InitRun(), PHParameterContainerInterface::set_default_double_param(), PHParameterContainerInterface::set_double_param(), and EICG4LumiSubsystem::SetParametersFromFile().
bool PHParameters::exist_int_param | ( | const std::string & | name | ) | const |
Definition at line 72 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 72 of file PHParameters.cc
References m_IntParMap.
Referenced by PHG4CylinderGeomv2::ImportParameters(), PHG4CylinderGeom_Spacalv3::ImportParameters(), PHG4CylinderGeom_Spacalv2::ImportParameters(), PHG4CylinderGeomv1::ImportParameters(), PHG4CylinderGeom_Spacalv1::ImportParameters(), PHParameterContainerInterface::set_default_int_param(), PHParameterContainerInterface::set_int_param(), and EICG4LumiSubsystem::SetParametersFromFile().
bool PHParameters::exist_string_param | ( | const std::string & | name | ) | const |
Definition at line 203 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 203 of file PHParameters.cc
References m_StringParMap.
Referenced by PHG4CylinderGeom_Spacalv3::ImportParameters(), PHG4CylinderGeom_Spacalv1::ImportParameters(), PHG4CentralityReco::InitRun(), PHParameterContainerInterface::set_default_string_param(), PHParameterContainerInterface::set_string_param(), and EICG4LumiSubsystem::SetParametersFromFile().
void PHParameters::FillFrom | ( | const PdbParameterMap * | saveparams | ) |
Definition at line 223 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 223 of file PHParameters.cc
References PdbParameterMap::get_cparam_iters(), PdbParameterMap::get_dparam_iters(), PdbParameterMap::get_iparam_iters(), m_DoubleParMap, m_IntParMap, and m_StringParMap.
Referenced by PHParametersContainer::CreateAndFillFrom(), PHParametersContainer::FillFrom(), PHG4DetectorSubsystem::InitRun(), B0TrackFastSimEval::InitRun(), PHG4TrackFastSimEval::InitRun(), PHParameters(), ReadFromDB(), ReadFromFile(), and HcalRawTowerBuilder::ReadParamsFromNodeTree().
void PHParameters::FillFrom | ( | const PdbParameterMapContainer * | saveparamcontainer, |
const int | layer | ||
) |
Definition at line 255 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 255 of file PHParameters.cc
References PdbParameterMap::get_cparam_iters(), PdbParameterMap::get_dparam_iters(), PdbParameterMap::get_iparam_iters(), PdbParameterMapContainer::GetParameters(), m_DoubleParMap, m_IntParMap, and m_StringParMap.
void PHParameters::FillFrom | ( | const PHParameters * | saveparams | ) |
Definition at line 292 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 292 of file PHParameters.cc
References m_DoubleParMap, m_IntParMap, and m_StringParMap.
|
inline |
Definition at line 51 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 51 of file PHParameters.h
References m_DoubleParMap.
|
inline |
Definition at line 46 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 46 of file PHParameters.h
References m_IntParMap.
Referenced by RawTowerDeadMapLoader::InitRun(), PHG4InttDeadMapLoader::InitRun(), B0TrackFastSimEval::InitRun(), and PHG4TrackFastSimEval::InitRun().
|
inline |
Definition at line 56 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 56 of file PHParameters.h
References m_StringParMap.
double PHParameters::get_double_param | ( | const std::string & | name | ) | const |
Definition at line 98 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 98 of file PHParameters.cc
References g4zmq::exit(), m_DoubleParMap, and PHWHERE.
Referenced by PHG4InttDetector::AddGeometryNode(), PHG4TpcEndCapDetector::AddLayer(), PHG4mRICHDetector::build_mRICH_sector(), PHG4mRICHDetector::build_mRICH_wall_eside(), PHG4mRICHDetector::build_mRICH_wall_eside_proj(), PHG4mRICHDetector::build_mRICH_wall_hside(), PHG4TTLDetector::BuildBarrelTTL(), PHG4TTLDetector::BuildForwardTTL(), PHG4OuterHcalDetector::ConsistencyCheck(), PHG4MicromegasDetector::construct_micromegas(), PHG4TpcEndCapDetector::ConstructElectronics(), PHG4InnerHcalDetector::ConstructHcalScintillatorAssembly(), PHG4OuterHcalDetector::ConstructHcalScintillatorAssembly(), PHG4OuterHcalDetector::ConstructHcalSingleScintillators(), PHG4InnerHcalDetector::ConstructHcalSingleScintillators(), PHG4InttDetector::ConstructIntt(), PHG4ECAPToFDetector::ConstructMe(), G4JLeicVTXDetector::ConstructMe(), EICG4RPDetector::ConstructMe(), PHG4TRDDetector::ConstructMe(), PHG4PSTOFDetector::ConstructMe(), PHG4BeamlineMagnetDetector::ConstructMe(), EICG4ZDCDetector::ConstructMe(), EICG4B0Detector::ConstructMe(), EICG4BwdDetector::ConstructMe(), EICG4dRICHDetector::ConstructMe(), G4JLeicBeamLineMagnetDetector::ConstructMe(), PHG4BlockDetector::ConstructMe(), PHG4CylinderDetector::ConstructMe(), PHG4ConeDetector::ConstructMe(), EICG4B0ECALDetector::ConstructMe(), PHG4CylinderStripDetector::ConstructMe(), AllSiliconTrackerDetector::ConstructMe(), BeamLineMagnetDetector::ConstructMe(), PHG4EPDDetector::ConstructMe(), PHG4TpcEndCapDetector::ConstructMe(), PHG4ZDCDetector::ConstructMe(), PHG4TpcDetector::ConstructMe(), G4EicDircDetector::ConstructMe(), PHG4BackwardHcalDetector::ConstructMe(), PHG4ForwardHcalDetector::ConstructMe(), PHG4CrystalCalorimeterDetector::ConstructMe(), PHG4LFHcalDetector::ConstructMe(), PHG4InnerHcalDetector::ConstructMe(), PHG4ForwardEcalDetector::ConstructMe(), PHG4OuterHcalDetector::ConstructMe(), PHG4BarrelEcalDetector::ConstructMe(), EICG4LumiDetector::ConstructMe(), PHG4ProjCrystalCalorimeterDetector::ConstructProjectiveCrystals(), PHG4HybridHomogeneousCalorimeterDetector::ConstructSupportFrame(), PHG4BackwardHcalDetector::ConstructTower(), PHG4ForwardHcalDetector::ConstructTower(), EICG4BwdDetector::ConstructTower(), EICG4B0ECALDetector::ConstructTower(), PHG4LFHcalDetector::ConstructTower(), PHG4CrystalCalorimeterDetector::ConstructTower(), PHG4HybridHomogeneousCalorimeterDetector::ConstructTower(), PHG4ForwardEcalDetector::ConstructTower(), PHG4TpcDetector::ConstructTpcCageVolume(), PHG4TpcDetector::ConstructTpcExternalSupports(), PHG4TpcDetector::ConstructTpcGasVolume(), PHG4TpcEndCapDetector::ConstructWagonWheel(), EICG4B0ECALSteppingAction::FindTowerIndexFromPosition(), EICG4BwdSteppingAction::FindTowerIndexFromPosition(), PHParameterInterface::get_double_param(), PHParameterContainerInterface::get_double_param(), PHG4DetectorSubsystem::get_double_param(), PHG4DetectorGroupSubsystem::get_double_param(), PHG4BarrelEcalDetector::GetGlassTrap(), PHG4BarrelEcalDetector::GetGlassTrapSubtract(), PHG4CylinderStripDetector::GetHollowBar(), PHG4CylinderGeom_Spacalv3::ImportParameters(), PHG4CylinderGeom_Spacalv2::ImportParameters(), PHG4CylinderGeomv1::ImportParameters(), PHG4CylinderGeom_Spacalv1::ImportParameters(), PHG4CylinderGeom_Spacalv3::geom_tower::ImportParameters(), PHG4OuterHcalSteppingAction::Init(), RawClusterPositionCorrection::InitRun(), PHG4CentralityReco::InitRun(), PHG4TpcElectronDrift::InitRun(), PHG4CylinderSubsystem::InitRunSubsystem(), EICG4BwdDetector::ParseParametersFromTable(), EICG4B0ECALDetector::ParseParametersFromTable(), PHG4LFHcalDetector::ParseParametersFromTable(), PHG4EICMvtxDetector::PHG4EICMvtxDetector(), PHG4InnerHcalSteppingAction::PHG4InnerHcalSteppingAction(), PHG4InttSteppingAction::PHG4InttSteppingAction(), PHG4MvtxDetector::PHG4MvtxDetector(), PHG4TpcSteppingAction::PHG4TpcSteppingAction(), RawTowerZDCCalibration::process_event(), RawTowerCalibration::process_event(), RawTowerZDCDigitizer::process_event(), RawTowerDigitizer::process_event(), HcalRawTowerBuilder::ReadParamsFromNodeTree(), and PHParameterContainerInterface::set_default_double_param().
size_t PHParameters::get_hash | ( | ) | const |
hash of binary information for checking purpose
Definition at line 135 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 135 of file PHParameters.cc
References hash_combine(), m_DoubleParMap, m_IntParMap, m_StringParMap, and seed.
int PHParameters::get_int_param | ( | const std::string & | name | ) | const |
Definition at line 55 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 55 of file PHParameters.cc
References g4zmq::exit(), m_IntParMap, and PHWHERE.
Referenced by PHG4MicromegasDetector::add_geometry_node(), PHG4InttDetector::AddGeometryNode(), AllSiliconTrackerDetector::AddHitNodes(), PHG4ConeDisplayAction::ApplyDisplayAction(), PHG4CylinderDisplayAction::ApplyDisplayAction(), PHG4BlockDisplayAction::ApplyDisplayAction(), G4EicDircDisplayAction::ApplyDisplayAction(), PHG4mRICHDetector::build_mRICH_sector(), PHG4mRICHDetector::build_mRICH_sector2(), PHG4mRICHDetector::build_mRICH_wall_eside(), PHG4mRICHDetector::build_mRICH_wall_eside_proj(), PHG4mRICHDetector::build_mRICH_wall_hside(), PHG4TpcEndCapDetector::ConstructElectronics(), PHG4TpcEndCapDetector::ConstructEndCapAssembly(), PHG4OuterHcalDetector::ConstructHcalSingleScintillators(), PHG4InttDetector::ConstructIntt(), EICG4RPDetector::ConstructMe(), PHG4ECAPToFDetector::ConstructMe(), PHG4BeamlineMagnetDetector::ConstructMe(), EICG4BwdDetector::ConstructMe(), PHG4CylinderStripDetector::ConstructMe(), G4EicDircDetector::ConstructMe(), PHG4TTLDetector::ConstructMe(), EICG4LumiDetector::ConstructMe(), PHG4ForwardHcalDetector::ConstructTower(), PHG4LFHcalDetector::ConstructTower(), PHG4HybridHomogeneousCalorimeterDetector::ConstructTower(), PHG4ForwardEcalDetector::ConstructTower(), PHG4TpcEndCapDetector::ConstructWagonWheel(), G4EicDircDetector::DefineMaterials(), G4JLeicVTXDetector::G4JLeicVTXDetector(), PHParameterInterface::get_int_param(), PHParameterContainerInterface::get_int_param(), PHG4DetectorGroupSubsystem::get_int_param(), PHG4DetectorSubsystem::get_int_param(), PHG4CylinderGeomv2::ImportParameters(), PHG4CylinderGeom_Spacalv3::ImportParameters(), PHG4CylinderGeom_Spacalv2::ImportParameters(), PHG4CylinderGeomv1::ImportParameters(), PHG4CylinderGeom_Spacalv1::ImportParameters(), PHG4CylinderGeom_Spacalv3::geom_tower::ImportParameters(), PHG4OuterHcalSteppingAction::Init(), RawClusterPositionCorrection::InitRun(), PHG4ECAPToFSubsystem::InitRunSubsystem(), PHG4TRDSubsystem::InitRunSubsystem(), PHG4InnerHcalSubsystem::InitRunSubsystem(), PHG4OuterHcalSubsystem::InitRunSubsystem(), G4LBLVtxSubsystem::InitRunSubsystem(), PHG4EICMvtxSubsystem::InitRunSubsystem(), PHG4MvtxSubsystem::InitRunSubsystem(), G4JLeicBeamLineMagnetSubsystem::InitRunSubsystem(), PHG4InttSubsystem::InitRunSubsystem(), PHG4SpacalSubsystem::InitRunSubsystem(), PHG4LFHcalDetector::ParseParametersFromTable(), PHG4EICMvtxDetector::PHG4EICMvtxDetector(), PHG4InnerHcalDetector::PHG4InnerHcalDetector(), PHG4InttDetector::PHG4InttDetector(), PHG4InttSteppingAction::PHG4InttSteppingAction(), PHG4MvtxDetector::PHG4MvtxDetector(), PHG4PSTOFDetector::PHG4PSTOFDetector(), PHG4TpcEndCapDetector::PHG4TpcEndCapDetector(), HcalRawTowerBuilder::ReadParamsFromNodeTree(), PHParameterContainerInterface::set_default_int_param(), PHG4BbcSteppingAction::SetInterfacePointers(), PHG4OuterHcalDetector::SetTiltViaNcross(), and PHG4InnerHcalDetector::SetTiltViaNcross().
std::string PHParameters::get_string_param | ( | const std::string & | name | ) | const |
Definition at line 186 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 186 of file PHParameters.cc
References g4zmq::exit(), m_StringParMap, and PHWHERE.
Referenced by PHG4BlockDisplayAction::ApplyDisplayAction(), PHG4ConeDisplayAction::ApplyDisplayAction(), PHG4CylinderDisplayAction::ApplyDisplayAction(), G4EicDircDisplayAction::ApplyDisplayAction(), PHG4TpcEndCapDetector::ConstructElectronics(), PHG4InnerHcalDetector::ConstructInnerHcal(), PHG4ECAPToFDetector::ConstructMe(), PHG4TRDDetector::ConstructMe(), PHG4BeamlineMagnetDetector::ConstructMe(), EICG4B0Detector::ConstructMe(), EICG4BwdDetector::ConstructMe(), EICG4dRICHDetector::ConstructMe(), PHG4ConeDetector::ConstructMe(), PHG4CylinderDetector::ConstructMe(), PHG4BlockDetector::ConstructMe(), EICG4B0ECALDetector::ConstructMe(), G4JLeicBeamLineMagnetDetector::ConstructMe(), PHG4CylinderStripDetector::ConstructMe(), BeamLineMagnetDetector::ConstructMe(), PHG4BackwardHcalDetector::ConstructMe(), PHG4ForwardHcalDetector::ConstructMe(), PHG4CrystalCalorimeterDetector::ConstructMe(), PHG4HybridHomogeneousCalorimeterDetector::ConstructMe(), PHG4BarrelEcalDetector::ConstructMe(), EICG4LumiDetector::ConstructMe(), PHG4OuterHcalDetector::ConstructOuterHcal(), PHG4ProjCrystalCalorimeterDetector::ConstructProjectiveCrystals(), PHG4BackwardHcalDetector::ConstructTower(), PHG4ForwardHcalDetector::ConstructTower(), EICG4BwdDetector::ConstructTower(), EICG4B0ECALDetector::ConstructTower(), PHG4LFHcalDetector::ConstructTower(), PHG4CrystalCalorimeterDetector::ConstructTower(), PHG4TpcDetector::ConstructTpcCageVolume(), PHG4TpcDetector::ConstructTpcGasVolume(), PHG4TpcEndCapDetector::ConstructWagonWheel(), PHG4ProjCrystalCalorimeterDetector::Fill4x4Unit(), PHG4ProjCrystalCalorimeterDetector::FillSpecialUnit(), PHParameterInterface::get_string_param(), PHParameterContainerInterface::get_string_param(), PHG4DetectorGroupSubsystem::get_string_param(), PHG4DetectorSubsystem::get_string_param(), PHG4CylinderGeom_Spacalv3::ImportParameters(), PHG4CylinderGeom_Spacalv1::ImportParameters(), PHG4CylinderGeom_Spacalv3::geom_tower::ImportParameters(), PHG4CentralityReco::InitRun(), PHG4mRICHSubsystem::InitRunSubsystem(), PHG4BackwardHcalDetector::ParseParametersFromTable(), PHG4ForwardHcalDetector::ParseParametersFromTable(), PHG4EICForwardEcalDetector::ParseParametersFromTable(), PHG4LFHcalDetector::ParseParametersFromTable(), PHG4CrystalCalorimeterDetector::ParseParametersFromTable(), PHG4HybridHomogeneousCalorimeterDetector::ParseParametersFromTable(), PHG4BarrelEcalDetector::ParseParametersFromTable(), PHG4ForwardEcalDetector::ParseParametersFromTable(), PHG4LFHcalDetector::PHG4LFHcalDetector(), PHParameterContainerInterface::set_default_string_param(), and EICG4B0SteppingAction::UserSteppingAction().
|
inline |
Definition at line 59 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 59 of file PHParameters.h
References m_Detector.
Referenced by PHG4DetectorSubsystem::InitRun().
|
override |
Definition at line 125 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 125 of file PHParameters.cc
References m_Detector, printdouble(), printint(), and printstring().
Referenced by RawClusterPositionCorrection::InitRun(), B0TrackFastSimEval::InitRun(), PHG4TrackFastSimEval::InitRun(), EICG4RPDetector::Print(), BeastMagnetDetector::Print(), EICG4BwdDetector::Print(), EICG4ZDCDetector::Print(), EICG4dRICHDetector::Print(), AllSi_Al_support_Detector::Print(), EicFRichDetector::Print(), EICG4B0Detector::Print(), EICG4B0ECALDetector::Print(), AllSiliconTrackerDetector::Print(), PHG4TRDSubsystem::Print(), PHG4MicromegasDetector::Print(), PHG4TpcEndCapDetector::Print(), PHG4ECAPToFSubsystem::Print(), G4EicDircDetector::Print(), PHG4BarrelEcalSubsystem::Print(), PHG4ForwardHcalSubsystem::Print(), PHG4InnerHcalSubsystem::Print(), BeamLineMagnetSubsystem::Print(), PHG4OuterHcalSubsystem::Print(), PHG4TpcSubsystem::Print(), G4LBLVtxSubsystem::Print(), PHG4BeamlineMagnetSubsystem::Print(), PHG4CylinderSubsystem::Print(), G4JLeicBeamLineMagnetSubsystem::Print(), PHG4CylinderStripSubsystem::Print(), PHG4GDMLSubsystem::Print(), PHG4BbcSubsystem::Print(), and EICG4LumiDetector::Print().
void PHParameters::printdouble | ( | ) | const |
Definition at line 169 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 169 of file PHParameters.cc
References m_DoubleParMap.
Referenced by Print(), and PHParameterContainerInterface::set_double_param().
void PHParameters::printint | ( | ) | const |
Definition at line 81 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 81 of file PHParameters.cc
References m_IntParMap.
Referenced by Print(), and PHParameterContainerInterface::set_int_param().
void PHParameters::printstring | ( | ) | const |
Definition at line 212 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 212 of file PHParameters.cc
References m_StringParMap.
Referenced by Print(), and PHParameterContainerInterface::set_string_param().
int PHParameters::ReadFromDB | ( | ) |
Definition at line 462 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 462 of file PHParameters.cc
References PdbApplication::abort(), g4zmq::exit(), PdbBankManager::fetchBank(), FillFrom(), PdbBankManager::getApplication(), PdbBankManager::instance(), m_Detector, PHWHERE, PdbApplication::startRead(), and Acts::Test::transform.
Referenced by PHG4DetectorSubsystem::ReadParamsFromDB().
Definition at line 429 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 429 of file PHParameters.cc
References PdbApplication::abort(), g4zmq::exit(), PdbBankManager::fetchBank(), FillFrom(), PdbBankManager::getApplication(), PdbBankManager::instance(), PHWHERE, PdbApplication::startRead(), and Acts::Test::transform.
|
inline |
simple read without super detector and layer structures
Definition at line 79 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 79 of file PHParameters.h
References dir.
Referenced by CEMC_Clusters(), CEMC_Towers(), RawTowerDeadMapLoader::InitRun(), PHG4InttDeadMapLoader::InitRun(), and PHG4DetectorSubsystem::ReadParamsFromFile().
int PHParameters::ReadFromFile | ( | const std::string & | name, |
const std::string & | extension, | ||
const int | layer, | ||
const int | issuper, | ||
const std::string & | dir = "." |
||
) |
Fully fledged read.
Definition at line 536 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 536 of file PHParameters.cc
References ConvertStringToUint(), f, FillFrom(), test::fname, PdbParameterMap::get_hash(), PdbBankID::getInternalValue(), PdbParameterMapContainer::GetParameters(), second, and Acts::Test::transform.
void PHParameters::SaveToNodeTree | ( | PHCompositeNode * | topNode, |
const std::string & | nodename | ||
) |
Definition at line 316 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 316 of file PHParameters.cc
References CopyToPdbParameterMap(), and PdbParameterMap::Reset().
Referenced by RawClusterPositionCorrection::CreateNodeTree(), PHG4TrackFastSim::GetNodes(), B0TrackFastSim::GetNodes(), PHG4DetectorSubsystem::InitRun(), and PHParameterInterface::SaveToNodeTree().
void PHParameters::SaveToNodeTree | ( | PHCompositeNode * | topNode, |
const std::string & | nodename, | ||
const int | layer | ||
) |
Definition at line 347 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 347 of file PHParameters.cc
References PdbParameterMapContainer::AddPdbParameterMap(), CopyToPdbParameterMap(), PdbParameterMapContainer::GetParametersToModify(), and PdbParameterMap::Reset().
void PHParameters::set_double_param | ( | const std::string & | name, |
const double | dval | ||
) |
Definition at line 92 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 92 of file PHParameters.cc
References m_DoubleParMap.
Referenced by PHG4InnerHcalDetector::ConstructHcalSingleScintillators(), PHParameterInterface::InitializeParameters(), PHG4DetectorGroupSubsystem::InitializeParameters(), PHG4DetectorSubsystem::InitializeParameters(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4ForwardHcalDetector::ParseParametersFromTable(), PHG4BackwardHcalDetector::ParseParametersFromTable(), PHG4LFHcalDetector::ParseParametersFromTable(), PHG4CrystalCalorimeterDetector::ParseParametersFromTable(), PHG4HybridHomogeneousCalorimeterDetector::ParseParametersFromTable(), PHG4BarrelEcalDetector::ParseParametersFromTable(), PHG4ForwardEcalDetector::ParseParametersFromTable(), PHG4ForwardEcalDetector::PHG4ForwardEcalDetector(), PHParameterContainerInterface::set_default_double_param(), PHParameterContainerInterface::set_double_param(), RawClusterPositionCorrection::SetDefaultParameters(), PHG4OuterHcalDetector::SetTiltViaNcross(), PHG4InnerHcalDetector::SetTiltViaNcross(), PHParameterInterface::UpdateParametersWithMacro(), PHParameterContainerInterface::UpdateParametersWithMacro(), PHG4DetectorGroupSubsystem::UpdateParametersWithMacro(), and PHG4DetectorSubsystem::UpdateParametersWithMacro().
Definition at line 50 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 50 of file PHParameters.cc
References m_IntParMap.
Referenced by PHG4TrackFastSim::GetNodes(), B0TrackFastSim::GetNodes(), PHParameterInterface::InitializeParameters(), PHG4DetectorGroupSubsystem::InitializeParameters(), PHG4DetectorSubsystem::InitializeParameters(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4mRICHSubsystem::InitSubsystem(), PHG4LFHcalDetector::ParseParametersFromTable(), PHG4HybridHomogeneousCalorimeterDetector::ParseParametersFromTable(), PHG4ForwardEcalDetector::ParseParametersFromTable(), PHG4InnerHcalDetector::PHG4InnerHcalDetector(), PHParameterContainerInterface::set_default_int_param(), PHParameterContainerInterface::set_int_param(), RawClusterPositionCorrection::SetDefaultParameters(), PHG4OuterHcalDetector::SetTiltViaNcross(), PHG4InnerHcalDetector::SetTiltViaNcross(), PHParameterInterface::UpdateParametersWithMacro(), PHParameterContainerInterface::UpdateParametersWithMacro(), PHG4DetectorGroupSubsystem::UpdateParametersWithMacro(), and PHG4DetectorSubsystem::UpdateParametersWithMacro().
|
inline |
Definition at line 58 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 58 of file PHParameters.h
References m_Detector.
Referenced by RawTowerDigitizer::Detector(), RawTowerZDCDigitizer::Detector(), RawTowerZDCCalibration::Detector(), RawTowerCalibration::Detector(), PHG4DetectorSubsystem::Init(), PHG4mRICHSubsystem::InitSubsystem(), and PHParameterInterface::set_paramname().
void PHParameters::set_string_param | ( | const std::string & | name, |
const std::string & | str | ||
) |
Definition at line 180 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 180 of file PHParameters.cc
References m_StringParMap.
Referenced by PHG4TrackFastSim::GetNodes(), B0TrackFastSim::GetNodes(), PHParameterInterface::InitializeParameters(), PHG4DetectorGroupSubsystem::InitializeParameters(), PHG4DetectorSubsystem::InitializeParameters(), PHG4CylinderSubsystem::InitRunSubsystem(), PHG4mRICHSubsystem::InitSubsystem(), PHParameterContainerInterface::set_default_string_param(), PHParameterContainerInterface::set_string_param(), PHParameterInterface::UpdateParametersWithMacro(), PHParameterContainerInterface::UpdateParametersWithMacro(), PHG4DetectorGroupSubsystem::UpdateParametersWithMacro(), and PHG4DetectorSubsystem::UpdateParametersWithMacro().
void PHParameters::UpdateNodeTree | ( | PHCompositeNode * | topNode, |
const std::string & | nodename | ||
) |
Definition at line 334 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 334 of file PHParameters.cc
References CopyToPdbParameterMap(), and PHWHERE.
Referenced by PHG4DetectorSubsystem::InitRun().
void PHParameters::UpdateNodeTree | ( | PHCompositeNode * | topNode, |
const std::string & | nodename, | ||
const int | layer | ||
) |
Definition at line 372 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 372 of file PHParameters.cc
References CopyToPdbParameterMap(), PdbParameterMapContainer::GetParametersToModify(), and PHWHERE.
int PHParameters::WriteToDB | ( | ) |
Definition at line 392 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 392 of file PHParameters.cc
References PdbApplication::abort(), PdbApplication::commit(), CopyToPdbParameterMap(), PdbBankManager::createBank(), g4zmq::exit(), PdbBankManager::getApplication(), PdbBankManager::instance(), m_Detector, PHWHERE, PdbCalBank::setLength(), PdbApplication::startUpdate(), and Acts::Test::transform.
Referenced by PHG4DetectorSubsystem::SaveParamsToDB().
int PHParameters::WriteToFile | ( | const std::string & | extension, |
const std::string & | dir = "." |
||
) |
Definition at line 497 of file PHParameters.cc.
View newest version in sPHENIX GitHub at line 497 of file PHParameters.cc
References CopyToPdbParameterMap(), dir, f, test::fname, PdbBankID::getInternalValue(), PHTimeStamp::getTics(), m_Detector, Acts::VectorHelpers::time(), and Acts::Test::transform.
Referenced by PHG4DetectorSubsystem::SaveParamsToFile().
|
private |
Definition at line 94 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 94 of file PHParameters.h
Referenced by Name(), Print(), ReadFromDB(), set_name(), WriteToDB(), and WriteToFile().
|
private |
Definition at line 95 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 95 of file PHParameters.h
Referenced by CopyToPdbParameterMap(), exist_double_param(), FillFrom(), get_all_double_params(), get_double_param(), get_hash(), printdouble(), set_double_param(), and ~PHParameters().
|
private |
Definition at line 96 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 96 of file PHParameters.h
Referenced by CopyToPdbParameterMap(), exist_int_param(), FillFrom(), get_all_int_params(), get_hash(), get_int_param(), printint(), set_int_param(), and ~PHParameters().
|
private |
Definition at line 97 of file PHParameters.h.
View newest version in sPHENIX GitHub at line 97 of file PHParameters.h
Referenced by CopyToPdbParameterMap(), exist_string_param(), FillFrom(), get_all_string_params(), get_hash(), get_string_param(), printstring(), set_string_param(), and ~PHParameters().