|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
Builds the strip-sum scatters, tags reactions, and draws the results. More...
#include <StripSumScatter.hpp>
Public Member Functions | |
| StripSumScatter () | |
| Construct with empty scatters and no cache loaded. | |
| ~StripSumScatter () | |
| Frees the scatters and the reservoir. | |
| void | Run () |
| Build or load the scatters, tag reactions, and draw everything. | |
Static Public Member Functions | |
| static TString | CacheName () |
| Filename of the scatter cache for this configuration. | |
| static void | PlaneXY (const Double_t *total, Int_t reac, Double_t &x, Double_t &y) |
| Where an event sits in the scatter plane for a given reaction strip. | |
| static Int_t | YLoOf (Int_t reac) |
| First strip of the post-trigger window summed onto y. | |
| static Int_t | YHiOf (Int_t reac) |
| Last strip of the post-trigger window, inclusive. | |
| static Bool_t | PassesReaction (const EnergyView &ev, Int_t reac) |
| Whether an event is tagged as a reaction at a given strip. | |
Measured beam noise | |
Measured once from the data and stamped into the cache. Set before any tagging begins and read-only afterwards, which is what makes them safe to share across the worker threads without synchronisation. | |
| static Double_t | JumpSigma (Int_t strip) |
| Sigma of the strip-to-strip difference total[s] - total[s-1]. | |
| static Double_t | StripSigma (Int_t strip) |
| Sigma of a strip's own deposit. | |
| static void | SetJumpSigma (const Double_t *sigma) |
| Install the jump sigmas. | |
| static void | SetStripSigma (const Double_t *sigma) |
| Install the per-strip sigmas. | |
| static Double_t | JumpMin (Int_t reac) |
| Minimum jump for a tag: REAC_JUMP_NSIGMA * JumpSigma(reac). | |
Builds the strip-sum scatters, tags reactions, and draws the results.
The entry point behind the strip-sum-scatter binary. Fills per-strip scatters from the events files, caches them alongside a reservoir of tagged events, and draws the regions and trace overlays.
Definition at line 188 of file StripSumScatter.hpp.
| StripSumScatter::StripSumScatter | ( | ) |
Construct with empty scatters and no cache loaded.
Definition at line 5 of file StripSumScatter.cpp.
| StripSumScatter::~StripSumScatter | ( | ) |
Frees the scatters and the reservoir.
Definition at line 22 of file StripSumScatter.cpp.
|
static |
Filename of the scatter cache for this configuration.
Definition at line 350 of file StripSumScatter.cpp.
Referenced by main(), Run(), and TagEfficiency::Run().
|
static |
Minimum jump for a tag: REAC_JUMP_NSIGMA * JumpSigma(reac).
| reac | Reaction strip index. |
Definition at line 68 of file StripSumScatter.cpp.
Referenced by PassesReaction(), and Run().
|
static |
Sigma of the strip-to-strip difference total[s] - total[s-1].
| strip | Strip index. |
Definition at line 50 of file StripSumScatter.cpp.
Referenced by JumpMin().
|
static |
Whether an event is tagged as a reaction at a given strip.
| ev | Decoded event. |
| reac | Reaction strip index. |
Definition at line 181 of file StripSumScatter.cpp.
|
static |
Where an event sits in the scatter plane for a given reaction strip.
x is the sum over X_LO..X_HI; y is the sum over the post-trigger window.
| total | Calibrated per-strip totals for the event. | |
| reac | Reaction strip index. | |
| [out] | x | Plane x coordinate. |
| [out] | y | Plane y coordinate. |
Definition at line 324 of file StripSumScatter.cpp.
| void StripSumScatter::Run | ( | ) |
Build or load the scatters, tag reactions, and draw everything.
The entry point called from main_strip_sum_scatter.cpp.
Definition at line 2848 of file StripSumScatter.cpp.
Referenced by main().
|
static |
Install the jump sigmas.
Call before tagging starts.
| sigma | 18 values, one per strip. |
Definition at line 58 of file StripSumScatter.cpp.
Referenced by Run().
|
static |
Install the per-strip sigmas.
Call before tagging starts.
| sigma | 18 values, one per strip. |
Definition at line 63 of file StripSumScatter.cpp.
Referenced by Run().
|
static |
Sigma of a strip's own deposit.
| strip | Strip index. |
Definition at line 54 of file StripSumScatter.cpp.
|
static |
Last strip of the post-trigger window, inclusive.
| reac | Reaction strip index. |
Definition at line 35 of file StripSumScatter.cpp.
Referenced by PlaneXY().
|
static |
First strip of the post-trigger window summed onto y.
| reac | Reaction strip index. |
Definition at line 33 of file StripSumScatter.cpp.
Referenced by PlaneXY().