Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
N21-04-15
Simulation
Particle.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \brief This class describes a particle created in the detector Monte
3
/// Carlo simulation.
4
/// \author seligman@nevis.columbia.edu
5
/// \date
6
////////////////////////////////////////////////////////////////////////
7
#ifndef SIM_PARTICLE_H
8
#define SIM_PARTICLE_H
9
10
#include <functional>
// so we can redefine less<> below
11
#include <iostream>
12
#include <set>
13
#include <string>
14
15
#include "
nusimdata/SimulationBase/MCParticle.h
"
16
17
namespace
simb
{
class
MCTruth; }
18
19
namespace
sim
{
20
21
class
Particle
:
public
simb::MCParticle
{
22
public
:
23
24
/// An indicator for an uninitialized variable (see Particle.cxx).
25
static
const
int
s_uninitialized
;
//! Don't write this as ROOT output
26
27
/// Standard constructor. If the mass is not supplied in the
28
/// argument, then the PDG mass is used.
29
Particle
();
30
31
Particle
(
const
int
trackId,
32
const
int
pdg
,
33
const
std::string
process
,
34
const
int
mother = -1,
35
const
double
mass = s_uninitialized,
36
const
int
status
= -1);
37
38
/// Destructor.
39
~
Particle
();
40
41
};
42
43
}
// namespace sim
44
45
#endif // SIM_PARTICLE_H
46
/////////////////////////////////////////////////////////////////////////////
fabricate.status
int status
Definition:
fabricate.py:1613
sim::Particle
Definition:
Particle.h:21
simb::MCParticle
Definition:
MCParticle.h:24
MCParticle.h
Particle class.
sim
Example routine for calculating the "ultimate e-m mother" of a particle in a simulated event...
Definition:
FillTruth.h:16
launch_batch_jobs.process
process
Definition:
launch_batch_jobs.py:76
simb
This class describes a particle created in the detector Monte Carlo simulation.
Definition:
TrackEva_module.cc:41
make_root_from_grid_output.pdg
pdg
Definition:
make_root_from_grid_output.py:76
sim::Particle::s_uninitialized
static const int s_uninitialized
An indicator for an uninitialized variable (see Particle.cxx).
Definition:
Particle.h:25
string
enum BeamMode string
Generated on Thu Apr 15 2021 14:10:38 for NOvA by
1.8.11