ATLAS Offline Software
VP1MissingEtTruthHandle.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Implementation of class VP1MissingEtTruthHandle //
9 // //
10 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
11 // Initial version: July 2008 //
12 // //
14 
19 
21 #include <QStringList>
22 #include <QColor>
23 
24 //____________________________________________________________________
26 {
27  QList<VP1StdCollection*> l;
28  for (QString key : VP1SGContentsHelper(sys).getKeys<MissingEtTruth>()) {
30  col->init();
31  l << col;
32  }
33  return l;
34 }
35 
36 //____________________________________________________________________
38 public:
40 };
41 
42 
43 //____________________________________________________________________
46 {
47 }
48 
49 //____________________________________________________________________
51 {
52  delete m_d;
53 }
54 
55 //____________________________________________________________________
56 QStringList VP1MissingEtTruthHandle::clicked(SoPath*pickedPath) const
57 {
58  //Fixme: add MissingEtTruth specific info.
59  truncateToCollSep(pickedPath);
60  return baseInfo(m_d->metTruth);
61 }
62 
63 //____________________________________________________________________
65 {
66  return QColor::fromRgbF(38./255,49./255,1.0);
67 }
68 
69 //____________________________________________________________________
71 {
73  return false;
74 
76  return true;
77 }
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
VP1MissingEtTruthHandle.h
VP1MissingEtTruthHandle::VP1MissingEtTruthHandle
VP1MissingEtTruthHandle(IVP1System *sys, const QString &key)
Definition: VP1MissingEtTruthHandle.cxx:44
VP1MissingEtTruthHandle::Imp
Definition: VP1MissingEtTruthHandle.cxx:37
VP1MissingEtTruthHandle::m_d
Imp * m_d
Definition: VP1MissingEtTruthHandle.h:41
VP1MaterialButton.h
VP1MissingEtTruthHandle::load
virtual bool load()
Definition: VP1MissingEtTruthHandle.cxx:70
VP1MissingEtHandle::key
QString key() const
Definition: VP1MissingEtHandle.cxx:127
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
VP1MissingEtHandle
Definition: VP1MissingEtHandle.h:36
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
VP1MissingEtTruthHandle::clicked
virtual QStringList clicked(SoPath *) const
Definition: VP1MissingEtTruthHandle.cxx:56
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
VP1MissingEtHandle::baseInfo
QStringList baseInfo(const MissingET *) const
Definition: VP1MissingEtHandle.cxx:205
VP1MissingEtTruthHandle::Imp::metTruth
const MissingET * metTruth
Definition: VP1MissingEtTruthHandle.cxx:39
VP1MissingEtTruthHandle
Definition: VP1MissingEtTruthHandle.h:22
VP1MissingEtTruthHandle::baseCol
virtual QColor baseCol() const
Definition: VP1MissingEtTruthHandle.cxx:64
IVP1System
Definition: IVP1System.h:36
VP1MissingEtTruthHandle::~VP1MissingEtTruthHandle
virtual ~VP1MissingEtTruthHandle()
Definition: VP1MissingEtTruthHandle.cxx:50
VP1HelperClassBase::systemBase
IVP1System * systemBase() const
Definition: VP1HelperClassBase.h:50
VP1MissingEtHandle::truncateToCollSep
void truncateToCollSep(SoPath *) const
Definition: VP1MissingEtHandle.cxx:194
VP1MissingEtHandle::addArrowToCollSep
void addArrowToCollSep(const MissingET *)
Definition: VP1MissingEtHandle.cxx:228
MissingEtTruth.h
VP1SGContentsHelper
Definition: VP1SGContentsHelper.h:26
query_example.col
col
Definition: query_example.py:7
MissingET
Definition: Reconstruction/MissingETEvent/MissingETEvent/MissingET.h:23
VP1SGAccessHelper
Definition: VP1SGAccessHelper.h:25
VP1MissingEtTruthHandle::createCollections
static QList< VP1StdCollection * > createCollections(IVP1System *sys)
Definition: VP1MissingEtTruthHandle.cxx:25
VP1SGAccessHelper.h
VP1SGContentsHelper.h
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37