@@ -23,15 +23,17 @@ R__LOAD_LIBRARY(libO2DataFormatsFIT)
2323
2424#endif
2525
26- namespace compare_lut {
26+ namespace compare_lut
27+ {
2728std ::vector < o2 ::fit ::EntryFEE > readLutFromFile (const std ::string filePath , const std ::string objectName )
2829{
2930 TFile file (filePath .c_str (), "READ ");
3031 if (file .IsOpen () == false) {
3132 std ::cerr << "Failed to open " << filePath << std ::endl ;
3233 return {};
3334 }
34- std ::cout << "Successfully opened " << std ::endl << filePath ;
35+ std ::cout << "Successfully opened " << std ::endl
36+ << filePath ;
3537
3638 std ::vector < o2 ::fit ::EntryFEE > * lut = nullptr ;
3739 file .GetObject < std ::vector < o2 ::fit ::EntryFEE >>(objectName .c_str (), lut );
@@ -40,14 +42,14 @@ std::vector<o2::fit::EntryFEE> readLutFromFile(const std::string filePath, const
4042 std ::cerr << "Failed to read object " << objectName << std ::endl ;
4143 return {};
4244 }
43- std ::cout << "Successfully get " << objectName << " object" << std ::endl ;
45+ std ::cout << "Successfully get " << objectName << " object" << std ::endl ;
4446
4547 std ::vector < o2 ::fit ::EntryFEE > lutCopy = * lut ;
4648 file .Close ();
4749
4850 return std ::move (lutCopy );
4951}
50- }
52+ } // namespace compare_lut
5153
5254inline bool operator == (const o2 ::fit ::EntryFEE & lhs , const o2 ::fit ::EntryFEE & rhs )
5355{
@@ -64,7 +66,7 @@ void compareLut(const std::string fileA, const std::string fileB, const bool com
6466{
6567 std ::vector < o2 ::fit ::EntryFEE > lutA = compare_lut ::readLutFromFile (fileA , objectName );
6668 std ::vector < o2 ::fit ::EntryFEE > lutB = compare_lut ::readLutFromFile (fileB , objectName );
67- if (lutA .empty () || lutB .empty ()) {
69+ if (lutA .empty () || lutB .empty ()) {
6870 return ;
6971 }
7072
0 commit comments