AmpGen
2.1
Toggle main menu visibility
Loading...
Searching...
No Matches
ApplicationOptions.h
Go to the documentation of this file.
1
#include "
AmpGen/Configurable.h
"
2
#include "
AmpGen/Property.h
"
3
4
namespace
AmpGen
{
5
7
struct
ApplicationOptions
:
public
Configurable
<ApplicationOptions> {
8
virtual
~ApplicationOptions
() =
default
;
9
10
using
strings
= std::vector<std::string>;
11
12
Property<strings>
eventType_s
{
this
,
"EventType"
, {},
"EventType to generate, in the format: \033[3m parent daughter1 daughter2 ... \033[0m"
};
13
Property<int>
seed
{
this
,
"Seed"
, 0,
"Random seed used in event Generation. Should always be set for pseudoexperiment generation."
};
14
Property<std::string>
outfile
{
this
,
"Output"
,
"Output.root"
,
"Name of output file"
};
15
Property<bool>
conj
{
this
,
"Conj"
,
false
,
"Flag to generate the CP conjugate amplitude under the assumption of CP conservation"
};
16
Property<bool>
addCPConjugate
{
this
,
"AddConj"
,
false
,
"Flag to add all of the CP conjugate amplitudes, under the assumption of CP conservation"
};
17
Property<strings>
forbidCP
{
this
,
"ForbidCP"
, {},
"Parameters to forbid the addition of corresponding CP conjugate"
};
18
#ifdef _OPENMP
19
Property<unsigned>
nCores{
this
,
"nCores"
, std::thread::hardware_concurrency(),
"Number of cores to use (OpenMP only)"
};
20
#endif
21
};
22
23
};
Configurable.h
Property.h
AmpGen::Configurable
Definition
Configurable.h:10
AmpGen::Property
Properties are configurable characteristics of objects that will at some point inherit from a base cl...
Definition
Property.h:25
AmpGen
Definition
AddCPConjugate.h:2
AmpGen::ApplicationOptions
default
Definition
ApplicationOptions.h:7
AmpGen::ApplicationOptions::outfile
Property< std::string > outfile
Definition
ApplicationOptions.h:14
AmpGen::ApplicationOptions::forbidCP
Property< strings > forbidCP
Definition
ApplicationOptions.h:17
AmpGen::ApplicationOptions::strings
std::vector< std::string > strings
Definition
ApplicationOptions.h:10
AmpGen::ApplicationOptions::conj
Property< bool > conj
Definition
ApplicationOptions.h:15
AmpGen::ApplicationOptions::~ApplicationOptions
virtual ~ApplicationOptions()=default
AmpGen::ApplicationOptions::eventType_s
Property< strings > eventType_s
Definition
ApplicationOptions.h:12
AmpGen::ApplicationOptions::seed
Property< int > seed
Definition
ApplicationOptions.h:13
AmpGen::ApplicationOptions::addCPConjugate
Property< bool > addCPConjugate
Definition
ApplicationOptions.h:16
AmpGen
ApplicationOptions.h
Generated on
for AmpGen by
1.17.0