13 #ifndef TauSpinnerCMS_h 14 #define TauSpinnerCMS_h 45 #include "TauSpinner/SimpleParticle.h" 59 virtual void beginJob()
override final;
61 virtual void endJob()
override final;
79 TauSpinner::SimpleParticle &
X,
80 TauSpinner::SimpleParticle &
tau,
81 TauSpinner::SimpleParticle &tau2,
82 std::vector<TauSpinner::SimpleParticle> &tau_daughters,
83 std::vector<TauSpinner::SimpleParticle> &tau2_daughters);
86 std::vector<TauSpinner::SimpleParticle> &
daughters,
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
void GetLastSelf(const reco::GenParticle *Particle)
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
virtual void beginJob() override final
virtual void initialize()
bool isFirst(const reco::GenParticle *Particle)
static CLHEP::HepRandomEngine * fRandomEngine
void setRandomEngine(CLHEP::HepRandomEngine *v)
edm::EDGetTokenT< reco::GenParticleCollection > GenParticleCollectionToken_
virtual void endRunProduce(edm::Run &, edm::EventSetup const &) override
void GetRecoDaughters(const reco::GenParticle *Particle, std::vector< TauSpinner::SimpleParticle > &daughters, int parentpdgid)
static bool isTauSpinnerConfigure
virtual void produce(edm::Event &, const edm::EventSetup &) override final
virtual void endRun(const edm::Run &, const edm::EventSetup &)
int readParticlesfromReco(edm::Event &e, TauSpinner::SimpleParticle &X, TauSpinner::SimpleParticle &tau, TauSpinner::SimpleParticle &tau2, std::vector< TauSpinner::SimpleParticle > &tau_daughters, std::vector< TauSpinner::SimpleParticle > &tau2_daughters)
virtual void endJob() override final
TauSpinnerCMS(const edm::ParameterSet &)
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
virtual void endLuminosityBlockProduce(edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup)