@@ -815,9 +815,9 @@ void TrackerMap::save(bool print_total, float minval, float maxval, std::string
815815 std::string filetype = s, outputfilename = s;
816816 std::vector<TPolyLine *> vp;
817817 TGaxis *axis = nullptr ;
818- size_t found = filetype.find_last_of (" . " );
818+ size_t found = filetype.find_last_of (' . ' );
819819 filetype = filetype.substr (found + 1 );
820- found = outputfilename.find_last_of (" . " );
820+ found = outputfilename.find_last_of (' . ' );
821821 outputfilename = outputfilename.substr (0 , found);
822822 // outputfilename.erase(outputfilename.begin()+outputfilename.find("."),outputfilename.end());
823823 temporary_file = true ;
@@ -1692,9 +1692,9 @@ void TrackerMap::save_as_fectrackermap(
16921692 std::string filetype = s, outputfilename = s;
16931693 std::vector<TPolyLine *> vp;
16941694 TGaxis *axis = nullptr ;
1695- size_t found = filetype.find_last_of (" . " );
1695+ size_t found = filetype.find_last_of (' . ' );
16961696 filetype = filetype.substr (found + 1 );
1697- found = outputfilename.find_last_of (" . " );
1697+ found = outputfilename.find_last_of (' . ' );
16981698 outputfilename = outputfilename.substr (0 , found);
16991699 temporary_file = true ;
17001700 if (filetype == " xml" || filetype == " svg" )
@@ -1980,9 +1980,9 @@ void TrackerMap::save_as_HVtrackermap(
19801980 std::string filetype = s, outputfilename = s;
19811981 std::vector<TPolyLine *> vp;
19821982 TGaxis *axis = nullptr ;
1983- size_t found = filetype.find_last_of (" . " );
1983+ size_t found = filetype.find_last_of (' . ' );
19841984 filetype = filetype.substr (found + 1 );
1985- found = outputfilename.find_last_of (" . " );
1985+ found = outputfilename.find_last_of (' . ' );
19861986 outputfilename = outputfilename.substr (0 , found);
19871987
19881988 temporary_file = true ;
@@ -2304,9 +2304,9 @@ void TrackerMap::save_as_psutrackermap(
23042304 std::vector<TPolyLine *> vp;
23052305 TGaxis *axis = nullptr ;
23062306
2307- size_t found = filetype.find_last_of (" . " );
2307+ size_t found = filetype.find_last_of (' . ' );
23082308 filetype = filetype.substr (found + 1 );
2309- found = outputfilename.find_last_of (" . " );
2309+ found = outputfilename.find_last_of (' . ' );
23102310 outputfilename = outputfilename.substr (0 , found);
23112311
23122312 temporary_file = true ;
@@ -2610,9 +2610,9 @@ void TrackerMap::save_as_fedtrackermap(
26102610 std::vector<TPolyLine *> vp;
26112611 TGaxis *axis = nullptr ;
26122612
2613- size_t found = filetype.find_last_of (" . " );
2613+ size_t found = filetype.find_last_of (' . ' );
26142614 filetype = filetype.substr (found + 1 );
2615- found = outputfilename.find_last_of (" . " );
2615+ found = outputfilename.find_last_of (' . ' );
26162616 outputfilename = outputfilename.substr (0 , found);
26172617
26182618 temporary_file = true ;
@@ -2915,14 +2915,14 @@ void TrackerMap::load(std::string inputfilename) {
29152915 ipos1 = line.find (" value=\" " );
29162916 if (ipos1 > 0 ) {
29172917 value = line.substr (ipos1 + 7 , 10 );
2918- ipos = value.find (" \" " );
2918+ ipos = value.find (' \" ' );
29192919 value = value.substr (0 , ipos);
29202920 val = atoi (value.c_str ());
29212921 }
29222922 ipos2 = line.find (" detid=\" " );
29232923 if (ipos2 > 0 ) {
29242924 value = line.substr (ipos2 + 7 , 10 );
2925- ipos = value.find (" \" " );
2925+ ipos = value.find (' \" ' );
29262926 value = value.substr (0 , ipos);
29272927 id = atoi (value.c_str ());
29282928 }
@@ -3764,9 +3764,9 @@ void TrackerMap::printall(bool print_total, float minval1, float maxval1, std::s
37643764 width = 6000 ;
37653765 height = 3200 ;
37663766 } else {
3767- size_t found = filetype.find_last_of (" . " );
3767+ size_t found = filetype.find_last_of (' . ' );
37683768 filetype = filetype.substr (found + 1 );
3769- found = outputfilename.find_last_of (" . " );
3769+ found = outputfilename.find_last_of (' . ' );
37703770 outputfilename = outputfilename.substr (0 , found);
37713771 }
37723772 std::ofstream *ofilename;
0 commit comments