File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
CondFormats/L1TObjects/src Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff 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);
Original file line number Diff line number Diff 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);
Original file line number Diff line number Diff 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);
Original file line number Diff line number Diff 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);
Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments