CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BeamHaloSource.h
Go to the documentation of this file.
1 #ifndef BeamHalo_Source_h
2 #define BeamHalo_Source_h
3 
6 #include <map>
7 #include <string>
8 #include "HepMC/GenEvent.h"
9 
10 #include "CLHEP/Random/RandFlat.h"
11 
12 /*
13 namespace CLHEP
14 {
15  class RandFlat ;
16  class HepRandomEngine;
17 }
18 */
19 
20 namespace edm
21 {
23  public:
24 
28  virtual ~BeamHaloSource();
29 
30  private:
31  bool call_ki_bhg_init(long& seed);
32  bool call_bh_set_parameters(int* ival, float* fval,const std::string cval_string);
33  bool call_ki_bhg_fill(int& iret, float& weight);
34  bool call_ki_bhg_stat(int& iret);
35 
36  private:
37 
38  virtual bool produce(Event & e);
39  void clear();
40 
41  HepMC::GenEvent *evt;
42 
43  int GENMOD_;
44  int LHC_B1_;
45  int LHC_B2_;
46  int IW_MUO_;
47  int IW_HAD_;
48  float EG_MIN_;
49  float EG_MAX_;
50  std::string G3FNAME_;
51  };
52 
53 }
54 
55 #endif
56 
57 
58 
bool call_ki_bhg_stat(int &iret)
bool call_ki_bhg_fill(int &iret, float &weight)
bool call_bh_set_parameters(int *ival, float *fval, const std::string cval_string)
HepMC::GenEvent * evt
virtual ~BeamHaloSource()
Destructor.
BeamHaloSource(const ParameterSet &, const InputSourceDescription &)
Constructor.
bool call_ki_bhg_init(long &seed)
virtual bool produce(Event &e)
std::string G3FNAME_