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) {
const double matchDeltaR_
T getParameter(std::string const &) const
const std::string outName_
std::vector< LorentzVector > LorentzVectorCollection
bool match(const LorentzVector &, const LorentzVectorCollection &) const
std::vector< BaseVolumeHandle * > handles
HLTTauRefCombiner(const edm::ParameterSet &)
std::vector< edm::EDGetTokenT< LorentzVectorCollection > > inputColl_
math::XYZTLorentzVectorD LorentzVector
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override