From c2fa051b5947a3174a586d88ece708fa3b0590de Mon Sep 17 00:00:00 2001 From: "Stephen A. Wood" <saw@jlab.org> Date: Thu, 10 Nov 2016 12:11:37 -0500 Subject: [PATCH] Add raster to analysis script and tree --- examples/DBASE/test.database | 2 +- examples/hodtest.C | 3 +++ examples/output.def | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/DBASE/test.database b/examples/DBASE/test.database index a6de3b8..a647e37 100644 --- a/examples/DBASE/test.database +++ b/examples/DBASE/test.database @@ -1,7 +1,7 @@ # ENGINE style parameter vs. run number database 50017 g_ctp_parm_filename="PARAM/general.param" -g_decode_map_filename="MAPS/jun04.map" +g_decode_map_filename="MAPS/raster_jun04.map" # Values taken from Logbook. Not necessarily official. gpbeam = 4.015 hpcentral = 2.074 diff --git a/examples/hodtest.C b/examples/hodtest.C index 9c798f9..a36b1c5 100644 --- a/examples/hodtest.C +++ b/examples/hodtest.C @@ -58,6 +58,9 @@ SOS->AddDetector( new THcShower("cal", "Shower" )); SOS->AddDetector( new THcDC("dc", "Drift Chambers" )); + THaApparatus* BEAM = new THcRasteredBeam("RB","Rastered Beamline"); + gHaApps->Add( BEAM ); + // setup physics gHaPhysics->Add( new THaGoldenTrack( "H.gold", "HMS Golden Track", "H" )); gHaPhysics->Add( new THaGoldenTrack( "S.gold", "SOS Golden Track", "S" )); diff --git a/examples/output.def b/examples/output.def index 26e3551..6c9935d 100644 --- a/examples/output.def +++ b/examples/output.def @@ -10,6 +10,7 @@ block S.dc.* block S.hod.* block S.cal.* block g.evtyp +block RB.* # TDC hits per paddle TH1F hpostdc1 'HMS s1x+ TDC hits' H.hod.1x.postdcpad 16 0.5 16.5 -- GitLab