CMS 3D CMS Logo

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