Skip to content

Commit 0e08584

Browse files
committed
[ALCA-DB-L1] Apply code checks/format
1 parent b205513 commit 0e08584

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

CondFormats/L1TObjects/src/L1MuDTEtaPatternLut.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ int L1MuDTEtaPatternLut::load() {
7878

7979
// assemble file name
8080
edm::FileInPath lut_f = edm::FileInPath(string(defaultPath + eau_dir + "ETFPatternList.lut"));
81-
string etf_file = lut_f.fullPath();
81+
const string& etf_file = lut_f.fullPath();
8282

8383
// open file
8484
L1TriggerLutFile file(etf_file);

CondFormats/L1TObjects/src/L1MuDTExtLut.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ int L1MuDTExtLut::load() {
141141

142142
// assemble file name
143143
edm::FileInPath lut_f = edm::FileInPath(string(defaultPath + ext_dir + ext_str + ".lut"));
144-
string ext_file = lut_f.fullPath();
144+
const string& ext_file = lut_f.fullPath();
145145

146146
// open file
147147
L1TriggerLutFile file(ext_file);

CondFormats/L1TObjects/src/L1MuDTPhiLut.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ int L1MuDTPhiLut::load() {
110110

111111
// assemble file name
112112
edm::FileInPath lut_f = edm::FileInPath(string(defaultPath + phi_dir + phi_str + ".lut"));
113-
string phi_file = lut_f.fullPath();
113+
const string& phi_file = lut_f.fullPath();
114114

115115
// open file
116116
L1TriggerLutFile file(phi_file);

CondFormats/L1TObjects/src/L1MuDTPtaLut.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ int L1MuDTPtaLut::load() {
221221

222222
// assemble file name
223223
edm::FileInPath lut_f = edm::FileInPath(string(defaultPath + pta_dir + pta_str + ".lut"));
224-
string pta_file = lut_f.fullPath();
224+
const string& pta_file = lut_f.fullPath();
225225

226226
// open file
227227
L1TriggerLutFile file(pta_file);

CondFormats/L1TObjects/src/L1MuDTQualPatternLut.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ int L1MuDTQualPatternLut::load() {
118118

119119
// assemble file name
120120
edm::FileInPath lut_f = edm::FileInPath(string(defaultPath + eau_dir + emu_str + ".lut"));
121-
string emu_file = lut_f.fullPath();
121+
const string& emu_file = lut_f.fullPath();
122122

123123
// open file
124124
L1TriggerLutFile file(emu_file);

0 commit comments

Comments
 (0)