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
edm::DataMixingPileupCopy::GenPUProtonsInputTags_
std::vector< edm::InputTag > GenPUProtonsInputTags_
Definition: DataMixingPileupCopy.h:65
Handle.h
PileupSummaryInfo.h
CrossingFramePlaybackInfoNew.h
edm::DataMixingPileupCopy::label_
std::string label_
Definition: DataMixingPileupCopy.h:77
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::DataMixingPileupCopy::bsStorage_
int bsStorage_
Definition: DataMixingPileupCopy.h:70
edm::DataMixingPileupCopy::FoundPlayback_
bool FoundPlayback_
Definition: DataMixingPileupCopy.h:79
edm::DataMixingPileupCopy::PileupSummaryStorage_
std::vector< PileupSummaryInfo > PileupSummaryStorage_
Definition: DataMixingPileupCopy.h:69
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
GenParticle
Definition: GenParticle.py:1
edm::DataMixingPileupCopy::CrossingFramePlaybackStorage_
CrossingFramePlaybackInfoNew CrossingFramePlaybackStorage_
Definition: DataMixingPileupCopy.h:67
CrossingFramePlaybackInfoNew
Definition: CrossingFramePlaybackInfoNew.h:23
cms::cuda::bs
bs
Definition: HistoContainer.h:127
edm::EventPrincipal
Definition: EventPrincipal.h:46
edm::DataMixingPileupCopy::CFPlaybackInputTag_
edm::InputTag CFPlaybackInputTag_
Definition: DataMixingPileupCopy.h:63
EventPrincipal.h
ProductID.h
edm::DataMixingPileupCopy::putPileupInfo
void putPileupInfo(edm::Event &e)
Definition: DataMixingPileupCopy.cc:94
edm::DataMixingPileupCopy::DataMixingPileupCopy
DataMixingPileupCopy()
Definition: DataMixingPileupCopy.cc:22
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
edm::DataMixingPileupCopy::GenPUProtons_labels_
std::vector< std::string > GenPUProtons_labels_
Definition: DataMixingPileupCopy.h:72
edm::DataMixingPileupCopy::~DataMixingPileupCopy
virtual ~DataMixingPileupCopy()
Definition: DataMixingPileupCopy.cc:44
edm::DataMixingPileupCopy::addPileupInfo
void addPileupInfo(const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *mcc)
Definition: DataMixingPileupCopy.cc:46
edm::DataMixingPileupCopy::getPileupInfo
void getPileupInfo(std::vector< PileupSummaryInfo > &ps, int &bs)
Definition: DataMixingPileupCopy.h:53
ConsumesCollector.h
edm::DataMixingPileupCopy
Definition: DataMixingPileupCopy.h:40
ParameterSet.h
edm::DataMixingPileupCopy::BunchSpacingInputTag_
edm::InputTag BunchSpacingInputTag_
Definition: DataMixingPileupCopy.h:62
edm::DataMixingPileupCopy::PileupInfoInputTag_
edm::InputTag PileupInfoInputTag_
Definition: DataMixingPileupCopy.h:61
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
edm::DataMixingPileupCopy::GenPUProtons_
std::vector< std::vector< reco::GenParticle > > GenPUProtons_
Definition: DataMixingPileupCopy.h:73
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29