CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HLTRHemisphere.h
Go to the documentation of this file.
1 #ifndef HLTRHemisphere_h
2 #define HLTRHemisphere_h
3 
9 
13 
16 
19 
20 namespace edm {
22 }
23 
24 //
25 // class declaration
26 //
27 
29 public:
30  explicit HLTRHemisphere(const edm::ParameterSet&);
31  ~HLTRHemisphere() override;
32  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
33  bool filter(edm::Event&, const edm::EventSetup&) override;
34 
35 private:
38  edm::InputTag inputTag_; // input tag identifying product
39  edm::InputTag muonTag_; // input tag for the muon objects
40  bool doMuonCorrection_; // do the muon corrections
41  double muonEta_; // maximum muon eta
42  double min_Jet_Pt_; // minimum jet pT threshold for collection
43  double max_Eta_; // maximum eta
44  int max_NJ_; // don't calculate R if event has more than NJ jets
45  bool accNJJets_; // accept or reject events with high NJ
46 
47  void ComputeHemispheres(std::unique_ptr<std::vector<math::XYZTLorentzVector>>& hlist,
48  const std::vector<math::XYZTLorentzVector>& JETS,
49  std::vector<math::XYZTLorentzVector>* extraJets = nullptr);
50 };
51 
52 #endif //HLTRHemisphere_h
HLTRHemisphere(const edm::ParameterSet &)
edm::EDGetTokenT< std::vector< reco::RecoChargedCandidate > > m_theMuonToken
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
edm::EDGetTokenT< edm::View< reco::Jet > > m_theJetToken
void ComputeHemispheres(std::unique_ptr< std::vector< math::XYZTLorentzVector >> &hlist, const std::vector< math::XYZTLorentzVector > &JETS, std::vector< math::XYZTLorentzVector > *extraJets=nullptr)
edm::InputTag muonTag_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool filter(edm::Event &, const edm::EventSetup &) override
edm::InputTag inputTag_
~HLTRHemisphere() override