ATLAS Offline Software
Simulation
G4Extensions
RHadrons
src
CustomParticleFactory.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CustomParticleFactory_h
6
#define CustomParticleFactory_h 1
7
8
#include "
CustomParticle.h
"
9
#include <set>
10
11
12
// ######################################################################
13
// ### CustomParticle ###
14
// ######################################################################
15
16
class
CustomParticleFactory
17
{
18
19
public
:
20
static
void
loadCustomParticles
();
21
static
bool
isCustomParticle
(G4ParticleDefinition *
particle
);
22
23
private
:
24
static
std::set<G4ParticleDefinition *>
load
();
25
};
26
27
28
#endif
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition:
ParticleHypothesis.h:76
CustomParticleFactory::loadCustomParticles
static void loadCustomParticles()
Definition:
CustomParticleFactory.cxx:29
CustomParticleFactory::isCustomParticle
static bool isCustomParticle(G4ParticleDefinition *particle)
Definition:
CustomParticleFactory.cxx:23
CustomParticleFactory::load
static std::set< G4ParticleDefinition * > load()
Definition:
CustomParticleFactory.cxx:35
CustomParticleFactory
Definition:
CustomParticleFactory.h:17
CustomParticle.h
Generated on Sun Dec 22 2024 21:08:59 for ATLAS Offline Software by
1.8.18