Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding BoostedJetLeptonCleaning BJLC modules
- Loading branch information
isando3
committed
Jul 29, 2014
1 parent
eadb964
commit 19e1458
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
HLTrigger/JetMET/interface/HLTJetCollectionsForBoostedLeptonPlusJets.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#ifndef HLTJetCollectionsForBoostedLeptonPlusJets_h | ||
#define HLTJetCollectionsForBoostedLeptonPlusJets_h | ||
|
||
/** \class HLTJetCollectionsForBoostedLeptonPlusJets | ||
* | ||
* | ||
* This class is an EDProducer implementing an HLT | ||
* trigger for lepton and jet objects, cutting on | ||
* variables relating to the jet 4-momentum representation. | ||
* The producer checks for overlaps between leptons and jets and if a | ||
* combination of one lepton + jets cleaned against this leptons satisfy the cuts. | ||
* These jets are then added to a cleaned jet collection which is put into the event. | ||
* | ||
* | ||
* \author Lukasz Kreczko | ||
* | ||
*/ | ||
|
||
|
||
// user include files | ||
#include "FWCore/Framework/interface/Frameworkfwd.h" | ||
#include "FWCore/Framework/interface/EDProducer.h" | ||
|
||
#include "FWCore/Framework/interface/Event.h" | ||
|
||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | ||
|
||
#include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h" | ||
|
||
#include "DataFormats/JetReco/interface/PFJetCollection.h" | ||
|
||
namespace edm { | ||
class ConfigurationDescriptions; | ||
} | ||
|
||
// | ||
// class declaration | ||
// | ||
|
||
template <typename jetType> class HLTJetCollectionsForBoostedLeptonPlusJets: public edm::EDProducer { | ||
public: | ||
explicit HLTJetCollectionsForBoostedLeptonPlusJets(const edm::ParameterSet&); | ||
~HLTJetCollectionsForBoostedLeptonPlusJets(); | ||
static void fillDescriptions(edm::ConfigurationDescriptions & descriptions); | ||
|
||
private: | ||
virtual void produce(edm::Event&, const edm::EventSetup&); | ||
|
||
edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> m_theLeptonToken; | ||
edm::EDGetTokenT<std::vector<jetType>> m_theJetToken; | ||
edm::InputTag hltLeptonTag; | ||
edm::InputTag sourceJetTag; | ||
|
||
double minDeltaR_; //min dR for jets and leptons not to match | ||
|
||
// ----------member data --------------------------- | ||
}; | ||
#endif //HLTJetCollectionsForBoostedLeptonPlusJets_h |