27 DataMixingPileupCopy::DataMixingPileupCopy() { }
31 label_(ps.getParameter<std::
string>(
"Label"))
52 LogDebug(
"DataMixingPileupCopy") <<
"\n===============> adding pileup Info from event "<<ep->
id();
58 boost::shared_ptr<Wrapper< std::vector<PileupSummaryInfo> >
const> PileupInfoPTR =
71 boost::shared_ptr<Wrapper<CrossingFramePlaybackInfoExtended>
const> PlaybackPTR =
80 FoundPlayback_ =
true;
88 std::auto_ptr<std::vector<PileupSummaryInfo> > PSIVector(
new std::vector<PileupSummaryInfo>);
90 std::vector<PileupSummaryInfo>::const_iterator PSiter;
94 PSIVector->push_back(*PSiter);
100 std::vector<std::vector<edm::EventID> > IdVect;
106 CFPlaybackInfo->setEventStartInfo(IdVect, 0);
108 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_