ATLAS Offline Software
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 
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:27
CustomParticleFactory::isCustomParticle
static bool isCustomParticle(G4ParticleDefinition *particle)
Definition: CustomParticleFactory.cxx:21
CustomParticleFactory::load
static std::set< G4ParticleDefinition * > load()
Definition: CustomParticleFactory.cxx:33
CustomParticleFactory
Definition: CustomParticleFactory.h:17
CustomParticle.h