CMS 3D CMS Logo

BiasedTauDecayer.h
Go to the documentation of this file.
1 #include "Pythia8/ParticleDecays.h"
2 #include "Pythia8/Pythia.h"
3 
4 //==========================================================================
5 
6 // Specialized decayer for resonance decays to taus to allowing biasing to
7 // leptonic decays
8 //
9 class BiasedTauDecayer : public Pythia8::DecayHandler {
10 public:
11  BiasedTauDecayer(Pythia8::Info* infoPtr, Pythia8::Settings* settingsPtr);
12 
13  bool decay(std::vector<int>& idProd,
14  std::vector<double>& mProd,
15  std::vector<Pythia8::Vec4>& pProd,
16  int iDec,
17  const Pythia8::Event& event) override;
18 
19 private:
20  Pythia8::TauDecays decayer;
21  bool filter_;
22  bool eDecays_;
23  bool muDecays_;
24  std::vector<int> idProdSave;
25  std::vector<double> mProdSave;
26  std::vector<Pythia8::Vec4> pProdSave;
27 };
BiasedTauDecayer::eDecays_
bool eDecays_
Definition: BiasedTauDecayer.h:22
BiasedTauDecayer::BiasedTauDecayer
BiasedTauDecayer(Pythia8::Info *infoPtr, Pythia8::Settings *settingsPtr)
Definition: BiasedTauDecayer.cc:11
BiasedTauDecayer::decayer
Pythia8::TauDecays decayer
Definition: BiasedTauDecayer.h:20
BiasedTauDecayer::decay
bool decay(std::vector< int > &idProd, std::vector< double > &mProd, std::vector< Pythia8::Vec4 > &pProd, int iDec, const Pythia8::Event &event) override
Definition: BiasedTauDecayer.cc:20
BiasedTauDecayer::pProdSave
std::vector< Pythia8::Vec4 > pProdSave
Definition: BiasedTauDecayer.h:26
BiasedTauDecayer
Definition: BiasedTauDecayer.h:9
BiasedTauDecayer::idProdSave
std::vector< int > idProdSave
Definition: BiasedTauDecayer.h:24
BiasedTauDecayer::muDecays_
bool muDecays_
Definition: BiasedTauDecayer.h:23
BiasedTauDecayer::mProdSave
std::vector< double > mProdSave
Definition: BiasedTauDecayer.h:25
event
Definition: event.py:1
BiasedTauDecayer::filter_
bool filter_
Definition: BiasedTauDecayer.h:21