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,
12  Pythia8::Settings* settingsPtr,
13  Pythia8::ParticleData* particleDataPtr,
14  Pythia8::Rndm* rndmPtr,
15  Pythia8::Couplings* couplingsPtr);
16 
17  bool decay(std::vector<int>& idProd,
18  std::vector<double>& mProd,
19  std::vector<Pythia8::Vec4>& pProd,
20  int iDec,
21  const Pythia8::Event& event) override;
22 
23 private:
24  Pythia8::TauDecays decayer;
25  bool filter_;
26  bool eMuDecays_;
27  std::vector<int> idProdSave;
28  std::vector<double> mProdSave;
29  std::vector<Pythia8::Vec4> pProdSave;
30 };
ParticleData
HepPDT::ParticleData ParticleData
Definition: ParticleDataTable.h:9
BiasedTauDecayer::decayer
Pythia8::TauDecays decayer
Definition: BiasedTauDecayer.h:24
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:19
BiasedTauDecayer::pProdSave
std::vector< Pythia8::Vec4 > pProdSave
Definition: BiasedTauDecayer.h:29
BiasedTauDecayer
Definition: BiasedTauDecayer.h:9
BiasedTauDecayer::BiasedTauDecayer
BiasedTauDecayer(Pythia8::Info *infoPtr, Pythia8::Settings *settingsPtr, Pythia8::ParticleData *particleDataPtr, Pythia8::Rndm *rndmPtr, Pythia8::Couplings *couplingsPtr)
Definition: BiasedTauDecayer.cc:11
BiasedTauDecayer::idProdSave
std::vector< int > idProdSave
Definition: BiasedTauDecayer.h:27
BiasedTauDecayer::mProdSave
std::vector< double > mProdSave
Definition: BiasedTauDecayer.h:28
BiasedTauDecayer::eMuDecays_
bool eMuDecays_
Definition: BiasedTauDecayer.h:26
event
Definition: event.py:1
BiasedTauDecayer::filter_
bool filter_
Definition: BiasedTauDecayer.h:25