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 
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 /////////////////////////////////////////////////////////////////////////////
int status
Definition: fabricate.py:1613
Particle class.
Example routine for calculating the "ultimate e-m mother" of a particle in a simulated event...
Definition: FillTruth.h:15
This class describes a particle created in the detector Monte Carlo simulation.
::xsd::cxx::tree::string< char, simple_type > string
Definition: Database.h:154
static const int s_uninitialized
An indicator for an uninitialized variable (see Particle.cxx).
Definition: Particle.h:25