Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
blob
sPHENIX
Alignment
CI
cmake
Core
docs
Examples
Fatras
Geant4
include
ActsFatras
Digitization
EventData
Kernel
Physics
Decay
NoDecay.hpp
ElectroMagnetic
NuclearInteraction
StandardInteractions.hpp
Selectors
Utilities
scripts
src
Plugins
Tests
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
NoDecay.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file NoDecay.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2020-2021 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
#include "
ActsFatras/EventData/Particle.hpp
"
12
13
#include <array>
14
#include <limits>
15
16
namespace
ActsFatras {
17
19
struct
NoDecay
{
23
template
<
typename
generator_t>
24
constexpr
Particle::Scalar
generateProperTimeLimit
(
25
generator_t&
/* rng */
,
const
Particle
&
/* particle */
)
const
{
26
return
std::numeric_limits<Particle::Scalar>::infinity();
27
}
29
template
<
typename
generator_t>
30
constexpr std::array<Particle, 0>
run
(generator_t&
/* rng */
,
31
const
Particle
&
/* particle */
)
const
{
32
return
{};
33
}
34
};
35
36
}
// namespace ActsFatras
acts
blob
sPHENIX
Fatras
include
ActsFatras
Physics
Decay
NoDecay.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:41
using
1.8.2 with
sPHENIX GitHub integration