Belle II Software development
G4LongLivedNeutral.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9// modified from BelleII monopole simulation
10
11#include <simulation/longlivedneutral/G4LongLivedNeutral.h>
12
13#include <CLHEP/Units/SystemOfUnits.h>
14#include <framework/logging/Logger.h>
15
16using namespace std;
17using namespace Belle2;
18using namespace CLHEP;
19
21// G4double mass,
22// G4int encoding)
23 : G4ParticleDefinition(name, 0, 0.0 * MeV, 0,
24 0, 0, 0,
25 0, 0, 0,
26 "scalar", 0.0, 0, 0,
27 false, 0, 0)
28//Arguments for constructor are as follows
29// name mass width charge
30// 2*spin parity C-conjugation
31// 2*Isospin 2*Isospin3 G-parity
32// type lepton_number baryon_number PDG_encoding
33// stable lifetime decay_table
34{
35
36 B2DEBUG(0, "neutral long-lived particle created: m(MeV)= " << this->GetPDGMass());
37
38}
39
41{}
virtual ~G4LongLivedNeutral()
Destructor.
G4LongLivedNeutral(const G4String &name)
Constructor.
Abstract base class for different kinds of events.
STL namespace.