Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 26 additions & 51 deletions etc/services/kpp.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
io-services:
reader:
class: org.jlab.io.clara.Clas12Reader
name: Clas12Reader
writer:
class: org.jlab.io.clara.Clas12Writer
name: Clas12Writer
configuration:
services:
MAGFIELDS:
magfieldSolenoidMap: Symm_solenoid_r601_phi1_z1201_13June2018.dat
magfieldTorusMap: Symm_torus_r2501_phi16_z251_24Apr2018.dat
DCCR:
dcT2DFunc: "Exponential"
rawBankGroup: "NODENOISE"
DCHB:
dcT2DFunc: "Exponential"
DCTB:
dcT2DFunc: "Exponential"

services:
- class: org.jlab.clas.reco.DecoderEngine
name: DECO
Expand All @@ -23,15 +29,9 @@ services:
# DC clustering: nominal algoritm, filled the cluster bank for ai and conventional tracking
- class: org.jlab.service.dc.DCHBClustering
name: DCCR
# This is where the AI plugin would go. THe AI code reads the HB clusters.
- class: org.jlab.service.mltn.MLTDEngine
name: MLTD
# DC using clustering: regular HB tracking
- class: org.jlab.service.dc.DCHBPostClusterConv
name: DCHB
# DC using clustering on AI hits: NN assisted HB tracking
- class: org.jlab.service.dc.DCHBPostClusterAI
name: DCHAI
- class: org.jlab.service.ftof.FTOFHBEngine
name: FTOFHB
- class: org.jlab.service.ec.ECEngine
Expand All @@ -50,14 +50,9 @@ services:
name: LTCC
- class: org.jlab.service.eb.EBHBEngine
name: EBHB
- class: org.jlab.service.eb.EBHBAIEngine
name: EBHAI
# DC regular TB tracking
# DC regular TB tracking
- class: org.jlab.service.dc.DCTBEngine
name: DCTB
# DC AI assisted TB tracking
- class: org.jlab.service.dc.DCTBEngineAI
name: DCTAI
- class: org.jlab.service.fmt.FMTEngine
name: FMT
- class: org.jlab.rec.cvt.services.CVTSecondPassEngine
Expand All @@ -66,42 +61,22 @@ services:
name: FTOFTB
- class: org.jlab.service.eb.EBTBEngine
name: EBTB
- class: org.jlab.service.eb.EBTBAIEngine
name: EBTAI
- class: org.jlab.rec.rich.RICHEBEngine
name: RICH
- class: org.jlab.service.rtpc.RTPCEngine
name: RTPC
- class: org.jlab.rec.service.vtx.VTXEngine
name: VTX
- class: org.jlab.calibration.service.CalibBanksEngine
name: CALIB
configuration:
services:
MAGFIELDS:
magfieldSolenoidMap: Symm_solenoid_r601_phi1_z1201_13June2018.dat
magfieldTorusMap: Symm_torus_r2501_phi16_z251_24Apr2018.dat
# examples of yaml settings for magfields
# magfieldSolenoidShift: "0.0"
# magfieldTorusXShift: "0.0"
# magfieldTorusYShift: "0.0"
# magfieldTorusZShift: "0.0"
# examples of yaml settings for DC services
# DCRC:
# dcGeometryVariation: rga_spring2018
# dcT2DFunc: "Polynomial"
# dcWireDistortion: "true"
# example of how to set variation and timestamp for a service, uncomment to use
# EBTB:
# variation: default
# timestamp: 08/22/2018
DCCR:
dcT2DFunc: "Exponential"
DCHB:
dcT2DFunc: "Exponential"
DCHAI:
dcT2DFunc: "Exponential"
DCTB:
dcT2DFunc: "Exponential"
DCTAI:
dcT2DFunc: "Exponential"
name: CALIB

io-services:
reader:
class: org.jlab.io.clara.Clas12Reader
name: Clas12Reader
writer:
class: org.jlab.io.clara.Clas12Writer
name: Clas12Writer

mime-types:
- binary/data-hipo
7 changes: 2 additions & 5 deletions validation/advanced-tests/run-advanced-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,16 @@ COAT=$CLARA_HOME/plugins/clas12/
source $COAT/libexec/env.sh
classPath="${COATJAVA_CLASSPATH}:../lib/*:src/"

# download test files
#wget --no-check-certificate http://clasweb.jlab.org/clas12offline/distribution/coatjava/validation_files/twoTrackEvents_809_raw.evio.tar.gz
#[ $? -ne 0 ] && echo "wget validation files failure" && exit 2
#tar -zxvf twoTrackEvents_809_raw.evio.tar.gz

# run decoder
rm -f twoTrackEvents_809.hipo
$COAT/bin/decoder -t -0.5 -s 0.0 -i ./data/twoTrackEvents_809_raw.evio -o ./twoTrackEvents_809.hipo -c 2
[ $? -ne 0 ] && echo "decoder failure" && exit 3

# take a peek
$COAT/bin/hipo-utils -stats ./twoTrackEvents_809.hipo

# run clara
rm -f rec_twoTrackEvents_809.hipo
$COAT/bin/run-clara -y $COAT/etc/services/kpp.yaml ./twoTrackEvents_809.hipo
[ $? -ne 0 ] && echo "reconstruction with clara failure" && exit 4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void testKppTracking() {
System.out.println("\tTotal count: " + totalCount + "\n\t2-track count: " + twoTrackCountAI);

assertEquals(twoTrackCountCV > 30, true); // this should be stricter!
assertEquals(twoTrackCountAI > 30, true); // this should be stricter!
//assertEquals(twoTrackCountAI > 30, true); // this should be stricter!

}

Expand Down
Loading