CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TagProbeMassProducer.h
Go to the documentation of this file.
1 #ifndef DPGAnalysis_Skim_TagProbeMassProducer_h
2 #define DPGAnalysis_Skim_TagProbeMassProducer_h
3 // -*- C++ -*-
4 //
5 // Package: TagAndProbe
6 // Class : TagProbeMassProducer
7 //
16 //
17 // Original Author:
18 // Created: Wed Apr 16 10:08:13 CDT 2008
19 // $Id: TagProbeMassProducer.h,v 1.1 2010/05/04 09:42:40 azzi Exp $
20 //
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
31 
32 // forward declarations
33 
35 {
36  public:
37  explicit TagProbeMassProducer(const edm::ParameterSet&);
39 
40  private:
41  virtual void beginJob() ;
42  virtual void produce(edm::Event&, const edm::EventSetup&) override;
43  virtual void endJob() ;
44 
45  bool isPassingProbe (const unsigned int iprobe) const;
46 
47  // ----------member data ---------------------------
48 
52 
56 
57  double massMinCut_;
58  double massMaxCut_;
59  double delRMinCut_;
60  double delRMaxCut_;
61 
62  bool requireOS_;
63 };
64 
65 #endif
edm::Handle< reco::CandidateView > probes
edm::InputTag passingProbeCollection_
edm::InputTag probeCollection_
edm::Handle< reco::CandidateView > tags
TagProbeMassProducer(const edm::ParameterSet &)
bool isPassingProbe(const unsigned int iprobe) const
edm::Handle< reco::CandidateView > passingProbes
virtual void produce(edm::Event &, const edm::EventSetup &) override