Shannon
Phlex-based digitisation framework for the SHiP experiment.
Loading...
Searching...
No Matches
straw_tubes.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2026 CERN for the benefit of the SHiP Collaboration
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
// straw_tubes.hpp — Straw Tube tracker digitiser
6
7
#pragma once
8
9
#include "
gaussian_smearer.hpp
"
10
11
#include <SHiP/RecHit.hpp>
12
#include <SHiP/SimHit.hpp>
13
#include <SHiP/detectors/StrawTubesHit.hpp>
14
15
namespace
SHiP::shannon
{
16
17
class
StrawTubes
{
18
public
:
19
// Placeholder: Gaussian smearing until the straw-tube digitisation model exists
20
::SHiP::StrawTubesHit
digitise
(::SHiP::SimHit
const
& sim_hit,
double
time_offset,
21
SHiP::random::PhiloxRng& rng)
const
{
22
::SHiP::RecHit returnHit = smearer_.smear(sim_hit, rng);
23
returnHit.time += time_offset;
24
25
return
{.rec_hit = returnHit};
26
}
27
28
private
:
29
GaussianSmearer
smearer_;
30
};
31
32
}
// namespace SHiP::shannon
SHiP::shannon::GaussianSmearer
Definition
gaussian_smearer.hpp:19
SHiP::shannon::StrawTubes
Definition
straw_tubes.hpp:17
SHiP::shannon::StrawTubes::digitise
::SHiP::StrawTubesHit digitise(::SHiP::SimHit const &sim_hit, double time_offset, SHiP::random::PhiloxRng &rng) const
Definition
straw_tubes.hpp:20
gaussian_smearer.hpp
SHiP::shannon
Definition
calorimeter.hpp:15
src
detectors
straw_tubes.hpp
Generated by
Doxygen
1.15.0