#include <TriggerSimulation.h>
◆ TriggerSimulation()
| TriggerSimulation::TriggerSimulation |
( |
| ) |
|
◆ GetCBEnergySum()
| double ant::analysis::utils::TriggerSimulation::GetCBEnergySum |
( |
| ) |
const |
|
inline |
GetCBEsum tries to calculate the energy sum.
- Returns
- Crystal Ball energy sum in MeV
◆ GetCorrectedTaggerTime()
| double TriggerSimulation::GetCorrectedTaggerTime |
( |
const TTaggerHit & |
taggerhit | ) |
const |
GetCorrectedTaggerTime improves the timing resolution by removing the trigger offset.
- Parameters
-
| taggerhit | the taggerhit to be corrected |
- Returns
- corrected tagger timing in ns
- Note
- Typically calculated as "Taggertime - RefTiming", but might differ for various beamtimes
◆ GetRefTiming()
| double ant::analysis::utils::TriggerSimulation::GetRefTiming |
( |
| ) |
const |
|
inline |
GetRefTiming tries to calculate the reference timing, typically given by the analog energy sum.
- Returns
- Crystal Ball timing offset in nanoseconds
◆ HasTriggered()
| bool ant::analysis::utils::TriggerSimulation::HasTriggered |
( |
| ) |
const |
|
inline |
HasTriggered returns true if the experiment would have accepted this event.
- Returns
- the trigger decision
◆ ProcessEvent()
| bool TriggerSimulation::ProcessEvent |
( |
const TEvent & |
event | ) |
|
ProcessEvent inspects the full event to tell trigger decision.
- Parameters
-
| event | the event under investigation |
- Returns
- true if successful, false on failure
- Todo:
- The multiplicity is a much harder business, see acqu/root/src/TA2BasePhysics.cc the code there might only apply to the old trigger system before 2012
The documentation for this class was generated from the following files: