CMS 3D CMS Logo

PreMixingPileupCopy.h
Go to the documentation of this file.
1 #ifndef SimGeneral_PreMixingModule_PreMixingPileupCopy_h
2 #define SimGeneral_PreMixingModule_PreMixingPileupCopy_h
3 
15 
18 
21 
22 #include <vector>
23 #include <string>
24 
25 namespace reco {
26  class GenParticle;
27 }
29 
30 namespace edm {
31  class ModuleCallingContext;
32 
34  public:
36  ~PreMixingPileupCopy() = default;
37 
38  void addPileupInfo(PileUpEventPrincipal const& pep);
39  const std::vector<PileupSummaryInfo>& getPileupSummaryInfo() const { return pileupSummaryStorage_; }
40  int getBunchSpacing() const { return bsStorage_; }
41  void putPileupInfo(edm::Event &e) ;
42 
43  private:
44  edm::InputTag pileupInfoInputTag_ ; // InputTag for PileupSummaryInfo
45  edm::InputTag bunchSpacingInputTag_ ; // InputTag for bunch spacing int
46  edm::InputTag cfPlaybackInputTag_ ; // InputTag for CrossingFrame Playback information
47 
48  std::vector<edm::InputTag> genPUProtonsInputTags_ ;
49 
50  // deliver data from addPileupInfo() to getPileupInfo() and putPileupInfo()
52  std::vector<PileupSummaryInfo> pileupSummaryStorage_;
54 
55  std::vector<std::string> genPUProtons_labels_;
56  std::vector<std::vector<reco::GenParticle> > genPUProtons_;
57 
59  };
60 }//edm
61 
62 #endif
std::vector< std::vector< reco::GenParticle > > genPUProtons_
CrossingFramePlaybackInfoNew crossingFramePlaybackStorage_
std::vector< std::string > genPUProtons_labels_
std::vector< PileupSummaryInfo > pileupSummaryStorage_
std::vector< edm::InputTag > genPUProtonsInputTags_
fixed size matrix
HLT enums.
const std::vector< PileupSummaryInfo > & getPileupSummaryInfo() const