28 DataMixingPileupCopy::DataMixingPileupCopy() { }
32 label_(ps.getParameter<std::
string>(
"Label"))
53 LogDebug(
"DataMixingPileupCopy") <<
"\n===============> adding pileup Info from event "<<ep->
id();
59 std::shared_ptr<Wrapper< std::vector<PileupSummaryInfo> >
const> PileupInfoPTR =
72 std::shared_ptr<Wrapper<CrossingFramePlaybackInfoExtended>
const> PlaybackPTR =
81 FoundPlayback_ =
true;
89 std::auto_ptr<std::vector<PileupSummaryInfo> > PSIVector(
new std::vector<PileupSummaryInfo>);
91 std::vector<PileupSummaryInfo>::const_iterator PSiter;
95 PSIVector->push_back(*PSiter);
101 std::vector<std::vector<edm::EventID> > IdVect;
107 CFPlaybackInfo->setEventStartInfo(IdVect, 0);
109 e.
put(CFPlaybackInfo);
T getParameter(std::string const &) const
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_
void getEventStartInfo(std::vector< std::vector< edm::EventID > > &ids, const unsigned int s) const
CrossingFramePlaybackInfoExtended CrossingFramePlaybackStorage_
void addPileupInfo(const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *mcc)
edm::InputTag CFPlaybackInputTag_