2 #if ROOT_VERSION_CODE >= ROOT_VERSION(6,00,0)
5 #include <TSQLServer.h>
6 #include <TSQLResult.h>
9 R__LOAD_LIBRARY(libg4detectors)
12 #define LogDebug(exp) std::cout<<"DEBUG: " <<__FILE__<<": "<<__LINE__<<": "<< exp << std::endl
23 vector<string> sim_list = geom_svc->getDefaultSimList();
25 for(
int i=0; i<sim_list.size(); ++i){
26 string name = sim_list[i];
39 string material = geom_svc->getPlaneMaterial(
id);
46 <<
" {" << size[0] <<
", " << size[1] <<
", " << size[2] <<
"} "
47 <<
" {" << place[0] <<
", " << place[1] <<
", " << place[2] <<
"} "
48 <<
" {" << rot[0] <<
", " << rot[1] <<
", " << rot[2] <<
"} "
int verbosity
The verbosity level. 0 means not verbose at all.
void SetupSensitiveDetectors(PHG4Reco *g4Reco, bool toggle_dphodo=true, bool toggle_dc1=false, std::string chamberGas="SQ_ArCO2", std::string hodoMat="SQ_Scintillator", const int verbosity=0)
double getDetectorY0(const std::string detectorName) const
void SuperDetector(const std::string &name)
void set_double_param(const std::string &name, const double dval)
double getDetectorX0(const std::string detectorName) const
double getPlaneScaleX(int detectorID)
void set_string_param(const std::string &name, const std::string &sval)
double getPlaneScaleZ(int detectorID)
double getPlaneScaleY(int detectorID)
static GeomSvc * instance()
singlton instance
int getDetectorID(const std::string &detectorName) const
Get the plane position.
void SetActive(const int i=1)
void registerSubsystem(PHG4Subsystem *subsystem)
register subsystem
double getDetectorZ0(const std::string detectorName) const