BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Mcgpj.h
Go to the documentation of this file.
1//*****************************************************************************
2//
3// Generator/Mcgpj/Mcgpj.h
4//
5// General 2-body generator for e^+e^-, mu^+mu^-, pi^+pi^-, tau^+tau^-,
6// K_S K_L, K^+K^-, gamma gamma with precision better 0.2 %
7//
8// Mar 2009 Original BES3 code by Alexei Sibidanov
9//
10//*****************************************************************************
11
12#ifndef GENERATORMODULEMCGPJ_H
13#define GENERATORMODULEMCGPJ_H
14
15#include "GaudiKernel/Algorithm.h"
16#include "GaudiKernel/ISvcLocator.h"
17
18class IBesRndmGenSvc;
19
20class Mcgpj:public Algorithm{
21public:
22 Mcgpj(const std::string& name, ISvcLocator* pSvcLocator);
23
24 StatusCode initialize();
25 StatusCode execute();
26 StatusCode finalize();
27
28private:
29 double cmE;
30 double pc,de,nt0,dt,dp,at,td,am,cm,em,ti,al,thm,thp,te,re;
31 double spread,phase;
32 int proc,NRad,IsHardPhoton,IsNoVacPol,IsFSR,Seed;
33 double fM;
34 int fpid[2];
35 int m_fmode5pi;
36 std::string m_datapath;
37 std::string m_vpolfname;
38
39 IBesRndmGenSvc* p_BesRndmGenSvc;
40
41};
42
43#endif
manage multiple CLHEP random engines as named streams
Definition: Mcgpj.h:20
StatusCode initialize()
Definition: Mcgpj.cxx:86
StatusCode finalize()
Definition: Mcgpj.cxx:417
StatusCode execute()
Definition: Mcgpj.cxx:319