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
Copy file name to clipboardExpand all lines: src/using/analysis/ldmx-sw.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,10 @@ One can follow the same general workflow with [some additional changes
38
38
to the config script](#pre-401-standalone-analyzers) described below.
39
39
```
40
40
cd work-area
41
-
denv init ldmx/pro:v4.0.1
41
+
denv init ldmx/pro:<ldmx-sw-version>
42
42
```
43
+
where `<ldmx-sw-version>` is a version of ldmx-sw that has been [released](https://github.com/LDMX-Software/ldmx-sw/releases). The version of ldmx-sw you want to use depends on what features
44
+
you need and input data files you want to analyze.
43
45
The following code block shows the necessary boilerplate for starting
44
46
a C++ analyzer running with ldmx-sw.
45
47
```cpp
@@ -97,6 +99,8 @@ made within the function definitions.
97
99
```cpp
98
100
{{#include analyzer-total-rec-energy.cxx}}
99
101
```
102
+
Look at the [documentation of the HistogramPool](https://ldmx-software.github.io/ldmx-sw/classframework_1_1HistogramPool.html)
103
+
to see more examples of how to `create` and `fill` histograms.
100
104
101
105
In order to run this code on the data, we need to compile and run the program.
102
106
The special `from_file` function within the config script handles this in
0 commit comments