BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Phokhara.h
Go to the documentation of this file.
1//*****************************************************************************
2//
3// Generator/Phokhara/Phokhara.h
4//
5// Algorithm runs event generator Phokhara (hep-ph/0710.4227v1)
6// and stores output to transient store
7//
8// Nov 2007 Original BES3 code by Alexey Zhemchugov
9//
10//*****************************************************************************
11
12#ifndef GENERATORMODULESPHOKHARA_H
13#define GENERATORMODULESPHOKHARA_H
14
15#include "HepMC/GenEvent.h"
16#include "HepMC/GenParticle.h"
17
18#include "GaudiKernel/Algorithm.h"
19#include "GaudiKernel/ISvcLocator.h"
20
21#include <vector>
22
23using namespace std;
24
25class Phokhara:public Algorithm
26{
27public:
28 Phokhara(const string& name, ISvcLocator* pSvcLocator);
29
30 StatusCode initialize();
31 StatusCode execute();
32 StatusCode finalize();
33 StatusCode storeParticles();
34
35private:
36// jobOption params
37
38 int m_nm; // # of events to determine the maximum
39 int m_nlo; // Born(0), NLO(1)
40 double m_w; // soft photon cutoff
41 int m_pion; // mu+mu-(0),pi+pi-(1),2pi0pi+pi-(2),2pi+2pi-(3),ppbar(4),nnbar(5),
42 // K+K-(6),K0K0bar(7),pi+pi-pi0(8), Lamb Lambbar->pi-pi+ppbar(9)
43 int m_fsr; // ISR only(0), ISR+FSR(1), ISR+INT+FSR(2)
44 int m_fsrnlo; // yes(1), no(0)
45 int m_ivac; // no(0), yes - Jegerlehner(1), yes - Teubner(2)
46 int m_tagged; // tagged photons(0), untagged photons(1)
47 int m_NarrowRes; // none(0), JPsi (1), Psip(2)
48 int m_FF_Kaon; // KaonFormFactor: constrained (0), unconstrained (1), Kuhn-Khodjamirian-Bruch (2)
49 int m_FF_Pion; // KS Pionformfactor(0), GS Pionformfactor old(1), GS Pionformfactor new(2)
50 int m_f0_model; // f0+f0(600): KK model(0), no structure(1), no f0+f0(600)(2), f0 KLOE(3)
51 double m_E; // CMS-energy
52 double m_q2min; // minimal hadrons(muons)-gamma-inv mass squared
53 double m_q2_min_c; // minimal inv. mass squared of the hadrons(muons)
54 double m_q2_max_c; // maximal inv. mass squared of the hadrons(muons)
55 double m_gmin; // minimal photon energy/missing energy
56 double m_phot1cut; // minimal photon angle/missing momentum angle
57 double m_phot2cut; // maximal photon angle/missing momentum angle
58 double m_pi1cut; // minimal hadrons(muons) angle
59 double m_pi2cut; // maximal hadrons(muons) angle
60
61 double qqmin,qqmax;
62 double cos1min,cos1max,cos2min,cos2max,cos3min,cos3max;
63 double dsigm1,dsigm2,sigma1,sigma2,sigma,dsigm,Ar[14],Ar_r[14];
64
65 int ievent;
66
67 // Initial Seed
68 long int m_initSeed;
69};
70
71#endif
Phokhara(const string &name, ISvcLocator *pSvcLocator)
Definition Phokhara.cxx:40
StatusCode initialize()
Definition Phokhara.cxx:77
StatusCode storeParticles()
Definition Phokhara.cxx:536
StatusCode finalize()
Definition Phokhara.cxx:758
StatusCode execute()
Definition Phokhara.cxx:498