CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
Babayaga.cxx File Reference
#include "../Babayaga/Babayaga.h"
#include "../Babayaga/BabayagaRandom.h"
#include "BesKernel/IBesRndmGenSvc.h"
#include "HepMC/GenEvent.h"
#include "HepMC/GenVertex.h"
#include "HepMC/GenParticle.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/AlgFactory.h"
#include "GaudiKernel/DataSvc.h"
#include "GaudiKernel/SmartDataPtr.h"
#include "GeneratorObject/McGenEvent.h"
#include "CLHEP/Vector/LorentzVector.h"
#include "cfortran/cfortran.h"
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  MOMSET_DEF
 
struct  ISRPHOTONS_DEF
 
struct  BEAMENERGY_DEF
 
struct  EXPCUTS_DEF
 
struct  SWITCH_DEF
 
struct  SWITCHARUN_DEF
 
struct  CHANNEL_DEF
 
struct  RESONANCES_DEF
 
struct  DECLAREINT_DEF
 
struct  DECLARESTR_DEF
 

Macros

#define MOMSET   COMMON_BLOCK(MOMSET_DEF, momset)
 
#define ISRPHOTONS   COMMON_BLOCK(ISRPHOTONS_DEF, isrphotons)
 
#define BEAMENERGY   COMMON_BLOCK(BEAMENERGY_DEF, beamenergy)
 
#define EXPCUTS   COMMON_BLOCK(EXPCUTS_DEF, expcuts)
 
#define SWITCH   COMMON_BLOCK(SWITCH_DEF,switchfsr)
 
#define SWITCHARUN   COMMON_BLOCK(SWITCHARUN_DEF,switcharun)
 
#define CHANNEL   COMMON_BLOCK(CHANNEL_DEF,channel)
 
#define RESONANCES   COMMON_BLOCK(RESONANCES_DEF,resonances)
 
#define DECLAREINT   COMMON_BLOCK(DECLAREINT_DEF,declareint)
 
#define DECLARESTR   COMMON_BLOCK(DECLARESTR_DEF,declarestr)
 
#define BABAYAGA(NEVENTS)   CCALLSFSUB1(BABAYAGA,babayaga,INT,NEVENTS)
 

Functions

 COMMON_BLOCK_DEF (MOMSET_DEF, MOMSET)
 
 COMMON_BLOCK_DEF (ISRPHOTONS_DEF, ISRPHOTONS)
 
 COMMON_BLOCK_DEF (BEAMENERGY_DEF, BEAMENERGY)
 
 COMMON_BLOCK_DEF (EXPCUTS_DEF, EXPCUTS)
 
 COMMON_BLOCK_DEF (SWITCH_DEF, SWITCH)
 
 COMMON_BLOCK_DEF (SWITCHARUN_DEF, SWITCHARUN)
 
 COMMON_BLOCK_DEF (CHANNEL_DEF, CHANNEL)
 
 COMMON_BLOCK_DEF (RESONANCES_DEF, RESONANCES)
 
 COMMON_BLOCK_DEF (DECLAREINT_DEF, DECLAREINT)
 
 COMMON_BLOCK_DEF (DECLARESTR_DEF, DECLARESTR)
 
float flat_ ()
 

Macro Definition Documentation

◆ BABAYAGA

#define BABAYAGA (   NEVENTS)    CCALLSFSUB1(BABAYAGA,babayaga,INT,NEVENTS)

Definition at line 132 of file Babayaga.cxx.

◆ BEAMENERGY

#define BEAMENERGY   COMMON_BLOCK(BEAMENERGY_DEF, beamenergy)

Definition at line 59 of file Babayaga.cxx.

◆ CHANNEL

#define CHANNEL   COMMON_BLOCK(CHANNEL_DEF,channel)

Definition at line 89 of file Babayaga.cxx.

◆ DECLAREINT

#define DECLAREINT   COMMON_BLOCK(DECLAREINT_DEF,declareint)

Definition at line 103 of file Babayaga.cxx.

◆ DECLARESTR

#define DECLARESTR   COMMON_BLOCK(DECLARESTR_DEF,declarestr)

Definition at line 110 of file Babayaga.cxx.

◆ EXPCUTS

#define EXPCUTS   COMMON_BLOCK(EXPCUTS_DEF, expcuts)

Definition at line 67 of file Babayaga.cxx.

◆ ISRPHOTONS

#define ISRPHOTONS   COMMON_BLOCK(ISRPHOTONS_DEF, isrphotons)

Definition at line 52 of file Babayaga.cxx.

◆ MOMSET

#define MOMSET   COMMON_BLOCK(MOMSET_DEF, momset)

Definition at line 45 of file Babayaga.cxx.

◆ RESONANCES

#define RESONANCES   COMMON_BLOCK(RESONANCES_DEF,resonances)

Definition at line 96 of file Babayaga.cxx.

◆ SWITCH

#define SWITCH   COMMON_BLOCK(SWITCH_DEF,switchfsr)

Definition at line 75 of file Babayaga.cxx.

◆ SWITCHARUN

#define SWITCHARUN   COMMON_BLOCK(SWITCHARUN_DEF,switcharun)

Definition at line 82 of file Babayaga.cxx.

Function Documentation

◆ COMMON_BLOCK_DEF() [1/10]

COMMON_BLOCK_DEF ( BEAMENERGY_DEF  ,
BEAMENERGY   
)

◆ COMMON_BLOCK_DEF() [2/10]

COMMON_BLOCK_DEF ( CHANNEL_DEF  ,
CHANNEL   
)

◆ COMMON_BLOCK_DEF() [3/10]

COMMON_BLOCK_DEF ( DECLAREINT_DEF  ,
DECLAREINT   
)

◆ COMMON_BLOCK_DEF() [4/10]

COMMON_BLOCK_DEF ( DECLARESTR_DEF  ,
DECLARESTR   
)

◆ COMMON_BLOCK_DEF() [5/10]

COMMON_BLOCK_DEF ( EXPCUTS_DEF  ,
EXPCUTS   
)

◆ COMMON_BLOCK_DEF() [6/10]

COMMON_BLOCK_DEF ( ISRPHOTONS_DEF  ,
ISRPHOTONS   
)

◆ COMMON_BLOCK_DEF() [7/10]

COMMON_BLOCK_DEF ( MOMSET_DEF  ,
MOMSET   
)

◆ COMMON_BLOCK_DEF() [8/10]

COMMON_BLOCK_DEF ( RESONANCES_DEF  ,
RESONANCES   
)

◆ COMMON_BLOCK_DEF() [9/10]

COMMON_BLOCK_DEF ( SWITCH_DEF  ,
SWITCH   
)

◆ COMMON_BLOCK_DEF() [10/10]

COMMON_BLOCK_DEF ( SWITCHARUN_DEF  ,
SWITCHARUN   
)

◆ flat_()

float flat_ ( )

Definition at line 120 of file Babayaga.cxx.

120 {
121 float rr;
122 double rd=BabayagaRandom::random();
123// std::cout<<"BabayagaRandom::random()="<<rd<<endl;
124 rr=(float)rd;
125 return (float)BabayagaRandom::random();
126 // return rr;
127}
static double random()