Pluto v6.3.0
Loading...
Searching...
No Matches
PStrangenessPlugin.h
Go to the documentation of this file.
1// Author: I. Froehlich
2// Written: 12.10.2008
3// Revised:
4// Updates: RafaƂ Lalik, 05.06.2023 - New Y* decays channels
5// - Software switches to modify decays
6//
7
8#ifndef _PSTRANGENESS_PLUGIN_H_
9#define _PSTRANGENESS_PLUGIN_H_
10
11#include "TROOT.h"
12
13#include "PChannelModel.h"
16
17using namespace std;
18
20
21 public:
22
23 //constructor
24 PStrangenessPlugin(const Char_t *id, const Char_t *de);
25 //destructor
27
28 Bool_t ExecCommand(const char *command, Double_t value);
29 Bool_t Activate(void);
30
31 static void EnableHadronDecays(Bool_t enabled) { hyperon_hadron_decays = enabled; }
32 static void EnablePhotonDecays(Bool_t enabled) { hyperon_photon_decays = enabled; }
33 static void EnableDalitzDecays(Bool_t enabled) { hyperon_dalitz_decays = enabled; }
34 static void EnableExperimentalDecays(Bool_t enabled) { hyperon_experimental_decays = enabled; }
35 static void ShowFlags();
36
37 private:
38
39 Int_t is_initialized;
40
41 static Bool_t hyperon_hadron_decays;
42 static Bool_t hyperon_photon_decays;
43 static Bool_t hyperon_dalitz_decays;
44 static Bool_t hyperon_experimental_decays;
45
46 ClassDef(PStrangenessPlugin, 0) //Plugin to add new particles with strangeness and their decays
47};
48
49#endif //_PSTRANGENESS_PLUGIN_H_
static void EnableExperimentalDecays(Bool_t enabled)
static void EnablePhotonDecays(Bool_t enabled)
static void EnableDalitzDecays(Bool_t enabled)
PStrangenessPlugin(const Char_t *id, const Char_t *de)
Bool_t ExecCommand(const char *command, Double_t value)
static void EnableHadronDecays(Bool_t enabled)