R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandOnlineCanvas.cxx
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3 * Copyright (C) 2019-2023 Members of R3B Collaboration *
4 * *
5 * This software is distributed under the terms of the *
6 * GNU General Public Licence (GPL) version 3, *
7 * copied verbatim in the file "LICENSE". *
8 * *
9 * In applying this license GSI does not waive the privileges and immunities *
10 * granted to it by virtue of its status as an Intergovernmental Organization *
11 * or submit itself to any jurisdiction. *
12 ******************************************************************************/
16
17namespace R3B::Neuland
18{
19 auto OnlineCanvas::IsTriggered() const -> bool
20 {
22 online_spectra_->GetEventHeader()->GetTpat(),
23 online_spectra_->GetBasePar()->get_offspill_tpat_pos());
24 }
25
26} // namespace R3B::Neuland
Simulation of NeuLAND Bar/Paddle.
auto CheckTriggerWithTpat(CalTrigger trigger, int tpat, int off_spill_bit) -> bool