MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
RemixSim::Event Struct Reference

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.

Detailed Description

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.

Constructor & Destructor Documentation

◆ Event()

RemixSim::Event::Event ( )

Definition at line 3 of file RemixSim.cpp.

Member Function Documentation

◆ Attach()

Bool_t RemixSim::Event::Attach ( TTree * t)

Bind to an events_MeV tree and set up the branch addresses.

Parameters
tTree to read. Borrowed; must outlive this event.
Returns
kTRUE if the expected branches were found.

Definition at line 10 of file RemixSim.cpp.

Referenced by BeamEnergies::Profile(), and StripSumScatter::SimTagReport().

◆ Left()

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().

◆ Right()

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().

◆ Total()

Double_t RemixSim::Event::Total ( Int_t s) const
inline

The strip's deposit, Left(s) + Right(s).

Definition at line 111 of file RemixSim.hpp.

Referenced by BeamEnergies::Profile(), and StripSumScatter::SimTagReport().

Member Data Documentation

◆ left

Float_t RemixSim::Event::left[16]

Left end of strips 1-16, index strip - 1.

Definition at line 92 of file RemixSim.hpp.

Referenced by Attach(), Event(), and Left().

◆ right

Float_t RemixSim::Event::right[16]

Right end of strips 1-16, index strip - 1.

Definition at line 93 of file RemixSim.hpp.

Referenced by Attach(), Event(), and Right().

◆ strip0

Float_t RemixSim::Event::strip0

Strip 0, unsegmented.

Definition at line 94 of file RemixSim.hpp.

Referenced by Attach(), Event(), Left(), and StripSumScatter::SimTagReport().

◆ strip17

Float_t RemixSim::Event::strip17

Strip 17, unsegmented.

Definition at line 95 of file RemixSim.hpp.

Referenced by Attach(), Event(), Left(), and StripSumScatter::SimTagReport().


The documentation for this struct was generated from the following files: