CMS 3D CMS Logo

FlatBaseThetaGunProducer.h
Go to the documentation of this file.
1 #ifndef FlatBaseThetaGunProducer_H
2 #define FlatBaseThetaGunProducer_H
3 
4 #include <string>
5 
6 #include "HepPDT/defs.h"
7 #include "HepPDT/TableBuilder.hh"
8 #include "HepPDT/ParticleDataTable.hh"
9 
10 #include "HepMC/GenEvent.h"
11 
16 
17 #include <memory>
18 #include "boost/shared_ptr.hpp"
19 
20 namespace edm {
21 
22 class FlatBaseThetaGunProducer : public one::EDProducer<one::WatchRuns,
23  EndRunProducer> {
24 
25  public:
26 
28  ~FlatBaseThetaGunProducer() override;
29  void beginRun(const edm::Run&, const edm::EventSetup&) override;
30  void endRun(const edm::Run& r, const edm::EventSetup&) override;
31  void endRunProduce(edm::Run& r, const edm::EventSetup&) override;
32 
33  private:
34 
35  protected :
36 
37  // non-virtuals ! this and only way !
38  //
39  // data members
40 
41  // gun particle(s) characteristics
42  std::vector<int> fPartIDs ;
43  double fMinTheta ;
44  double fMaxTheta ;
45  double fMinPhi ;
46  double fMaxPhi ;
47 
48  // the event format itself
50 
51  // HepMC/HepPDT related things
52  // (for particle/event construction)
54 
55  int fVerbosity ;
56 
58 
59  };
60 }
61 
62 #endif
void endRunProduce(edm::Run &r, const edm::EventSetup &) override
ESHandle< HepPDT::ParticleDataTable > fPDGTable
void endRun(const edm::Run &r, const edm::EventSetup &) override
void beginRun(const edm::Run &, const edm::EventSetup &) override
HLT enums.
FlatBaseThetaGunProducer(const ParameterSet &)
Definition: Run.h:45