CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MixingModule.h
Go to the documentation of this file.
1 #ifndef MixingModule_h
2 #define MixingModule_h
3 
18 
23 
31 
34 
35 #include "MixingWorkerBase.h"
36 
37 #include <vector>
38 #include <string>
39 
41 class MixingWorkerBase;
42 namespace edm
43 {
44  class MixingModule : public BMixingModule
45  {
46  public:
47 
49  explicit MixingModule(const edm::ParameterSet& ps);
50 
52  virtual ~MixingModule();
53 
54  virtual void beginJob() {}
55 
56  virtual void reload(const edm::EventSetup &);
57 
58  private:
59  virtual void branchesActivate(const std::string &friendlyName, const std::string &subdet, InputTag &tag, std::string &label);
60  virtual void put(edm::Event &e,const edm::EventSetup& es);
61  virtual void createnewEDProduct();
62  virtual void checkSignal(const edm::Event &e);
63  virtual void addSignals(const edm::Event &e, const edm::EventSetup& es);
64  virtual void doPileUp(edm::Event &e, const edm::EventSetup& es);
65  // void pileAllWorkers(EventPrincipal const& ep, int bcr, int& id, int& offset);
66  void pileAllWorkers(EventPrincipal const& ep, int bcr, int id, int& offset);
67  std::string labelPlayback_;
71 
73 
74  std::vector<MixingWorkerBase *> workers_;
75  std::vector<MixingWorkerBase *> workersObjects_;
76  std::vector<std::string> wantedBranches_;
78  };
79 }//edm
80 
81 #endif
Selector * sel_
Definition: MixingModule.h:72
void pileAllWorkers(EventPrincipal const &ep, int bcr, int id, int &offset)
virtual void reload(const edm::EventSetup &)
virtual ~MixingModule()
MixingModule(const edm::ParameterSet &ps)
Definition: MixingModule.cc:27
virtual void createnewEDProduct()
virtual void addSignals(const edm::Event &e, const edm::EventSetup &es)
virtual void beginJob()
Definition: MixingModule.h:54
std::string labelPlayback_
Definition: MixingModule.h:67
virtual void put(edm::Event &e, const edm::EventSetup &es)
virtual void checkSignal(const edm::Event &e)
std::string friendlyName(std::string const &iFullName)
std::vector< MixingWorkerBase * > workers_
Definition: MixingModule.h:74
std::vector< MixingWorkerBase * > workersObjects_
Definition: MixingModule.h:75
unsigned int offset(bool)
bool useCurrentProcessOnly_
Definition: MixingModule.h:77
virtual void branchesActivate(const std::string &friendlyName, const std::string &subdet, InputTag &tag, std::string &label)
std::vector< std::string > wantedBranches_
Definition: MixingModule.h:76
CrossingFramePlaybackInfoExtended * playbackInfo_
Definition: MixingModule.h:70
virtual void doPileUp(edm::Event &e, const edm::EventSetup &es)