Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
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
2 changes: 2 additions & 0 deletions build-coatjava.sh
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,8 @@ done
for pom in $(find common-tools -name pom.xml); do
if [[ "$pom" =~ coat-libs ]]; then
install_jars $pom $prefix_dir/lib/clas 'coat-libs-*.jar'
elif [[ "$pom" =~ clas-qcddat ]]; then
install_jars $pom $prefix_dir/lib/services
# else # FIXME, consumers may be need these after https://github.com/JeffersonLab/coatjava/pull/632 ; alternatively add needed deps to `coat-libs`
# install_jars $pom $prefix_dir/lib/services
fi
Expand Down
17 changes: 17 additions & 0 deletions common-tools/clas-qcddat/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# QCDDAT Tools

> [!NOTE]
> See [documentation from Veronique](https://clasweb.jlab.org/wiki/images/d/d0/CVT_QCDDAT_Subpackage_Documentation.pdf), the original
> developer; see also [Veronique's wikipage for further documentation](https://clasweb.jlab.org/wiki/index.php/Veronique_Ziegler_Documentation).

## `CVT::QCDDATHit` Bank Validation

Run reconstruction, _e.g._,
```bash
run-clara -y $COATJAVA/etc/services/mc-qcddat.yaml -t 4 -n 500 -c ./clara -o ./clarout raw.evio
```

Run the CVT event display:
```bash
run-coatjava org.jlab.qcddat.CVTBrowser clarout/rec_raw.evio.hipo
```
39 changes: 39 additions & 0 deletions common-tools/clas-qcddat/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.jlab.clas</groupId>
<artifactId>clas-qcddat</artifactId>
<version>14.2.0-SNAPSHOT</version>
<packaging>jar</packaging>

<parent>
<groupId>org.jlab.clas</groupId>
<artifactId>common-tools</artifactId>
<version>14.2.0-SNAPSHOT</version>
</parent>

<dependencies>
<dependency>
<groupId>org.jlab.clas</groupId>
<artifactId>clas-io</artifactId>
<version>14.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-base</artifactId>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<classifier>linux</classifier>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<classifier>linux</classifier>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package org.jlab.qcddat;

import javafx.application.Application;
/**
*
* @author veronique
*/
public class CVTBrowser {

public static void main(String[] args) {
if (args.length < 1) {
System.err.println("Usage: java Viewer <input.hipo>");
System.err.println("Example: java Viewer file.hipo");
System.exit(1);
}

String inputFile = args[0];

CVTViewer.configure(inputFile);
Application.launch(CVTViewer.class);
}
}
Loading
Loading