You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run the clustering algorithm, run $COATJAVA/bin/recon-util -i data.hipo -o reco.hipo org.jlab.service.ltcc.LTCCEngine
If you want to enable DEBUG output
set the LTCCEngine.DEBUG flag to true in netbeans (defined in org.jlab.service.ltcc.LTCCEngine.java)
rebuild/re-install
Diagnostic histograms using netbeans
Generating/viewing the histograms
in netbeans, open the source file org.jlab.service.ltcc.LTCCViewer
on line 100, modify String inputfile = "/path/to/your/reconstructed/file.hipo;" to point to the relevant file
select run > Run File
the output canvas will appear in a new JFrame
Modifying the histograms
The available histograms are defined in org.jlab.service.ltcc/LTCCHitHistos.java and org.jlab.service.ltcc.LTCCClusterHistos.java
Each of the histograms are created, some options are set, and then they are added to the LTCCHistogrammer
This add call also requires a 'getter', a function (typically a lambda) that takes an object of the type DataType and returns a double (for H1F) or Pair<Double, Double> (for H2F).
You can add/modify the histograms here
To control which histograms are drawn, modify the LTCCViewer.drawClusters() and LTCCViewer.drawHits() methods in org.jlab.service.ltcc.LTCCViewer.java