EventFilter
GctRawToDigi
plugins
L1GctInternJetProducer.h
Go to the documentation of this file.
1
#ifndef L1ExtraFromDigis_L1GctInternJetProducer_h
2
#define L1ExtraFromDigis_L1GctInternJetProducer_h
3
// -*- C++ -*-
4
//
5
// Package: EventFilter/GctRawToDigi
6
// Class : L1GctInternJetProducer
7
//
16
// user include files
17
#include "
FWCore/Framework/interface/EDProducer.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Framework/interface/EventSetup.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
FWCore/Utilities/interface/InputTag.h
"
22
#include "
FWCore/Utilities/interface/ESGetToken.h
"
23
24
#include "
DataFormats/L1Trigger/interface/L1JetParticle.h
"
25
#include "
DataFormats/L1Trigger/interface/L1JetParticleFwd.h
"
26
#include "
CondFormats/L1TObjects/interface/L1CaloGeometry.h
"
27
#include "
CondFormats/DataRecord/interface/L1CaloGeometryRecord.h
"
28
#include "
CondFormats/L1TObjects/interface/L1CaloEtScale.h
"
29
#include "
CondFormats/DataRecord/interface/L1JetEtScaleRcd.h
"
30
31
// forward declarations
32
class
L1CaloGeometry
;
33
34
class
L1GctInternJetProducer
:
public
edm::EDProducer
{
35
public
:
36
explicit
L1GctInternJetProducer
(
const
edm::ParameterSet
&);
37
~L1GctInternJetProducer
()
override
;
38
39
private
:
40
void
beginJob
()
override
;
41
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
42
void
endJob
()
override
;
43
44
math::PtEtaPhiMLorentzVector
gctLorentzVector
(
const
double
&
et
,
45
const
L1GctCand
&
cand
,
46
const
L1CaloGeometry
*
geom
,
47
bool
central
);
48
49
edm::InputTag
internalJetSource_
;
50
edm::ESGetToken<L1CaloGeometry, L1CaloGeometryRecord>
caloGeomToken_
;
51
edm::ESGetToken<L1CaloEtScale, L1JetEtScaleRcd>
jetScaleToken_
;
52
bool
centralBxOnly_
;
53
};
54
55
#endif
L1GctInternJetProducer::L1GctInternJetProducer
L1GctInternJetProducer(const edm::ParameterSet &)
Definition:
L1GctInternJetProducer.cc:26
EDProducer.h
L1GctInternJetProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
L1GctInternJetProducer.cc:38
central
Definition:
L1ECALPrefiringWeightProducer.cc:36
ESGetToken.h
L1GctInternJetProducer::endJob
void endJob() override
Definition:
L1GctInternJetProducer.cc:90
L1GctInternJetProducer::gctLorentzVector
math::PtEtaPhiMLorentzVector gctLorentzVector(const double &et, const L1GctCand &cand, const L1CaloGeometry *geom, bool central)
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
L1JetParticleFwd.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
L1CaloGeometry
Definition:
L1CaloGeometry.h:33
L1CaloGeometryRecord.h
L1GctInternJetProducer::centralBxOnly_
bool centralBxOnly_
Definition:
L1GctInternJetProducer.h:52
L1GctInternJetProducer::~L1GctInternJetProducer
~L1GctInternJetProducer() override
Definition:
L1GctInternJetProducer.cc:36
cand
Definition:
decayParser.h:32
L1GctInternJetProducer
Definition:
L1GctInternJetProducer.h:34
EgHLTOffHistBins_cfi.et
et
Definition:
EgHLTOffHistBins_cfi.py:8
edm::EventSetup
Definition:
EventSetup.h:57
edm::ESGetToken< L1CaloGeometry, L1CaloGeometryRecord >
L1GctInternJetProducer::internalJetSource_
edm::InputTag internalJetSource_
Definition:
L1GctInternJetProducer.h:49
InputTag.h
L1CaloEtScale.h
L1GctInternJetProducer::beginJob
void beginJob() override
Definition:
L1GctInternJetProducer.cc:88
L1GctCand
ABC for GCT EM and jet candidates.
Definition:
L1GctCand.h:12
EventSetup.h
edm::EDProducer
Definition:
EDProducer.h:35
L1GctInternJetProducer::caloGeomToken_
edm::ESGetToken< L1CaloGeometry, L1CaloGeometryRecord > caloGeomToken_
Definition:
L1GctInternJetProducer.h:50
L1GctInternJetProducer::jetScaleToken_
edm::ESGetToken< L1CaloEtScale, L1JetEtScaleRcd > jetScaleToken_
Definition:
L1GctInternJetProducer.h:51
math::PtEtaPhiMLorentzVector
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition:
LorentzVector.h:25
ParameterSet.h
L1JetEtScaleRcd.h
edm::Event
Definition:
Event.h:73
L1JetParticle.h
L1CaloGeometry.h
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16