1 #ifndef PHG4DetectorSubsystem_h
2 #define PHG4DetectorSubsystem_h
42 void set_vdouble_param(
const std::string &name,
const double dvals[],
const unsigned int n);
49 void UseDB(
const int i = 1) {usedb = i;}
93 std::string superdetector;
94 std::string calibfiledir;
96 std::map<const std::string, double> dparams;
97 std::map<const std::string, std::vector<double> > vdparams;
98 std::map<const std::string, int> iparams;
99 std::map<const std::string, std::string> cparams;
101 std::map<const std::string, double> default_double;
102 std::map<const std::string, std::vector<double> > default_vdouble;
103 std::map<const std::string, int> default_int;
104 std::map<const std::string, std::string> default_string;
void SetActive(const int i=1)
void set_default_vdouble_param(const std::string &name, const std::vector< double > &dval)
void set_vdouble_param(const std::string &name, const std::vector< double > vdval)
void UseDB(const int i=1)
const std::string SuperDetector() const
int InitRun(PHCompositeNode *) final
void set_double_param(const std::string &name, const double dval)
int ReadParamsFromDB(const std::string &name, const int issuper)
void set_default_double_param(const std::string &name, const double dval)
int Init(PHCompositeNode *) final
void UpdateParametersWithMacro()
void BlackHole(const int i=1)
void OverlapCheck(const bool chk=true)
void SetCalibrationFileDir(const std::string &calibdir)
virtual ~PHG4DetectorSubsystem()
FILE_TYPE get_filetype() const
virtual int InitSubsystem(PHCompositeNode *)
std::vector< double > get_vdouble_param(const std::string &name) const
int BeginRunExecuted() const
void set_string_param(const std::string &name, const std::string &sval)
void set_default_string_param(const std::string &name, const std::string &sval)
bool CheckOverlap() const
void set_int_param(const std::string &name, const int ival)
double get_double_param(const std::string &name) const
void SetAbsorberTruth(const int i=1)
PHParameters * GetParams() const
int get_int_param(const std::string &name) const
void UseCalibFiles(const FILE_TYPE ftyp)
virtual int InitRunSubsystem(PHCompositeNode *)
std::string get_string_param(const std::string &name) const
virtual void SetDefaultParameters()=0
void InitializeParameters()
void SetAbsorberActive(const int i=1)
PHG4DetectorSubsystem(const std::string &name="GenericSubsystem", const int lyr=0)
void set_default_int_param(const std::string &name, const int ival)