BOSS 7.0.1
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  RADBB_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 RADBB   COMMON_BLOCK(RADBB_DEF, radbb)
 
#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 (RADBB_DEF, RADBB)
 
 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 138 of file Babayaga.cxx.

◆ BEAMENERGY

#define BEAMENERGY   COMMON_BLOCK(BEAMENERGY_DEF, beamenergy)

Definition at line 65 of file Babayaga.cxx.

◆ CHANNEL

#define CHANNEL   COMMON_BLOCK(CHANNEL_DEF,channel)

Definition at line 95 of file Babayaga.cxx.

◆ DECLAREINT

#define DECLAREINT   COMMON_BLOCK(DECLAREINT_DEF,declareint)

Definition at line 109 of file Babayaga.cxx.

◆ DECLARESTR

#define DECLARESTR   COMMON_BLOCK(DECLARESTR_DEF,declarestr)

Definition at line 116 of file Babayaga.cxx.

◆ EXPCUTS

#define EXPCUTS   COMMON_BLOCK(EXPCUTS_DEF, expcuts)

Definition at line 73 of file Babayaga.cxx.

◆ ISRPHOTONS

#define ISRPHOTONS   COMMON_BLOCK(ISRPHOTONS_DEF, isrphotons)

Definition at line 58 of file Babayaga.cxx.

◆ MOMSET

#define MOMSET   COMMON_BLOCK(MOMSET_DEF, momset)

Definition at line 45 of file Babayaga.cxx.

◆ RADBB

#define RADBB   COMMON_BLOCK(RADBB_DEF, radbb)

Definition at line 51 of file Babayaga.cxx.

◆ RESONANCES

#define RESONANCES   COMMON_BLOCK(RESONANCES_DEF,resonances)

Definition at line 102 of file Babayaga.cxx.

◆ SWITCH

#define SWITCH   COMMON_BLOCK(SWITCH_DEF,switchfsr)

Definition at line 81 of file Babayaga.cxx.

◆ SWITCHARUN

#define SWITCHARUN   COMMON_BLOCK(SWITCHARUN_DEF,switcharun)

Definition at line 88 of file Babayaga.cxx.

Function Documentation

◆ COMMON_BLOCK_DEF() [1/11]

COMMON_BLOCK_DEF ( BEAMENERGY_DEF  ,
BEAMENERGY   
)

◆ COMMON_BLOCK_DEF() [2/11]

COMMON_BLOCK_DEF ( CHANNEL_DEF  ,
CHANNEL   
)

◆ COMMON_BLOCK_DEF() [3/11]

COMMON_BLOCK_DEF ( DECLAREINT_DEF  ,
DECLAREINT   
)

◆ COMMON_BLOCK_DEF() [4/11]

COMMON_BLOCK_DEF ( DECLARESTR_DEF  ,
DECLARESTR   
)

◆ COMMON_BLOCK_DEF() [5/11]

COMMON_BLOCK_DEF ( EXPCUTS_DEF  ,
EXPCUTS   
)

◆ COMMON_BLOCK_DEF() [6/11]

COMMON_BLOCK_DEF ( ISRPHOTONS_DEF  ,
ISRPHOTONS   
)

◆ COMMON_BLOCK_DEF() [7/11]

COMMON_BLOCK_DEF ( MOMSET_DEF  ,
MOMSET   
)

◆ COMMON_BLOCK_DEF() [8/11]

COMMON_BLOCK_DEF ( RADBB_DEF  ,
RADBB   
)

◆ COMMON_BLOCK_DEF() [9/11]

COMMON_BLOCK_DEF ( RESONANCES_DEF  ,
RESONANCES   
)

◆ COMMON_BLOCK_DEF() [10/11]

COMMON_BLOCK_DEF ( SWITCH_DEF  ,
SWITCH   
)

◆ COMMON_BLOCK_DEF() [11/11]

COMMON_BLOCK_DEF ( SWITCHARUN_DEF  ,
SWITCHARUN   
)

◆ flat_()

float flat_ ( )

Definition at line 126 of file Babayaga.cxx.

126 {
127 float rr;
128 double rd=BabayagaRandom::random();
129// std::cout<<"BabayagaRandom::random()="<<rd<<endl;
130 rr=(float)rd;
131 return (float)BabayagaRandom::random();
132 // return rr;
133}
static double random()