CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HectorProducer.h
Go to the documentation of this file.
1 #ifndef SimTransport_HectorProducer_H
2 #define SimTransport_HectorProducer_H
3 
6 
11 
13 
14 namespace edm {
15  class ParameterSet;
16  class Event;
17  class EventSetup;
18  class ConsumesCollector;
19  class HepMCProduct;
20 } // namespace edm
21 
22 class HectorManager;
23 
24 class Hector;
25 
26 namespace HepMC {
27  class GenEvent;
28 }
29 class HectorProducer : public edm::one::EDProducer<edm::one::SharedResources, edm::one::WatchRuns> {
30 public:
31  explicit HectorProducer(edm::ParameterSet const &p);
32  ~HectorProducer() override;
33  void beginRun(const edm::Run &r, const edm::EventSetup &c) override;
34  void endRun(const edm::Run &r, const edm::EventSetup &c) override;
35  void produce(edm::Event &e, const edm::EventSetup &c) override;
36 
37 private:
40 
47 };
48 
49 #endif
int m_evtAnalysed
just to count events that have been analysed
const edm::EventSetup & c
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
edm::EDGetTokenT< edm::HepMCProduct > m_HepMC
HectorProducer(edm::ParameterSet const &p)
Definition: Hector.h:40
void endRun(const edm::Run &r, const edm::EventSetup &c) override
edm::ESGetToken< HepPDT::ParticleDataTable, PDTRecord > tok_pdt_
~HectorProducer() override
Hector * m_Hector
HepMC::GenEvent * evt_
Definition: Run.h:45
void produce(edm::Event &e, const edm::EventSetup &c) override