ATLAS Offline Software
AODCollWidget.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Implementation of class AODCollWidget //
9 // //
10 // Author: edward.moyse@cern.ch //
11 // Initial version: June 2015 //
12 // //
14 
15 #include "AODCollWidget.h"
16 
17 #include "VP1Base/VP1Msg.h"
18 
19 //____________________________________________________________________
21 public:
23  static bool sectionSorting(const QString &s1, const QString &s2)
24  {
25  VP1Msg::messageDebug("AODCollWidget::Imp::sectionSorting() - s1: " + s1 + ", s2: " + s2);
26  return true; //FIXME! Don't really care about this for the moment.
27  }
28 };
29 
31 
32 //____________________________________________________________________
33 void AODCollWidget::sortSections(QList<QString>& sections)
34 {
35  Imp::theclass = this;//I guess this is not really threadsafe...
36  std::sort(sections.begin(),sections.end(),Imp::sectionSorting);
37  Imp::theclass = 0;
38 }
ReadCellNoiseFromCoolCompare.s1
s1
Definition: ReadCellNoiseFromCoolCompare.py:378
VP1Msg.h
AODCollWidget.h
AODCollWidget::Imp::theclass
static AODCollWidget * theclass
Definition: AODCollWidget.cxx:22
AODCollWidget::Imp::sectionSorting
static bool sectionSorting(const QString &s1, const QString &s2)
Definition: AODCollWidget.cxx:23
AODCollWidget
Definition: AODCollWidget.h:23
AODCollWidget::sortSections
void sortSections(QList< QString > &)
Definition: AODCollWidget.cxx:33
VP1Msg::messageDebug
static void messageDebug(const QString &)
Definition: VP1Msg.cxx:39
AODCollWidget::Imp
Definition: AODCollWidget.cxx:20
ReadCellNoiseFromCoolCompare.s2
s2
Definition: ReadCellNoiseFromCoolCompare.py:379