/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimGeneral/MixingModule/plugins/MixingWorkerBase.h
50 строк
1 KB
Suchandra
Code updates to use FastSim events as PileUp with FullSim Signal events through the MixingModule interface to be used during the Digitization step in different sub-systems
05 май 2026, 20:35
05 май 2026, 20:35
591812c
Код
Авторство
О чём код?
#ifndef MixingWorkerBase_h #define MixingWorkerBase_h /** \class MixingWorkerBase * * MixingWorkerBase is an auxiliary class for the MixingModule * * \author Ursula Berthon, LLR Palaiseau * * \version 1st Version JMarch 2008 * ************************************************************/ #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/Principal.h" #include "Mixing/Base/interface/PileUp.h" #include "DataFormats/Provenance/interface/EventID.h" namespace edm { class MixingModule; class ModuleCallingContext; class EventSetup; /*! This class allows MixingModule to store a vector of * MixingWorkers, which are templated. */ class MixingWorkerBase { public: /*Normal constructor*/ MixingWorkerBase() {} /**Default destructor*/ virtual ~MixingWorkerBase(); /**Steps in BMixingModule::produce*/ virtual bool checkSignal(const edm::Event &e) = 0; virtual void createnewEDProduct() = 0; virtual void addSignals(const edm::Event &e) = 0; virtual void addPileups(const edm::EventPrincipal &, ModuleCallingContext const *, unsigned int EventNr) = 0; virtual void setBcrOffset() = 0; virtual void setSourceOffset(const unsigned int s) = 0; virtual void setTof() = 0; virtual void put(edm::Event &e) = 0; virtual void reload(int minBunch, int maxBunch, int bunchSpace) {} virtual InputTag getInputTag() const = 0; }; } // namespace edm #endif