src
L1Trigger
L1TMuonEndCapPhase2
src
EMTFConfiguration.cc
Go to the documentation of this file.
1
#include <string>
2
3
#include "
FWCore/Framework/interface/Event.h
"
4
#include "
FWCore/Framework/interface/EventSetup.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
7
#include "
L1Trigger/L1TMuonEndCapPhase2/interface/EMTFConfiguration.h
"
8
9
using namespace
emtf::phase2
;
10
11
EMTFConfiguration::EMTFConfiguration
(
const
edm::ParameterSet
&
pset
) {
12
verbosity_
=
pset
.getUntrackedParameter<
int
>(
"Verbosity"
);
13
14
// Validation
15
validation_dir_
=
pset
.getParameter<
std::string
>(
"ValidationDirectory"
);
16
17
// Neural Network
18
prompt_graph_path_
=
pset
.getParameter<
std::string
>(
"PromptGraphPath"
);
19
displ_graph_path_
=
pset
.getParameter<
std::string
>(
"DisplacedGraphPath"
);
20
21
// Trigger
22
min_bx_
=
pset
.getParameter<
int
>(
"MinBX"
);
23
max_bx_
=
pset
.getParameter<
int
>(
"MaxBX"
);
24
bx_window_
=
pset
.getParameter<
int
>(
"BXWindow"
);
25
26
// Subsystems
27
csc_en_
=
pset
.getParameter<
bool
>(
"CSCEnabled"
);
28
rpc_en_
=
pset
.getParameter<
bool
>(
"RPCEnabled"
);
29
gem_en_
=
pset
.getParameter<
bool
>(
"GEMEnabled"
);
30
me0_en_
=
pset
.getParameter<
bool
>(
"ME0Enabled"
);
31
ge0_en_
=
pset
.getParameter<
bool
>(
"GE0Enabled"
);
32
33
csc_bx_shift_
=
pset
.getParameter<
int
>(
"CSCInputBXShift"
);
34
rpc_bx_shift_
=
pset
.getParameter<
int
>(
"RPCInputBXShift"
);
35
gem_bx_shift_
=
pset
.getParameter<
int
>(
"GEMInputBXShift"
);
36
me0_bx_shift_
=
pset
.getParameter<
int
>(
"ME0InputBXShift"
);
37
38
csc_input_
=
pset
.getParameter<
edm::InputTag
>(
"CSCInput"
);
39
rpc_input_
=
pset
.getParameter<
edm::InputTag
>(
"RPCInput"
);
40
gem_input_
=
pset
.getParameter<
edm::InputTag
>(
"GEMInput"
);
41
me0_input_
=
pset
.getParameter<
edm::InputTag
>(
"ME0Input"
);
42
ge0_input_
=
pset
.getParameter<
edm::InputTag
>(
"GE0Input"
);
43
44
// Primitive Selection
45
include_neighbor_en_
=
pset
.getParameter<
bool
>(
"IncludeNeighborEnabled"
);
46
}
47
48
EMTFConfiguration::~EMTFConfiguration
() {}
49
50
void
EMTFConfiguration::update
(
const
edm::Event
& i_event,
const
edm::EventSetup
& i_event_setup) {
51
// Do Nothing
52
}
emtf::phase2::EMTFConfiguration::me0_en_
bool me0_en_
Definition:
EMTFConfiguration.h:38
emtf::phase2::EMTFConfiguration::gem_bx_shift_
int gem_bx_shift_
Definition:
EMTFConfiguration.h:43
emtf::phase2::EMTFConfiguration::min_bx_
int min_bx_
Definition:
EMTFConfiguration.h:30
emtf::phase2::EMTFConfiguration::update
void update(const edm::Event &, const edm::EventSetup &)
Definition:
EMTFConfiguration.cc:50
Event.h
EventSetup.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
emtf::phase2::EMTFConfiguration::gem_input_
edm::InputTag gem_input_
Definition:
EMTFConfiguration.h:48
emtf::phase2::EMTFConfiguration::rpc_en_
bool rpc_en_
Definition:
EMTFConfiguration.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
emtf::phase2::EMTFConfiguration::rpc_input_
edm::InputTag rpc_input_
Definition:
EMTFConfiguration.h:47
emtf::phase2::EMTFConfiguration::verbosity_
int verbosity_
Definition:
EMTFConfiguration.h:20
emtf::phase2::EMTFConfiguration::gem_en_
bool gem_en_
Definition:
EMTFConfiguration.h:37
emtf::phase2::EMTFConfiguration::me0_input_
edm::InputTag me0_input_
Definition:
EMTFConfiguration.h:49
emtf::phase2
emtf::phase2::EMTFConfiguration::displ_graph_path_
std::string displ_graph_path_
Definition:
EMTFConfiguration.h:27
emtf::phase2::EMTFConfiguration::csc_bx_shift_
int csc_bx_shift_
Definition:
EMTFConfiguration.h:41
EMTFConfiguration.h
emtf::phase2::EMTFConfiguration::ge0_input_
edm::InputTag ge0_input_
Definition:
EMTFConfiguration.h:50
edm::EventSetup
Definition:
EventSetup.h:56
emtf::phase2::EMTFConfiguration::EMTFConfiguration
EMTFConfiguration(const edm::ParameterSet &)
Definition:
EMTFConfiguration.cc:11
emtf::phase2::EMTFConfiguration::~EMTFConfiguration
~EMTFConfiguration()
Definition:
EMTFConfiguration.cc:48
emtf::phase2::EMTFConfiguration::ge0_en_
bool ge0_en_
Definition:
EMTFConfiguration.h:39
emtf::phase2::EMTFConfiguration::csc_input_
edm::InputTag csc_input_
Definition:
EMTFConfiguration.h:46
emtf::phase2::EMTFConfiguration::validation_dir_
std::string validation_dir_
Definition:
EMTFConfiguration.h:23
edm::InputTag
Definition:
InputTag.h:15
emtf::phase2::EMTFConfiguration::csc_en_
bool csc_en_
Definition:
EMTFConfiguration.h:35
emtf::phase2::EMTFConfiguration::prompt_graph_path_
std::string prompt_graph_path_
Definition:
EMTFConfiguration.h:26
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
emtf::phase2::EMTFConfiguration::max_bx_
int max_bx_
Definition:
EMTFConfiguration.h:31
emtf::phase2::EMTFConfiguration::include_neighbor_en_
bool include_neighbor_en_
Definition:
EMTFConfiguration.h:53
emtf::phase2::EMTFConfiguration::rpc_bx_shift_
int rpc_bx_shift_
Definition:
EMTFConfiguration.h:42
emtf::phase2::EMTFConfiguration::me0_bx_shift_
int me0_bx_shift_
Definition:
EMTFConfiguration.h:44
emtf::phase2::EMTFConfiguration::bx_window_
int bx_window_
Definition:
EMTFConfiguration.h:32
Generated for CMSSW Reference Manual by
1.8.14