AmpGen 2.1
Loading...
Searching...
No Matches
ApplicationOptions.h
Go to the documentation of this file.
2#include "AmpGen/Property.h"
3
4namespace 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};
Properties are configurable characteristics of objects that will at some point inherit from a base cl...
Definition Property.h:25
Property< std::string > outfile
std::vector< std::string > strings
virtual ~ApplicationOptions()=default
Property< strings > eventType_s