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