CMS 3D CMS Logo

SuepDecay.h
Go to the documentation of this file.
1 #ifndef GeneratorInterface_Pythia8Interface_SuepDecay_h
2 #define GeneratorInterface_Pythia8Interface_SuepDecay_h
3 
6 #include "Pythia8/Pythia.h"
8 #include <memory>
10 
11 // Adapted by Kevin Pedro to run on cmssw as a user hook
12 class SuepDecay : public Pythia8::UserHooks {
13 public:
14  SuepDecay(const edm::ParameterSet& iConfig);
15  ~SuepDecay() override {}
16 
17  bool initAfterBeams() override;
18 
19  bool canVetoProcessLevel() override { return true; }
20  bool doVetoProcessLevel(Pythia8::Event& event) override;
21 
22 protected:
25  std::unique_ptr<SuepShower> suep_shower_;
26 };
27 
29 #endif
bool initAfterBeams() override
Definition: SuepDecay.cc:8
SuepDecay(const edm::ParameterSet &iConfig)
Definition: SuepDecay.cc:3
int idDark_
Definition: SuepDecay.h:23
std::unique_ptr< SuepShower > suep_shower_
Definition: SuepDecay.h:25
float temperature_
Definition: SuepDecay.h:24
float mDark_
Definition: SuepDecay.h:24
bool doVetoProcessLevel(Pythia8::Event &event) override
Definition: SuepDecay.cc:23
#define REGISTER_USERHOOK(type)
Definition: CustomHook.h:8
int idMediator_
Definition: SuepDecay.h:23
bool canVetoProcessLevel() override
Definition: SuepDecay.h:19
~SuepDecay() override
Definition: SuepDecay.h:15
Definition: event.py:1