BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
EeToeeV.cxx File Reference
#include "../EeToeeV/EeToeeV.h"
#include "../EeToeeV/EeToeeVRandom.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>
#include <time.h>

Go to the source code of this file.

Classes

struct  MOMSET_DEF
 
struct  BEAMENERGY_DEF
 
struct  VECTOR_DEF
 
struct  MCTRUTH_DEF
 

Macros

#define MOMSET   COMMON_BLOCK(MOMSET_DEF, momset)
 
#define BEAMENERGY   COMMON_BLOCK(BEAMENERGY_DEF, beamenergy)
 
#define VECTOR   COMMON_BLOCK(VECTOR_DEF, vector)
 
#define MCTRUTH   COMMON_BLOCK(MCTRUTH_DEF, mctruth)
 
#define GEVENT(NEVENTS)   CCALLSFSUB1(GEVENT,gevent,INT,NEVENTS)
 

Functions

 COMMON_BLOCK_DEF (MOMSET_DEF, MOMSET)
 
 COMMON_BLOCK_DEF (BEAMENERGY_DEF, BEAMENERGY)
 
 COMMON_BLOCK_DEF (VECTOR_DEF, VECTOR)
 
 COMMON_BLOCK_DEF (MCTRUTH_DEF, MCTRUTH)
 
float flat_ ()
 
void intxs_ ()
 

Macro Definition Documentation

◆ BEAMENERGY

#define BEAMENERGY   COMMON_BLOCK(BEAMENERGY_DEF, beamenergy)

Definition at line 49 of file EeToeeV.cxx.

◆ GEVENT

#define GEVENT (   NEVENTS)    CCALLSFSUB1(GEVENT,gevent,INT,NEVENTS)

Definition at line 87 of file EeToeeV.cxx.

◆ MCTRUTH

#define MCTRUTH   COMMON_BLOCK(MCTRUTH_DEF, mctruth)

Definition at line 64 of file EeToeeV.cxx.

◆ MOMSET

#define MOMSET   COMMON_BLOCK(MOMSET_DEF, momset)

Definition at line 42 of file EeToeeV.cxx.

◆ VECTOR

#define VECTOR   COMMON_BLOCK(VECTOR_DEF, vector)

Definition at line 57 of file EeToeeV.cxx.

Function Documentation

◆ COMMON_BLOCK_DEF() [1/4]

COMMON_BLOCK_DEF ( BEAMENERGY_DEF  ,
BEAMENERGY   
)

◆ COMMON_BLOCK_DEF() [2/4]

COMMON_BLOCK_DEF ( MCTRUTH_DEF  ,
MCTRUTH   
)

◆ COMMON_BLOCK_DEF() [3/4]

COMMON_BLOCK_DEF ( MOMSET_DEF  ,
MOMSET   
)

◆ COMMON_BLOCK_DEF() [4/4]

COMMON_BLOCK_DEF ( VECTOR_DEF  ,
VECTOR   
)

◆ flat_()

float flat_ ( )

Definition at line 73 of file EeToeeV.cxx.

73 {
74 float rr;
75 double rd=EeToeeVRandom::random();
76// std::cout<<"EeToeeVRandom::random()="<<rd<<endl;
77 rr=(float)rd;
78 return (float)EeToeeVRandom::random();
79 // return rr;
80}
static double random()

◆ intxs_()

void intxs_ ( )