CMS 3D CMS Logo

CSJetProducer.h
Go to the documentation of this file.
1 #ifndef RecoJets_JetProducers_CSJetProducer_h
2 #define RecoJets_JetProducers_CSJetProducer_h
3 
4 /* *********************************************************
5  \class CSJetProducer
6 
7  \brief Jet producer to produce CMS-style constituent subtracted jets
8 
9  \author Marta Verweij
10  \modified for granular eta map Chris McGinn
11  \version
12 
13  Notes on implementation:
14 
15  Constituent subtraction using fastjet contrib package
16  The background densities change within the jet as function of eta.
17 
18  ************************************************************/
19 
20 #include <vector>
22 
23 namespace cms {
25  public:
27 
28  ~CSJetProducer() override {}
29  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
31 
32  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
33 
34  protected:
35  void runAlgorithm(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
36 
37  double getModulatedRhoFactor(const double phi, const edm::Handle<std::vector<double>>& flowParameters);
38 
39  double csRParam_;
40  double csAlpha_;
41 
45  //input rho and rho_m + eta map
50  };
51 } // namespace cms
52 #endif
double csAlpha_
for constituent subtraction : R parameter
Definition: CSJetProducer.h:40
bool useModulatedRho_
for HI constituent subtraction : alpha (power of pt in metric)
Definition: CSJetProducer.h:42
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
double getModulatedRhoFactor(const double phi, const edm::Handle< std::vector< double >> &flowParameters)
edm::EDGetTokenT< std::vector< double > > rhoToken_
Definition: CSJetProducer.h:47
edm::EDGetTokenT< std::vector< double > > rhoFlowFitParamsToken_
Definition: CSJetProducer.h:49
double maxFlowChi2Prob_
flowFit chi2/ndof minimum compatability requirement
Definition: CSJetProducer.h:44
CSJetProducer(const edm::ParameterSet &ps)
int iEvent
Definition: GenABIO.cc:224
~CSJetProducer() override
Definition: CSJetProducer.h:28
Namespace of DDCMS conversion namespace.
edm::EDGetTokenT< std::vector< double > > etaToken_
flowFit chi2/ndof minimum compatability requirement
Definition: CSJetProducer.h:46
void runAlgorithm(edm::Event &iEvent, const edm::EventSetup &iSetup) override
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
edm::EDGetTokenT< std::vector< double > > rhomToken_
Definition: CSJetProducer.h:48
static void fillDescriptionsFromCSJetProducer(edm::ParameterSetDescription &desc)
double minFlowChi2Prob_
flag to turn on/off flow-modulated rho and rhom
Definition: CSJetProducer.h:43