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  float getTrueNumInteractions(PileUpEventPrincipal const& pep) const;
39 
40  void addPileupInfo(PileUpEventPrincipal const& pep);
41  const std::vector<PileupSummaryInfo>& getPileupSummaryInfo() const { return pileupSummaryStorage_; }
42  int getBunchSpacing() const { return bsStorage_; }
43  void putPileupInfo(edm::Event &e) ;
44 
45  private:
46  edm::InputTag pileupInfoInputTag_ ; // InputTag for PileupSummaryInfo
47  edm::InputTag bunchSpacingInputTag_ ; // InputTag for bunch spacing int
48  edm::InputTag cfPlaybackInputTag_ ; // InputTag for CrossingFrame Playback information
49 
50  std::vector<edm::InputTag> genPUProtonsInputTags_ ;
51 
52  // deliver data from addPileupInfo() to getPileupInfo() and putPileupInfo()
54  std::vector<PileupSummaryInfo> pileupSummaryStorage_;
56 
57  std::vector<std::string> genPUProtons_labels_;
58  std::vector<std::vector<reco::GenParticle> > genPUProtons_;
59 
61  };
62 }//edm
63 
64 #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