CollectionFromZLegProducer::CollectionFromZLegProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
Definition at line 45 of file CollectionFromZLegProducer.cc.
48 produces<std::vector<reco::CompositeCandidate> >(
"theTagLeg" );
49 produces<std::vector<reco::CompositeCandidate> >(
"theProbeLeg");
T getParameter(std::string const &) const
CollectionFromZLegProducer::~CollectionFromZLegProducer |
( |
| ) |
|
|
virtual |
void CollectionFromZLegProducer::endJob |
( |
void |
| ) |
|
|
virtual |
Implements edm::EDProducer.
Definition at line 63 of file CollectionFromZLegProducer.cc.
References trackerHits::c, edm::Event::getByLabel(), edm::Event::put(), and srcTheZ_.
65 std::auto_ptr<std::vector<reco::CompositeCandidate> > theTagLeg(
new std::vector<reco::CompositeCandidate>) ;
66 std::auto_ptr<std::vector<reco::CompositeCandidate> > theProbeLeg(
new std::vector<reco::CompositeCandidate>) ;
73 for (std::vector<reco::CompositeCandidate>::const_iterator Zit = theZHandle->begin() ;
74 Zit != theZHandle->end() ;
85 theTagLeg->push_back(candT) ;
89 theProbeLeg->push_back(candP) ;
94 iEvent.
put(theTagLeg ,
"theTagLeg" ) ;
95 iEvent.
put(theProbeLeg,
"theProbeLeg" ) ;
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::string CollectionFromZLegProducer::OutputCollection_ |
|
private |