L1Trigger
CSCTrackFinder
plugins
CSCTFanalyzer.h
Go to the documentation of this file.
1
#ifndef CSCTFAnalyzer_h
2
#define CSCTFAnalyzer_h
3
4
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
DataFormats/Common/interface/Handle.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/Framework/interface/EventSetup.h
"
9
#include "
FWCore/Framework/interface/ESHandle.h
"
10
#include "
FWCore/Utilities/interface/ESGetToken.h
"
11
#include "
FWCore/Utilities/interface/InputTag.h
"
12
#include "
CondFormats/L1TObjects/interface/L1MuTriggerScales.h
"
13
#include "
CondFormats/DataRecord/interface/L1MuTriggerScalesRcd.h
"
14
15
#include "TTree.h"
16
#include "TFile.h"
17
18
class
CSCTFanalyzer
:
public
edm::EDAnalyzer
{
19
private
:
20
edm::InputTag
lctProducer
,
mbProducer
,
dataTrackProducer
,
emulTrackProducer
;
21
edm::ESGetToken<L1MuTriggerScales, L1MuTriggerScalesRcd>
scalesToken
;
22
TTree*
tree
;
23
TFile*
file
;
24
int
nDataMuons
,
nEmulMuons
,
verbose
;
25
double
dphi1
,
deta1
;
26
int
dpt1
,
dch1
,
dbx1
;
27
double
dphi2
,
deta2
;
28
int
dpt2
,
dch2
,
dbx2
;
29
double
dphi3
,
deta3
;
30
int
dpt3
,
dch3
,
dbx3
;
31
int
drank1
,
drank2
,
drank3
;
32
int
dmode1
,
dmode2
,
dmode3
;
33
int
dlcts1
,
dlcts2
,
dlcts3
;
34
double
ephi1
,
eeta1
;
35
int
ept1
,
ech1
,
ebx1
;
36
double
ephi2
,
eeta2
;
37
int
ept2
,
ech2
,
ebx2
;
38
double
ephi3
,
eeta3
;
39
int
ept3
,
ech3
,
ebx3
;
40
int
erank1
,
erank2
,
erank3
;
41
int
emode1
,
emode2
,
emode3
;
42
43
const
L1MuTriggerScales
*
ts
;
44
45
public
:
46
void
analyze
(
edm::Event
const
&
e
,
edm::EventSetup
const
& iSetup)
override
;
47
void
endJob
(
void
)
override
;
48
void
beginJob
()
override
{}
49
50
explicit
CSCTFanalyzer
(
edm::ParameterSet
const
&
pset
);
51
~CSCTFanalyzer
(
void
)
override
{}
52
};
53
54
#endif
CSCTFanalyzer::verbose
int verbose
Definition:
CSCTFanalyzer.h:24
CSCTFanalyzer::erank2
int erank2
Definition:
CSCTFanalyzer.h:40
CSCTFanalyzer::dch2
int dch2
Definition:
CSCTFanalyzer.h:28
Handle.h
CSCTFanalyzer::ebx1
int ebx1
Definition:
CSCTFanalyzer.h:35
CSCTFanalyzer::erank3
int erank3
Definition:
CSCTFanalyzer.h:40
CSCTFanalyzer::ech1
int ech1
Definition:
CSCTFanalyzer.h:35
CSCTFanalyzer::ebx3
int ebx3
Definition:
CSCTFanalyzer.h:39
CSCTFanalyzer::ech3
int ech3
Definition:
CSCTFanalyzer.h:39
ESHandle.h
CSCTFanalyzer::drank3
int drank3
Definition:
CSCTFanalyzer.h:31
CSCTFanalyzer::ephi1
double ephi1
Definition:
CSCTFanalyzer.h:34
CSCTFanalyzer::scalesToken
edm::ESGetToken< L1MuTriggerScales, L1MuTriggerScalesRcd > scalesToken
Definition:
CSCTFanalyzer.h:21
CSCTFanalyzer::emulTrackProducer
edm::InputTag emulTrackProducer
Definition:
CSCTFanalyzer.h:20
CSCTFanalyzer::emode3
int emode3
Definition:
CSCTFanalyzer.h:41
CSCTFanalyzer::deta3
double deta3
Definition:
CSCTFanalyzer.h:29
CSCTFanalyzer::eeta2
double eeta2
Definition:
CSCTFanalyzer.h:36
CSCTFanalyzer::ept1
int ept1
Definition:
CSCTFanalyzer.h:35
EDAnalyzer.h
L1MuTriggerScalesRcd.h
CSCTFanalyzer::endJob
void endJob(void) override
Definition:
CSCTFanalyzer.cc:69
CSCTFanalyzer::emode1
int emode1
Definition:
CSCTFanalyzer.h:41
CSCTFanalyzer::drank1
int drank1
Definition:
CSCTFanalyzer.h:31
CSCTFanalyzer
Definition:
CSCTFanalyzer.h:18
ESGetToken.h
CSCTFanalyzer::file
TFile * file
Definition:
CSCTFanalyzer.h:23
CSCTFanalyzer::ts
const L1MuTriggerScales * ts
Definition:
CSCTFanalyzer.h:43
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
CSCTFanalyzer::dch1
int dch1
Definition:
CSCTFanalyzer.h:26
CSCTFanalyzer::CSCTFanalyzer
CSCTFanalyzer(edm::ParameterSet const &pset)
Definition:
CSCTFanalyzer.cc:8
CSCTFanalyzer::dphi3
double dphi3
Definition:
CSCTFanalyzer.h:29
CSCTFanalyzer::~CSCTFanalyzer
~CSCTFanalyzer(void) override
Definition:
CSCTFanalyzer.h:51
CSCTFanalyzer::mbProducer
edm::InputTag mbProducer
Definition:
CSCTFanalyzer.h:20
CSCTFanalyzer::dlcts2
int dlcts2
Definition:
CSCTFanalyzer.h:33
CSCTFanalyzer::deta1
double deta1
Definition:
CSCTFanalyzer.h:25
CSCTFanalyzer::dmode2
int dmode2
Definition:
CSCTFanalyzer.h:32
CSCTFanalyzer::ephi3
double ephi3
Definition:
CSCTFanalyzer.h:38
CSCTFanalyzer::dch3
int dch3
Definition:
CSCTFanalyzer.h:30
CSCTFanalyzer::dlcts3
int dlcts3
Definition:
CSCTFanalyzer.h:33
CSCTFanalyzer::dataTrackProducer
edm::InputTag dataTrackProducer
Definition:
CSCTFanalyzer.h:20
CSCTFanalyzer::dmode3
int dmode3
Definition:
CSCTFanalyzer.h:32
CSCTFanalyzer::beginJob
void beginJob() override
Definition:
CSCTFanalyzer.h:48
CSCTFanalyzer::emode2
int emode2
Definition:
CSCTFanalyzer.h:41
CSCTFanalyzer::ech2
int ech2
Definition:
CSCTFanalyzer.h:37
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCTFanalyzer::ept2
int ept2
Definition:
CSCTFanalyzer.h:37
CSCTFanalyzer::ephi2
double ephi2
Definition:
CSCTFanalyzer.h:36
CSCTFanalyzer::lctProducer
edm::InputTag lctProducer
Definition:
CSCTFanalyzer.h:20
Event.h
CSCTFanalyzer::dphi2
double dphi2
Definition:
CSCTFanalyzer.h:27
CSCTFanalyzer::tree
TTree * tree
Definition:
CSCTFanalyzer.h:22
CSCTFanalyzer::dpt1
int dpt1
Definition:
CSCTFanalyzer.h:26
CSCTFanalyzer::dbx2
int dbx2
Definition:
CSCTFanalyzer.h:28
CSCTFanalyzer::analyze
void analyze(edm::Event const &e, edm::EventSetup const &iSetup) override
Definition:
CSCTFanalyzer.cc:75
L1MuTriggerScales.h
edm::EventSetup
Definition:
EventSetup.h:58
CSCTFanalyzer::dpt2
int dpt2
Definition:
CSCTFanalyzer.h:28
L1MuTriggerScales
Definition:
L1MuTriggerScales.h:33
edm::ESGetToken< L1MuTriggerScales, L1MuTriggerScalesRcd >
CSCTFanalyzer::dbx1
int dbx1
Definition:
CSCTFanalyzer.h:26
InputTag.h
CSCTFanalyzer::nEmulMuons
int nEmulMuons
Definition:
CSCTFanalyzer.h:24
CSCTFanalyzer::dbx3
int dbx3
Definition:
CSCTFanalyzer.h:30
CSCTFanalyzer::eeta3
double eeta3
Definition:
CSCTFanalyzer.h:38
CSCTFanalyzer::ept3
int ept3
Definition:
CSCTFanalyzer.h:39
CSCTFanalyzer::dphi1
double dphi1
Definition:
CSCTFanalyzer.h:25
CSCTFanalyzer::eeta1
double eeta1
Definition:
CSCTFanalyzer.h:34
CSCTFanalyzer::deta2
double deta2
Definition:
CSCTFanalyzer.h:27
CSCTFanalyzer::dlcts1
int dlcts1
Definition:
CSCTFanalyzer.h:33
EventSetup.h
ParameterSet.h
CSCTFanalyzer::dpt3
int dpt3
Definition:
CSCTFanalyzer.h:30
CSCTFanalyzer::drank2
int drank2
Definition:
CSCTFanalyzer.h:31
edm::Event
Definition:
Event.h:73
CSCTFanalyzer::ebx2
int ebx2
Definition:
CSCTFanalyzer.h:37
CSCTFanalyzer::nDataMuons
int nDataMuons
Definition:
CSCTFanalyzer.h:24
CSCTFanalyzer::dmode1
int dmode1
Definition:
CSCTFanalyzer.h:32
edm::InputTag
Definition:
InputTag.h:15
CSCTFanalyzer::erank1
int erank1
Definition:
CSCTFanalyzer.h:40
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16