CMS 3D CMS Logo

HiFJRhoProducer.h
Go to the documentation of this file.
1 #ifndef HiJetBackground_HiFJRhoProducer_h
2 #define HiJetBackground_HiFJRhoProducer_h
3 
4 // system include files
5 #include <memory>
6 #include <sstream>
7 #include <string>
8 #include <vector>
9 
10 // user include files
13 
16 
19 
21 
22 //
23 // class declaration
24 //
25 
27 public:
28  explicit HiFJRhoProducer(const edm::ParameterSet&);
29  ~HiFJRhoProducer() override;
30 
31  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
32 
33 private:
34  void beginStream(edm::StreamID) override;
35  void produce(edm::Event&, const edm::EventSetup&) override;
36  void endStream() override;
37 
38  double calcMedian(std::vector<double>& v);
39  double calcMd(const reco::Jet* jet);
40  bool isPackedCandidate(const reco::Candidate* candidate);
41 
42  // ----------member data ---------------------------
43  //input
45 
46  //members
47  edm::InputTag src_; // input kt jet source
48  unsigned int nExcl_; //Number of leading jets to exclude
49  double etaMaxExcl_; //max eta for jets to exclude
50  double ptMinExcl_; //min pt for excluded jets
51  unsigned int nExcl2_; //Number of leading jets to exclude in 2nd eta region
52  double etaMaxExcl2_; //max eta for jets to exclude in 2nd eta region
53  double ptMinExcl2_; //min pt for excluded jets in 2nd eta region
54  std::vector<double> etaRanges; //eta boundaries for rho calculation regions
56 };
57 
58 #endif
edm::StreamID
Definition: StreamID.h:30
reco::Jet
Base class for all types of Jets.
Definition: Jet.h:20
HiFJRhoProducer::ptMinExcl2_
double ptMinExcl2_
Definition: HiFJRhoProducer.h:53
HiFJRhoProducer::HiFJRhoProducer
HiFJRhoProducer(const edm::ParameterSet &)
Definition: HiFJRhoProducer.cc:50
edm::EDGetTokenT
Definition: EDGetToken.h:33
EDProducer.h
Jet.h
HiFJRhoProducer::calcMd
double calcMd(const reco::Jet *jet)
Definition: HiFJRhoProducer.cc:184
HiFJRhoProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: HiFJRhoProducer.cc:78
findQualityFiles.v
v
Definition: findQualityFiles.py:179
HiFJRhoProducer::src_
edm::InputTag src_
Definition: HiFJRhoProducer.h:47
HiFJRhoProducer::endStream
void endStream() override
Definition: HiFJRhoProducer.cc:182
MakerMacros.h
HiFJRhoProducer::usingPackedCand
bool usingPackedCand
Definition: HiFJRhoProducer.h:55
HiFJRhoProducer::nExcl2_
unsigned int nExcl2_
Definition: HiFJRhoProducer.h:51
HiFJRhoProducer::calcMedian
double calcMedian(std::vector< double > &v)
Definition: HiFJRhoProducer.cc:231
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
HiFJRhoProducer::etaRanges
std::vector< double > etaRanges
Definition: HiFJRhoProducer.h:54
edm::ParameterSet
Definition: ParameterSet.h:47
HiFJRhoProducer::etaMaxExcl2_
double etaMaxExcl2_
Definition: HiFJRhoProducer.h:52
Event.h
HiFJRhoProducer::isPackedCandidate
bool isPackedCandidate(const reco::Candidate *candidate)
Definition: HiFJRhoProducer.cc:204
edm::stream::EDProducer
Definition: EDProducer.h:38
HiFJRhoProducer::etaMaxExcl_
double etaMaxExcl_
Definition: HiFJRhoProducer.h:49
edm::EventSetup
Definition: EventSetup.h:58
HiFJRhoProducer::ptMinExcl_
double ptMinExcl_
Definition: HiFJRhoProducer.h:50
HiFJRhoProducer::~HiFJRhoProducer
~HiFJRhoProducer() override
Definition: HiFJRhoProducer.cc:72
reco::Candidate
Definition: Candidate.h:27
HiFJRhoProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HiFJRhoProducer.cc:217
HiFJRhoProducer::jetsToken_
edm::EDGetTokenT< edm::View< reco::Jet > > jetsToken_
Definition: HiFJRhoProducer.h:44
HiFJRhoProducer::nExcl_
unsigned int nExcl_
Definition: HiFJRhoProducer.h:48
HiFJRhoProducer::checkJetCand
bool checkJetCand
Definition: HiFJRhoProducer.h:55
Frameworkfwd.h
metsig::jet
Definition: SignAlgoResolutions.h:47
HiFJRhoProducer
Definition: HiFJRhoProducer.h:26
HiFJRhoProducer::beginStream
void beginStream(edm::StreamID) override
Definition: HiFJRhoProducer.cc:179
ParameterSet.h
edm::Event
Definition: Event.h:73
StreamID.h
edm::InputTag
Definition: InputTag.h:15