GENIEGenerator
Loading...
Searching...
No Matches
HNLDecayUtils.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::utils::hnl
5
6\brief Utilities for simulating the decay of Heavy Neutral Leptons
7
8\author
9
10\created November 03, 2011
11
12\cpright Copyright (c) 2003-2025, The GENIE Collaboration
13 For the full text of the license visit http://copyright.genie-mc.org
14*/
15//____________________________________________________________________________
16
17#ifndef _HNL_DECAY_UTILS_H_
18#define _HNL_DECAY_UTILS_H_
19
20#include <string>
21
25
26// -- for retrieval of parameters from config
30
31using std::string;
32
33namespace genie
34{
35 namespace utils
36 {
37 namespace hnl
38 {
45
46 // for obtaining params, etc, directly from config
47 int GetCfgInt (string file_id, string set_name, string par_name);
48 std::vector<int> GetCfgIntVec (string file_id, string set_name, string par_name);
49 double GetCfgDouble (string file_id, string set_name, string par_name);
50 std::vector<double> GetCfgDoubleVec (string file_id, string set_name, string par_name);
51 bool GetCfgBool (string file_id, string set_name, string par_name);
52 std::vector<bool> GetCfgBoolVec (string file_id, string set_name, string par_name);
53 std::string GetCfgString (string file_id, string set_name, string par_name);
54
55 } // hnl
56 } // utils
57} // genie
58
59#endif // _HNL_DECAY_UTILS_H_
A list of PDG codes.
Definition PDGCodeList.h:32
enum genie::hnl::t_HNLProd HNLProd_t
enum genie::hnl::EHNLDecayMode HNLDecayMode_t
Useful kinematic functions.
PDGCodeList DecayProductList(genie::hnl::HNLDecayMode_t hnldm)
std::vector< bool > GetCfgBoolVec(string file_id, string set_name, string par_name)
std::vector< double > GetCfgDoubleVec(string file_id, string set_name, string par_name)
std::string GetCfgString(string file_id, string set_name, string par_name)
int GetCfgInt(string file_id, string set_name, string par_name)
PDGCodeList ProductionProductList(genie::hnl::HNLProd_t hnldm)
bool GetCfgBool(string file_id, string set_name, string par_name)
double GetCfgDouble(string file_id, string set_name, string par_name)
string ProdAsString(genie::hnl::HNLProd_t hnlprod)
string AsString(genie::hnl::HNLDecayMode_t hnldm)
bool IsKinematicallyAllowed(genie::hnl::HNLDecayMode_t hnldm, double Mhnl)
bool IsProdKinematicallyAllowed(genie::hnl::HNLProd_t hnlprod)
std::vector< int > GetCfgIntVec(string file_id, string set_name, string par_name)
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25