L1Trigger
L1TCommon
plugins
L1TMuonLegacyConverter.h
Go to the documentation of this file.
1
#ifndef L1TCommon_L1TMuonLegacyConverter_h
2
#define L1TCommon_L1TMuonLegacyConverter_h
3
// -*- C++ -*-
4
//
5
// Package: L1TCommon
6
// Class : L1TMuonLegacyConverter
7
//
13
//
14
// Original Author: Pierluigi Bortignon
15
// Created: Sun March 6 2016
16
//
17
18
// system include files
19
20
// user include files
21
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/Framework/interface/EventSetup.h
"
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
25
#include "
FWCore/Utilities/interface/InputTag.h
"
26
27
// #include "DataFormats/L1Trigger/interface/L1EmParticle.h"
28
// #include "DataFormats/L1Trigger/interface/L1EmParticleFwd.h"
29
// #include "DataFormats/L1Trigger/interface/L1JetParticle.h"
30
// #include "DataFormats/L1Trigger/interface/L1JetParticleFwd.h"
31
#include "
DataFormats/L1Trigger/interface/L1MuonParticle.h
"
32
#include "
DataFormats/L1Trigger/interface/L1MuonParticleFwd.h
"
33
// #include "DataFormats/L1Trigger/interface/L1EtMissParticle.h"
34
// #include "DataFormats/L1Trigger/interface/L1EtMissParticleFwd.h"
35
// #include "DataFormats/L1Trigger/interface/L1HFRings.h"
36
// #include "DataFormats/L1Trigger/interface/L1HFRingsFwd.h"
37
#include "
DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTReadoutCollection.h
"
38
39
//include new muon data format
40
#include "
DataFormats/L1Trigger/interface/Muon.h
"
41
42
// forward declarations
43
class
L1CaloGeometry
;
44
45
class
L1TMuonLegacyConverter
:
public
edm::stream::EDProducer
<> {
46
public
:
47
explicit
L1TMuonLegacyConverter
(
const
edm::ParameterSet
&);
48
~L1TMuonLegacyConverter
()
override
;
49
50
private
:
51
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
52
53
// // math::XYZTLorentzVector gctLorentzVector( const double& et,
54
// math::PtEtaPhiMLorentzVector gctLorentzVector( const double& et,
55
// const L1GctCand& cand,
56
// const L1CaloGeometry* geom,
57
// bool central ) ;
58
59
// ----------member data ---------------------------
60
bool
produceMuonParticles_
;
61
edm::InputTag
muonSource_InputTag
;
62
edm::EDGetTokenT<L1MuGMTReadoutCollection>
muonSource_InputToken
;
63
64
// bool produceCaloParticles_ ;
65
// edm::InputTag isoEmSource_ ;
66
// edm::InputTag nonIsoEmSource_ ;
67
// edm::InputTag cenJetSource_ ;
68
// edm::InputTag forJetSource_ ;
69
// edm::InputTag tauJetSource_ ;
70
// edm::InputTag isoTauJetSource_ ;
71
// edm::InputTag etTotSource_ ;
72
// edm::InputTag etHadSource_ ;
73
// edm::InputTag etMissSource_ ;
74
// edm::InputTag htMissSource_ ;
75
// edm::InputTag hfRingEtSumsSource_ ;
76
// edm::InputTag hfRingBitCountsSource_ ;
77
78
static
const
double
muonMassGeV_
;
79
80
bool
centralBxOnly_
;
81
82
// Set this to true when rerunning on RAW data where the GCT did not
83
// produce a L1GctHtMiss record.
84
bool
ignoreHtMiss_
;
85
};
86
87
#endif
L1MuonParticleFwd.h
edm::EDGetTokenT< L1MuGMTReadoutCollection >
L1TMuonLegacyConverter::muonSource_InputTag
edm::InputTag muonSource_InputTag
Definition:
L1TMuonLegacyConverter.h:61
L1MuGMTReadoutCollection.h
Muon.h
L1TMuonLegacyConverter::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
L1TMuonLegacyConverter.cc:87
EDProducer.h
L1TMuonLegacyConverter
Definition:
L1TMuonLegacyConverter.h:45
L1TMuonLegacyConverter::ignoreHtMiss_
bool ignoreHtMiss_
Definition:
L1TMuonLegacyConverter.h:84
L1TMuonLegacyConverter::L1TMuonLegacyConverter
L1TMuonLegacyConverter(const edm::ParameterSet &)
Definition:
L1TMuonLegacyConverter.cc:65
L1TMuonLegacyConverter::~L1TMuonLegacyConverter
~L1TMuonLegacyConverter() override
Definition:
L1TMuonLegacyConverter.cc:77
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
L1CaloGeometry
Definition:
L1CaloGeometry.h:33
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
InputTag.h
L1TMuonLegacyConverter::muonMassGeV_
static const double muonMassGeV_
Definition:
L1TMuonLegacyConverter.h:78
L1MuonParticle.h
EventSetup.h
L1TMuonLegacyConverter::produceMuonParticles_
bool produceMuonParticles_
Definition:
L1TMuonLegacyConverter.h:60
ParameterSet.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
L1TMuonLegacyConverter::muonSource_InputToken
edm::EDGetTokenT< L1MuGMTReadoutCollection > muonSource_InputToken
Definition:
L1TMuonLegacyConverter.h:62
L1TMuonLegacyConverter::centralBxOnly_
bool centralBxOnly_
Definition:
L1TMuonLegacyConverter.h:80
Generated for CMSSW Reference Manual by
1.8.16