CMS 3D CMS Logo

BTagSkimLeptonJet.h
Go to the documentation of this file.
1 #ifndef BTagSkimLeptonJet_h
2 #define BTagSkimLeptonJet_h
3 
16 
19 
21 
22  public:
23  explicit BTagSkimLeptonJet( const edm::ParameterSet& );
24  ~BTagSkimLeptonJet() override;
25  bool filter( edm::Event&, const edm::EventSetup& ) override;
26  void endJob() override;
27 
28  private:
30  double MinCaloJetPt_;
35  double MinLeptonPt_;
36  double MaxLeptonEta_;
37  double MaxDeltaR_;
38  double MinPtRel_;
39 
40  unsigned int nEvents_;
41  unsigned int nAccepted_;
42 
43 
44 class PtSorter {
45 public:
46  template <class T> bool operator() ( const T& a, const T& b ) {
47  return ( a.pt() > b.pt() );
48  }
49 };
50 
51 };
52 
53 #endif
~BTagSkimLeptonJet() override
bool operator()(const T &a, const T &b)
std::string LeptonType_
BTagSkimLeptonJet(const edm::ParameterSet &)
void endJob() override
edm::InputTag LeptonInput_
double b
Definition: hdecay.h:120
unsigned int nAccepted_
double a
Definition: hdecay.h:121
bool filter(edm::Event &, const edm::EventSetup &) override
long double T
edm::InputTag CaloJetInput_
unsigned int nEvents_