#include <DataMixingGeneralTrackWorker.h>
DataMixingGeneralTrackWorker::DataMixingGeneralTrackWorker |
( |
| ) |
|
standard constructor
Definition at line 31 of file DataMixingGeneralTrackWorker.cc.
References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::string GeneralTrackCollectionDM_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::TrackCollection > GTrackSigToken_
edm::InputTag GeneralTrackLabelSig_
std::vector< Track > TrackCollection
collection of Tracks
edm::EDGetTokenT< reco::TrackCollection > GTrackPileToken_
edm::InputTag GeneralTrackPileInputTag_
DataMixingGeneralTrackWorker::~DataMixingGeneralTrackWorker |
( |
| ) |
|
|
virtual |
Definition at line 81 of file DataMixingGeneralTrackWorker.cc.
References edm::EventPrincipal::id(), LogDebug, and testEve_cfg::tracks.
83 LogDebug(
"DataMixingGeneralTrackWorker") <<
"\n===============> adding pileups from event "<<ep->
id()<<
" for bunchcrossing "<<bcr;
86 std::shared_ptr<Wrapper<reco::TrackCollection >
const> inputPTR =
96 for (reco::TrackCollection::const_iterator track = tracks->begin(); track != tracks->end(); ++track) {
EventID const & id() const
std::vector< Track > TrackCollection
collection of Tracks
std::auto_ptr< reco::TrackCollection > NewTrackList_
edm::InputTag GeneralTrackPileInputTag_
void DataMixingGeneralTrackWorker::addGeneralTrackSignals |
( |
const edm::Event & |
e | ) |
|
Definition at line 57 of file DataMixingGeneralTrackWorker.cc.
References edm::Event::getByToken(), and testEve_cfg::tracks.
70 if (tracks.isValid()) {
71 for (reco::TrackCollection::const_iterator track = tracks->begin(); track != tracks->end(); ++track) {
edm::EDGetTokenT< reco::TrackCollection > GTrackSigToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< Track > TrackCollection
collection of Tracks
std::auto_ptr< reco::TrackCollection > NewTrackList_
void DataMixingGeneralTrackWorker::putGeneralTrack |
( |
edm::Event & |
e | ) |
|
Definition at line 106 of file DataMixingGeneralTrackWorker.cc.
References edm::Event::put().
111 LogInfo(
"DataMixingGeneralTrackWorker") <<
"total # Merged Tracks: " <<
NewTrackList_->size() ;
std::string GeneralTrackCollectionDM_
std::auto_ptr< reco::TrackCollection > NewTrackList_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::string edm::DataMixingGeneralTrackWorker::GeneralTrackCollectionDM_ |
|
private |
edm::InputTag edm::DataMixingGeneralTrackWorker::GeneralTrackcollectionSig_ |
|
private |
edm::InputTag edm::DataMixingGeneralTrackWorker::GeneralTrackLabelSig_ |
|
private |
edm::InputTag edm::DataMixingGeneralTrackWorker::GeneralTrackPileInputTag_ |
|
private |