File indexing completed on 2024-04-06 12:13:55
0001 #include "Pythia8/ParticleDecays.h"
0002 #include "Pythia8/Pythia.h"
0003
0004
0005
0006
0007
0008
0009 class BiasedTauDecayer : public Pythia8::DecayHandler {
0010 public:
0011 BiasedTauDecayer(Pythia8::Info* infoPtr, Pythia8::Settings* settingsPtr);
0012
0013 bool decay(std::vector<int>& idProd,
0014 std::vector<double>& mProd,
0015 std::vector<Pythia8::Vec4>& pProd,
0016 int iDec,
0017 const Pythia8::Event& event) override;
0018
0019 private:
0020 Pythia8::TauDecays decayer;
0021 bool filter_;
0022 bool eDecays_;
0023 bool muDecays_;
0024 std::vector<int> idProdSave;
0025 std::vector<double> mProdSave;
0026 std::vector<Pythia8::Vec4> pProdSave;
0027 };