CMS 3D CMS Logo

QjetsAdder.h
Go to the documentation of this file.
1 #ifndef QjetsAdder_h
2 #define QjetsAdder_h
3 
4 #include <memory>
12 
13 class QjetsAdder : public edm::EDProducer {
14 public:
15  explicit QjetsAdder(const edm::ParameterSet& iConfig)
16  : src_(iConfig.getParameter<edm::InputTag>("src")),
18  qjetsAlgo_(iConfig.getParameter<double>("zcut"),
19  iConfig.getParameter<double>("dcutfctr"),
20  iConfig.getParameter<double>("expmin"),
21  iConfig.getParameter<double>("expmax"),
22  iConfig.getParameter<double>("rigidity")),
23  ntrial_(iConfig.getParameter<int>("ntrial")),
24  cutoff_(iConfig.getParameter<double>("cutoff")),
25  jetRad_(iConfig.getParameter<double>("jetRad")),
26  mJetAlgo_(iConfig.getParameter<std::string>("jetAlgo")),
27  QjetsPreclustering_(iConfig.getParameter<int>("preclustering")) {
28  produces<edm::ValueMap<float>>("QjetsVolatility");
29  }
30 
31  ~QjetsAdder() override {}
32 
33  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
34 
35 private:
39  int ntrial_;
40  double cutoff_;
41  double jetRad_;
45 };
46 
47 #endif
QjetsAdder(const edm::ParameterSet &iConfig)
Definition: QjetsAdder.h:15
int ntrial_
Definition: QjetsAdder.h:39
edm::Service< edm::RandomNumberGenerator > rng_
Definition: QjetsAdder.h:44
~QjetsAdder() override
Definition: QjetsAdder.h:31
double jetRad_
Definition: QjetsAdder.h:41
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: QjetsAdder.cc:11
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
QjetsPlugin qjetsAlgo_
Definition: QjetsAdder.h:38
int QjetsPreclustering_
Definition: QjetsAdder.h:43
int iEvent
Definition: GenABIO.cc:224
Definition: Jet.py:1
double cutoff_
Definition: QjetsAdder.h:40
edm::EDGetTokenT< edm::View< reco::Jet > > src_token_
Definition: QjetsAdder.h:37
std::string mJetAlgo_
Definition: QjetsAdder.h:42
fixed size matrix
HLT enums.
edm::InputTag src_
Definition: QjetsAdder.h:36