Skip to content
Snippets Groups Projects
Commit 4b32d890 authored by Jure Bericic's avatar Jure Bericic
Browse files

Various fixes.

Removed single stub tracking for HMS.
Uncommented all detector leaves from hstackana definition file.
Harmonized output ROOT file names in replay scripts.
parent 699f9eeb
No related branches found
No related tags found
No related merge requests found
Showing
with 44 additions and 40 deletions
# See $ANALYZER/examples/output_example.def for examples
#
#block T.hms.*
block T.hms.*
block H.dc.*
block H.tr.*
#block H.hod.*
#block H.cer.*
#block H.cal.*
block H.hod.*
block H.cer.*
block H.cal.*
block H.gtr.*
TH1D hhdc_resid_1 '' H.dc.residual[0] 200 -1.0 1.0
TH1D hhdc_resid_2 '' H.dc.residual[1] 200 -1.0 1.0
TH1D hhdc_resid_3 '' H.dc.residual[2] 200 -1.0 1.0
TH1D hhdc_resid_4 '' H.dc.residual[3] 200 -1.0 1.0
TH1D hhdc_resid_5 '' H.dc.residual[4] 200 -1.0 1.0
TH1D hhdc_resid_6 '' H.dc.residual[5] 200 -1.0 1.0
TH1D hhdc_resid_7 '' H.dc.residual[6] 200 -1.0 1.0
TH1D hhdc_resid_8 '' H.dc.residual[7] 200 -1.0 1.0
TH1D hhdc_resid_9 '' H.dc.residual[8] 200 -1.0 1.0
TH1D hhdc_resid_10 '' H.dc.residual[9] 200 -1.0 1.0
TH1D hhdc_resid_11 '' H.dc.residual[10] 200 -1.0 1.0
TH1D hhdc_resid_12 '' H.dc.residual[11] 200 -1.0 1.0
\ No newline at end of file
TH1D hhdc_resid_1 '' H.dc.residual[0] 200 -1.0 1.0
TH1D hhdc_resid_2 '' H.dc.residual[1] 200 -1.0 1.0
TH1D hhdc_resid_3 '' H.dc.residual[2] 200 -1.0 1.0
TH1D hhdc_resid_4 '' H.dc.residual[3] 200 -1.0 1.0
TH1D hhdc_resid_5 '' H.dc.residual[4] 200 -1.0 1.0
TH1D hhdc_resid_6 '' H.dc.residual[5] 200 -1.0 1.0
TH1D hhdc_resid_7 '' H.dc.residual[6] 200 -1.0 1.0
TH1D hhdc_resid_8 '' H.dc.residual[7] 200 -1.0 1.0
TH1D hhdc_resid_9 '' H.dc.residual[8] 200 -1.0 1.0
TH1D hhdc_resid_10 '' H.dc.residual[9] 200 -1.0 1.0
TH1D hhdc_resid_11 '' H.dc.residual[10] 200 -1.0 1.0
TH1D hhdc_resid_12 '' H.dc.residual[11] 200 -1.0 1.0
......@@ -5,12 +5,12 @@ hmin_combos = 3, 3
hstub_max_xpdiff = 0.5
hsingle_stub = 1
hsingle_stub = 0
hxloscin = 1, 1
hxhiscin = 16, 16
hyloscin = 1, 1
hyhiscin = 10, 10
hyhiscin = 10, 10
htrack_eff_test_num_scin_planes = 2
......@@ -19,5 +19,3 @@ hdc_tdc_min_win = -55000,-55000,-55000,-55000,-55000,-55000
hdc_tdc_max_win = 55000,55000,55000,55000,55000,55000
55000,55000,55000,55000,55000,55000
......@@ -17,7 +17,7 @@ void replay_hcal_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/hms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/hms_hcal_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/hcal_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_hcer_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/hms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/hcer_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/hcer_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -16,10 +16,8 @@ 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_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/hms_dc_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/hdc_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_hhodo_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/hms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/hhodo_htrig_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/hhodo_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/hms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/hms_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/hms_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......@@ -45,7 +45,7 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Add trigger detector to trigger apparatus
THcTrigDet* hms = new THcTrigDet("hms", "HMS Trigger Information");
TRG->AddDetector(hms);
// Set up the equipment to be analyzed.
THaApparatus* HMS = new THcHallCSpectrometer("H", "HMS");
gHaApps->Add(HMS);
......@@ -65,7 +65,11 @@ void replay_hms(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Include golden track information
THaGoldenTrack* gtr = new THaGoldenTrack("H.gtr", "HMS Golden Track", "H");
gHaPhysics->Add(gtr);
// Add handler for prestart event 125.
THcConfigEvtHandler* ev125 = new THcConfigEvtHandler("HC", "Config Event type 125");
gHaEvtHandlers->Add(ev125);
// Set up the analyzer - we use the standard one,
// but this could be an experiment-specific one as well.
// The Analyzer controls the reading of the data, executes
......
......@@ -17,7 +17,7 @@ void replay_htrig_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/hms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/hms_htrig_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/htrig_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_paero_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/shms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/paero_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/paero_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_pcal_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/shms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/shms_pcal_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/pcal_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_pdc_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/shms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/shms_dc_00%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/pdc_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_phgcer_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/shms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/phgcer_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/phgcer_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_phodo_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/shms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/phodo_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/phodo_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_pngcer_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/shms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/pngcer_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/pngcer_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_ptrig_test_stand(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/shms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/shms_ptrig_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/ptrig_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......
......@@ -17,7 +17,7 @@ void replay_shms(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Create file name patterns.
const char* RunFileNamePattern = "raw/shms_all_%05d.dat";
const char* ROOTFileNamePattern = "ROOTfiles/shms_replay_%d.root";
const char* ROOTFileNamePattern = "ROOTfiles/shms_replay_%05d.root";
// Add variables to global list.
gHcParms->Define("gen_run_number", "Run Number", RunNumber);
gHcParms->AddString("g_ctp_database_filename", "DBASE/standard.database");
......@@ -45,7 +45,7 @@ void replay_shms(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Add trigger detector to trigger apparatus
THcTrigDet* shms = new THcTrigDet("shms", "SHMS Trigger Information");
TRG->AddDetector(shms);
// Set up the equipment to be analyzed.
THaApparatus* SHMS = new THcHallCSpectrometer("P", "SHMS");
gHaApps->Add(SHMS);
......@@ -71,7 +71,11 @@ void replay_shms(Int_t RunNumber=0, Int_t MaxEvent=0) {
// Include golden track information
THaGoldenTrack* gtr = new THaGoldenTrack("P.gtr", "SHMS Golden Track", "P");
gHaPhysics->Add(gtr);
// Add handler for prestart event 125.
THcConfigEvtHandler* ev125 = new THcConfigEvtHandler("HC", "Config Event type 125");
gHaEvtHandlers->Add(ev125);
// Set up the analyzer - we use the standard one,
// but this could be an experiment-specific one as well.
// The Analyzer controls the reading of the data, executes
......
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