CMS 3D CMS Logo

HLTTauRefCombiner.h
Go to the documentation of this file.
1 /*HLTTauRefCombiner
2 Producer that Combines LV collection to common denominator objects
3 for matching in the Tau HLT
4 
5 */
6 
7 #ifndef HLTTauRefCombiner_h
8 #define HLTTauRefCombiner_h
9 
18 #include <string>
19 #include <vector>
20 
22 public:
23  explicit HLTTauRefCombiner(const edm::ParameterSet &);
24 
25  void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override;
26 
27 private:
29  typedef std::vector<LorentzVector> LorentzVectorCollection;
30 
31  std::vector<edm::EDGetTokenT<LorentzVectorCollection>> inputColl_; // Input LV Collections
32  const double matchDeltaR_; // Delta R for matching
33  const std::string outName_; // outputObjectName
34 
35  bool match(const LorentzVector &,
36  const LorentzVectorCollection &) const; // See if this Jet Is Matched
37 };
38 
39 #endif
const double matchDeltaR_
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
const std::string outName_
std::vector< LorentzVector > LorentzVectorCollection
bool match(const LorentzVector &, const LorentzVectorCollection &) const
HLTTauRefCombiner(const edm::ParameterSet &)
std::vector< edm::EDGetTokenT< LorentzVectorCollection > > inputColl_
math::XYZTLorentzVectorD LorentzVector
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override