27 DataMixingPileupCopy::DataMixingPileupCopy() { }
31 label_(ps.getParameter<std::
string>(
"Label"))
56 LogDebug(
"DataMixingPileupCopy") <<
"\n===============> adding pileup Info from event "<<ep->
id();
62 std::shared_ptr<Wrapper< std::vector<PileupSummaryInfo> >
const> PileupInfoPTR =
65 std::shared_ptr<Wrapper< int >
const> bsPTR =
81 std::shared_ptr<Wrapper<CrossingFramePlaybackInfoNew>
const> PlaybackPTR =
86 FoundPlayback_ =
true;
91 std::auto_ptr<std::vector<PileupSummaryInfo> > PSIVector(
new std::vector<PileupSummaryInfo>);
92 std::auto_ptr<int> bsInt(
new int);
94 std::vector<PileupSummaryInfo>::const_iterator PSiter;
96 PSIVector->push_back(*PSiter);
103 e.
put(CFPlaybackInfo);
106 e.
put(bsInt,
"bunchSpacing");
T getParameter(std::string const &) const
CrossingFramePlaybackInfoNew CrossingFramePlaybackStorage_
void putPileupInfo(edm::Event &e)
EventID const & id() const
virtual ~DataMixingPileupCopy()
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::InputTag PileupInfoInputTag_
std::vector< PileupSummaryInfo > PileupSummaryStorage_
edm::InputTag BunchSpacingInputTag_
void addPileupInfo(const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *mcc)
edm::InputTag CFPlaybackInputTag_