CMS 3D CMS Logo

DataMixingPileupCopy.h
Go to the documentation of this file.
1 #ifndef SimDataMixingPileupCopy_h
2 #define SimDataMixingPileupCopy_h
3 
22 
25 
28 
29 #include <map>
30 #include <string>
31 #include <vector>
32 
33 namespace reco {
34  class GenParticle;
35 }
36 
37 namespace edm {
38  class ModuleCallingContext;
39 
41  public:
43 
46 
48  virtual ~DataMixingPileupCopy();
49 
50  void putPileupInfo(edm::Event &e);
51  void addPileupInfo(const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *mcc);
52 
53  void getPileupInfo(std::vector<PileupSummaryInfo> &ps, int &bs) {
55  bs = bsStorage_;
56  }
57 
58  private:
59  // data specifiers
60 
61  edm::InputTag PileupInfoInputTag_; // InputTag for PileupSummaryInfo
62  edm::InputTag BunchSpacingInputTag_; // InputTag for bunch spacing int
63  edm::InputTag CFPlaybackInputTag_; // InputTag for CrossingFrame Playback information
64 
65  std::vector<edm::InputTag> GenPUProtonsInputTags_;
66 
68 
69  std::vector<PileupSummaryInfo> PileupSummaryStorage_;
71 
72  std::vector<std::string> GenPUProtons_labels_;
73  std::vector<std::vector<reco::GenParticle>> GenPUProtons_;
74 
75  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
76 
78 
80  };
81 } // namespace edm
82 
83 #endif // SimDataMixingPileupCopy_h
std::vector< std::vector< reco::GenParticle > > GenPUProtons_
CrossingFramePlaybackInfoNew CrossingFramePlaybackStorage_
void putPileupInfo(edm::Event &e)
std::vector< PileupSummaryInfo > PileupSummaryStorage_
std::vector< std::string > GenPUProtons_labels_
std::vector< edm::InputTag > GenPUProtonsInputTags_
fixed size matrix
HLT enums.
void getPileupInfo(std::vector< PileupSummaryInfo > &ps, int &bs)
std::tuple< uint32_t, uint32_t, uint32_t > EventId
Event index (L1A/BX/orbit)
Definition: SlinkTypes.h:14
void addPileupInfo(const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *mcc)