/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
GeneratorInterface/EvtGenInterface/interface/EvtGenInterfaceBase.h
32 строки
971 B
Shahzad Malik Muzaffar
[GENERATORS] Changes suggested by new llvm18 clang-format
05 сен 2024, 17:14
05 сен 2024, 17:14
f8c46a4
Код
Авторство
О чём код?
#ifndef gen_EvtGenInterface_EvtGenInterfaceBase_h #define gen_EvtGenInterface_EvtGenInterfaceBase_h #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/Framework/interface/EventSetup.h" #include "HepMC/GenEvent.h" #include <vector> namespace CLHEP { class HepRandomEngine; } namespace gen { class EvtGenInterfaceBase { public: EvtGenInterfaceBase() {} virtual ~EvtGenInterfaceBase() {} virtual void SetPhotosDecayRandomEngine(CLHEP::HepRandomEngine* decayRandomEngine) {} virtual void init() {} virtual const std::vector<int>& operatesOnParticles() { return m_PDGs; } virtual const std::vector<std::string>& specialSettings() { return fSpecialSettings; } virtual HepMC::GenEvent* decay(HepMC::GenEvent* evt) { return evt; } virtual void setRandomEngine(CLHEP::HepRandomEngine* v) = 0; protected: std::vector<int> m_PDGs; std::vector<std::string> fSpecialSettings; }; } // namespace gen #endif