4 #include "TauSpinner/SimpleParticle.h"
5 #include "TauSpinner/tau_reweight_lib.h"
7 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
22 return "TauSpinnerProducer";
27 virtual void Init(setting_type
const& settings, metadata_type& metadata)
override;
29 virtual void Produce(event_type
const& event, product_type& product,
30 setting_type
const& settings, metadata_type
const& metadata)
const override;
34 virtual TauSpinner::SimpleParticle GetSimpleParticle(RMFLV
const& particleLV,
int particlePdgId)
const;
35 virtual std::vector<TauSpinner::SimpleParticle> GetFinalStates(
36 GenParticleDecayTree& mother,
37 std::vector<TauSpinner::SimpleParticle>& resultVector)
const;
38 std::string GetLabelForWeightsMap(
float mixingAngleOverPiHalf)
const;
40 std::vector<float> mixingAnglesOverPiHalf;
42 std::string pipelineName;
43 mutable int numberOfNanWeights = 0;
47 string to_string(TauSpinner::SimpleParticle& particle);
48 string to_string(std::vector<TauSpinner::SimpleParticle>& particleVector);
~TauSpinnerProducer()
Definition: TauSpinnerProducer.cc:18
string to_string(TauSpinner::SimpleParticle &particle)
Definition: TauSpinnerProducer.cc:247
GlobalProducer, for tau decays on generator level. Following quantities are calculated: -This produce...
Definition: TauSpinnerProducer.h:16
virtual std::string GetProducerId() const override
Definition: TauSpinnerProducer.h:20
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: TauSpinnerProducer.cc:89
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: TauSpinnerProducer.cc:27