2 #include "Math/GenVector/VectorUtil.h"
8 : matchDeltaR_{iConfig.
getParameter<
double>(
"MatchDeltaR")},
9 outName_{iConfig.getParameter<
string>(
"OutputCollection")} {
10 std::vector<edm::InputTag> inputCollVector_ = iConfig.getParameter<std::vector<InputTag>>(
"InputCollections");
11 for (
unsigned int ii = 0;
ii < inputCollVector_.size(); ++
ii) {
12 inputColl_.push_back(consumes<LorentzVectorCollection>(inputCollVector_[
ii]));
15 produces<LorentzVectorCollection>(outName_);
22 std::vector<Handle<LorentzVectorCollection>>
handles;
24 bool allCollectionsExist =
true;
31 allCollectionsExist =
false;
36 if (allCollectionsExist) {
39 bool MatchedObj =
true;
52 out_product->push_back(lvRef);
65 for (LorentzVectorCollection::const_iterator it = lvcol.begin(); it != lvcol.end(); ++it) {