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  {
29  produces<edm::ValueMap<float> >("QjetsVolatility");
30  }
31 
32  ~QjetsAdder() override {}
33 
34  void produce(edm::Event & iEvent, const edm::EventSetup & iSetup) override ;
35 
36 private:
40  int ntrial_;
41  double cutoff_;
42  double jetRad_;
46 };
47 
48 
49 #endif
QjetsAdder(const edm::ParameterSet &iConfig)
Definition: QjetsAdder.h:15
int ntrial_
Definition: QjetsAdder.h:40
edm::Service< edm::RandomNumberGenerator > rng_
Definition: QjetsAdder.h:45
~QjetsAdder() override
Definition: QjetsAdder.h:32
double jetRad_
Definition: QjetsAdder.h:42
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:39
int QjetsPreclustering_
Definition: QjetsAdder.h:44
int iEvent
Definition: GenABIO.cc:224
Definition: Jet.py:1
double cutoff_
Definition: QjetsAdder.h:41
edm::EDGetTokenT< edm::View< reco::Jet > > src_token_
Definition: QjetsAdder.h:38
std::string mJetAlgo_
Definition: QjetsAdder.h:43
fixed size matrix
HLT enums.
edm::InputTag src_
Definition: QjetsAdder.h:37