#include <HLTTauRefCombiner.h>
Definition at line 21 of file HLTTauRefCombiner.h.
HLTTauRefCombiner::~HLTTauRefCombiner |
( |
| ) |
|
Definition at line 84 of file HLTTauRefCombiner.cc.
References delta.
89 for(LorentzVectorCollection::const_iterator it = lvcol.begin();it!=lvcol.end();++it)
91 double delta = ROOT::Math::VectorUtil::DeltaR(lv,*it);
Implements edm::EDProducer.
Definition at line 20 of file HLTTauRefCombiner.cc.
References edm::Event::getByLabel(), i, j, edm::match(), edm::Event::put(), findQualityFiles::size, and tmp.
25 std::vector< Handle<LorentzVectorCollection> > handles;
27 bool allCollectionsExist =
true;
34 handles.push_back(tmp);
38 allCollectionsExist =
false;
44 if(allCollectionsExist)
47 for(
size_t i = 0; i < (handles[0])->
size();++
i)
49 bool MatchedObj =
true;
55 for(
size_t j = 1;
j < handles.size();++
j)
57 if(!
match(lvRef,*(handles[
j])))
65 out_product->push_back(lvRef);
bool match(const LorentzVector &, const LorentzVectorCollection &)
std::vector< edm::InputTag > inputColl_
math::XYZTLorentzVector LorentzVector
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< LorentzVector > LorentzVectorCollection
std::vector< std::vector< double > > tmp
tuple size
Write out results.
double HLTTauRefCombiner::matchDeltaR_ |
|
private |
std::string HLTTauRefCombiner::outName_ |
|
private |