CMS 3D CMS Logo

BaseRandomtXiGunProducer.h
Go to the documentation of this file.
1 #ifndef BaseRandomtXiGunProducer_H
2 #define BaseRandomtXiGunProducer_H
3 
9 #include <string>
10 
11 #include "HepPDT/defs.h"
12 #include "HepPDT/TableBuilder.hh"
13 #include "HepPDT/ParticleDataTable.hh"
14 
15 #include "HepMC/GenEvent.h"
16 
21 
22 #include <memory>
23 #include "boost/shared_ptr.hpp"
24 
25 namespace edm
26 {
27 
28  class BaseRandomtXiGunProducer : public one::EDProducer<one::WatchRuns,
29  EndRunProducer>
30  {
31 
32  public:
34  ~BaseRandomtXiGunProducer() override;
35  void beginRun(const edm::Run & r, const edm::EventSetup& ) override ;
36  void endRun(const edm::Run& r, const edm::EventSetup& ) override;
37  void endRunProduce(edm::Run& r, const edm::EventSetup&) override;
38 
39  private:
40 
41  protected:
42 
43  // non-virtuals ! this and only way !
44  //
45  // data members
46 
47  // gun particle(s) characteristics
48  std::vector<int> fPartIDs ;
49  double fMinPhi ;
50  double fMaxPhi ;
51  double fpEnergy;
52  double fECMS;
53 
54  // the event format itself
56 
58 
59  int fVerbosity ;
60 
62 
65  bool fLog_t;
66 
67 
68  };
69 }
70 #endif
BaseRandomtXiGunProducer(const ParameterSet &)
void endRun(const edm::Run &r, const edm::EventSetup &) override
void beginRun(const edm::Run &r, const edm::EventSetup &) override
HepPDT::ParticleData ParticleData
ESHandle< HepPDT::ParticleDataTable > fPDGTable
void endRunProduce(edm::Run &r, const edm::EventSetup &) override
HLT enums.
const HepPDT::ParticleData * PData
Definition: Run.h:45