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::cutoff_
double cutoff_
Definition: QjetsAdder.h:40
QjetsAdder::src_token_
edm::EDGetTokenT< edm::View< reco::Jet > > src_token_
Definition: QjetsAdder.h:37
EDProducer.h
sistrip::View
View
Definition: ConstantsForView.h:26
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
QjetsAdder::src_
edm::InputTag src_
Definition: QjetsAdder.h:36
QjetsAdder::mJetAlgo_
std::string mJetAlgo_
Definition: QjetsAdder.h:42
Jet
Definition: Jet.py:1
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
QjetsAdder::ntrial_
int ntrial_
Definition: QjetsAdder.h:39
edm::Service< edm::RandomNumberGenerator >
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
QjetsAdder::QjetsAdder
QjetsAdder(const edm::ParameterSet &iConfig)
Definition: QjetsAdder.h:15
QjetsPlugin.h
edm::EventSetup
Definition: EventSetup.h:58
Jet.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
QjetsAdder::rng_
edm::Service< edm::RandomNumberGenerator > rng_
Definition: QjetsAdder.h:44
InputTag.h
std
Definition: JetResolutionObject.h:76
QjetsAdder::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: QjetsAdder.cc:11
QjetsAdder::~QjetsAdder
~QjetsAdder() override
Definition: QjetsAdder.h:31
EventSetup.h
edm::EDProducer
Definition: EDProducer.h:35
QjetsAdder::qjetsAlgo_
QjetsPlugin qjetsAlgo_
Definition: QjetsAdder.h:38
QjetsAdder::jetRad_
double jetRad_
Definition: QjetsAdder.h:41
ParameterSet.h
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:159
QjetsPlugin
Definition: QjetsPlugin.h:8
edm::Event
Definition: Event.h:73
QjetsAdder
Definition: QjetsAdder.h:13
edm::InputTag
Definition: InputTag.h:15
QjetsAdder::QjetsPreclustering_
int QjetsPreclustering_
Definition: QjetsAdder.h:43