CMS 3D CMS Logo

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