CMS 3D CMS Logo

DataMixingPileupCopy.h
Go to the documentation of this file.
1 #ifndef SimDataMixingPileupCopy_h
2 #define SimDataMixingPileupCopy_h
3 
21 
24 
27 
28 #include <map>
29 #include <vector>
30 #include <string>
31 
32 namespace reco{
33  class GenParticle;
34 }
35 
36 namespace edm
37 {
38  class ModuleCallingContext;
39 
41  {
42  public:
43 
45 
48 
50  virtual ~DataMixingPileupCopy();
51 
52  void putPileupInfo(edm::Event &e) ;
53  void addPileupInfo(const edm::EventPrincipal*,unsigned int EventId,
54  ModuleCallingContext const* mcc);
55 
56  void getPileupInfo(std::vector<PileupSummaryInfo> &ps, int &bs) { ps=PileupSummaryStorage_; bs=bsStorage_;}
57 
58  private:
59 
60  // data specifiers
61 
62 
63  edm::InputTag PileupInfoInputTag_ ; // InputTag for PileupSummaryInfo
64  edm::InputTag BunchSpacingInputTag_ ; // InputTag for bunch spacing int
65  edm::InputTag CFPlaybackInputTag_ ; // InputTag for CrossingFrame Playback information
66 
67  std::vector<edm::InputTag> GenPUProtonsInputTags_ ;
68 
70 
71  std::vector<PileupSummaryInfo> PileupSummaryStorage_;
73 
74  std::vector<std::string> GenPUProtons_labels_;
75  std::vector<std::vector<reco::GenParticle> > GenPUProtons_;
76 
77  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
78 
80 
82 
83  };
84 }//edm
85 
86 #endif // SimDataMixingPileupCopy_h
std::vector< std::vector< reco::GenParticle > > GenPUProtons_
CrossingFramePlaybackInfoNew CrossingFramePlaybackStorage_
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)