CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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> {
30 public:
31  explicit HectorProducer(edm::ParameterSet const &p);
32  ~HectorProducer() override;
33  void produce(edm::Event &e, const edm::EventSetup &c) override;
34 
35 private:
36  std::unique_ptr<Hector> m_Hector;
37 
44 };
45 
46 #endif
int m_evtAnalysed
just to count events that have been analysed
edm::EDGetTokenT< edm::HepMCProduct > m_HepMC
HectorProducer(edm::ParameterSet const &p)
Definition: Hector.h:31
edm::ESGetToken< HepPDT::ParticleDataTable, PDTRecord > tok_pdt_
~HectorProducer() override
HLT enums.
std::unique_ptr< Hector > m_Hector
void produce(edm::Event &e, const edm::EventSetup &c) override