Skip to content
Snippets Groups Projects
Commit f941e31e authored by Eric Pooser's avatar Eric Pooser
Browse files

Minor tweaks to phodo and pdc replay scripts

parent 4b196b3b
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ void replay_hdc_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
//const char* RunFileNamePattern = "raw/test_%d.dat"
//const char* RunFileNamePattern = "raw/hms_dc_000%d.dat";
const char* RunFileNamePattern = "raw/hms_all_000%d.dat";
const char* RunFileNamePattern = "raw/hms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/test_%d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
......
......@@ -16,7 +16,7 @@ void replay_pdc_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
}
// Create file name patterns.
const char* RunFileNamePattern = "raw/shms_dc_00%d.dat";
const char* RunFileNamePattern = "raw/shms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/shms_dc_00%d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
......@@ -29,6 +29,9 @@ void replay_pdc_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
gHcParms->Load(gHcParms->GetString("g_ctp_kinematics_filename"), RunNumber);
gHcParms->Load(gHcParms->GetString("g_ctp_parm_filename"));
// Load params for HMS DC test stand configuration
gHcParms->Load("PARAM/SHMS/DC/pdc_test_stand.param");
gHcDetectorMap = new THcDetectorMap();
//gHcDetectorMap->Load(gHcParms->GetString("g_decode_map_filename"));
gHcDetectorMap->Load("MAPS/SHMS/DETEC/pdc.map");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment