File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,14 +136,14 @@ class ToTLUT
136136
137137 bool load (int pdg, const std::string& filename)
138138 {
139- if (filename.empty ()) {
139+ if (filename.empty ()) {
140140 LOG (warning) << " Provided filename is empty for PDG " << pdg;
141141 return false ;
142142 }
143143 if (strncmp (filename.c_str (), " ccdb:" , 5 ) == 0 ) { // Check if filename starts with "ccdb:"
144144 const std::string basePath = std::string (filename).substr (5 );
145145 const std::string outPath = " /tmp/ToTLUTs/" + basePath;
146- const std::string localFilename = outPath + " /snapshot.root" ;
146+ const std::string localFilename = outPath + " /snapshot.root" ;
147147 std::ifstream checkFile (localFilename);
148148 if (!checkFile.is_open ()) { // File is not found, need to download it from CCDB
149149 if (!mCcdbManager ) {
@@ -158,7 +158,7 @@ class ToTLUT
158158 }
159159 testFile.close ();
160160 return load (pdg, localFilename);
161- } else {// File is found, proceed to load it
161+ } else { // File is found, proceed to load it
162162 checkFile.close ();
163163 return load (pdg, localFilename);
164164 }
You can’t perform that action at this time.
0 commit comments