|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
One entry of a simulation's events_MeV tree. More...
#include <RemixSim.hpp>
Public Member Functions | |
| Event () | |
| Bool_t | Attach (TTree *t) |
| Bind to an events_MeV tree and set up the branch addresses. | |
| Double_t | Left (Int_t s) const |
| Left end of strip s (1-16), or the whole of strip 0 or 17. | |
| Double_t | Right (Int_t s) const |
| Right end of strip s (1-16); zero for strips 0 and 17. | |
| Double_t | Total (Int_t s) const |
| The strip's deposit, Left(s) + Right(s). | |
Public Attributes | |
| Float_t | left [16] |
| Left end of strips 1-16, index strip - 1. | |
| Float_t | right [16] |
| Right end of strips 1-16, index strip - 1. | |
| Float_t | strip0 |
| Strip 0, unsegmented. | |
| Float_t | strip17 |
| Strip 17, unsegmented. | |
One entry of a simulation's events_MeV tree.
The layout is the experimental events tree's: strips 1-16 are read at a left and a right end, held in arrays of 16 indexed by strip - 1; strips 0 and 17 are unsegmented and each a single value. Energies are MeV. Left() and Right() give the 18-strip view the analysis works in, with the unsegmented strips counted wholly on the left and zero on the right.
Definition at line 91 of file RemixSim.hpp.
| RemixSim::Event::Event | ( | ) |
Definition at line 3 of file RemixSim.cpp.
| Bool_t RemixSim::Event::Attach | ( | TTree * | t | ) |
Bind to an events_MeV tree and set up the branch addresses.
| t | Tree to read. Borrowed; must outlive this event. |
Definition at line 10 of file RemixSim.cpp.
Referenced by BeamEnergies::Profile(), and StripSumScatter::SimTagReport().
| Double_t RemixSim::Event::Left | ( | Int_t | s | ) | const |
Left end of strip s (1-16), or the whole of strip 0 or 17.
Definition at line 24 of file RemixSim.cpp.
Referenced by StripSumScatter::SimTagReport(), and Total().
| Double_t RemixSim::Event::Right | ( | Int_t | s | ) | const |
Right end of strip s (1-16); zero for strips 0 and 17.
Definition at line 32 of file RemixSim.cpp.
Referenced by StripSumScatter::SimTagReport(), and Total().
|
inline |
The strip's deposit, Left(s) + Right(s).
Definition at line 111 of file RemixSim.hpp.
Referenced by BeamEnergies::Profile(), and StripSumScatter::SimTagReport().
| Float_t RemixSim::Event::left[16] |
Left end of strips 1-16, index strip - 1.
Definition at line 92 of file RemixSim.hpp.
| Float_t RemixSim::Event::right[16] |
Right end of strips 1-16, index strip - 1.
Definition at line 93 of file RemixSim.hpp.
| Float_t RemixSim::Event::strip0 |
Strip 0, unsegmented.
Definition at line 94 of file RemixSim.hpp.
Referenced by Attach(), Event(), Left(), and StripSumScatter::SimTagReport().
| Float_t RemixSim::Event::strip17 |
Strip 17, unsegmented.
Definition at line 95 of file RemixSim.hpp.
Referenced by Attach(), Event(), Left(), and StripSumScatter::SimTagReport().