ATLAS Offline Software
IVP12DDetViewsSystem.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // //
7 // Header file for class IVP12DDetViewsSystem //
8 // //
9 // Author: Thomas Kittelmann <Thomas.Kittelmann@cern.ch> //
10 // //
11 // Initial version: July 2007 //
12 // //
14 
15 #ifndef IVP12DDETVIEWSSYSTEM_H
16 #define IVP12DDETVIEWSSYSTEM_H
17 
18 #include "VP1Base/IVP12DSystem.h"
19 
20 #include <QSet>
21 
23 
25 
26  Q_OBJECT
27 
28 public:
29 
34 
35  IVP12DDetViewsSystem(const QString & name, const QString & information, const QString & contact_info);
36 
37  virtual void systemcreate(StoreGateSvc* detstore);//Optional.
38 
39  //If you need a controller - create it and return it from a reimplementation of this method (it will only be called once).
40  virtual QWidget * buildController();
41 
42  //If some items should be visible for the entire run, reimplement:
43  virtual void buildPermanentItemCollections( StoreGateSvc* detstore,
46 
47  //Reimplement and add the items for a given event, based on the contents of storegate:
48  virtual void buildEventItemCollections( StoreGateSvc *sg,
51 
52  virtual void systemerase();//Optional - for erasing maps etc. with event data.
53 
54  virtual void systemuncreate();//Optional.
55 
56 
57  //This is the interesting bit for channels using this system:
58  QSet<VP1GraphicsItemCollection*> getItemCollections_XY() const;
59  QSet<VP1GraphicsItemCollection*> getItemCollections_RZ() const;
60 
65 
66  virtual ~IVP12DDetViewsSystem();
67 private:
68  class Imp;
69  Imp * m_d;
70  void create(StoreGateSvc* detstore);
71  void refresh(StoreGateSvc* storegate);
72  void erase();
73  void uncreate();
74 };
75 
76 
77 
78 #endif
IVP12DSystem.h
IVP1System::information
const QString & information() const
Definition: IVP1System.cxx:56
IVP12DDetViewsSystem::getItemCollections_XY
QSet< VP1GraphicsItemCollection * > getItemCollections_XY() const
Definition: IVP12DDetViewsSystem.cxx:157
IVP12DDetViewsSystem::Imp
Definition: IVP12DDetViewsSystem.cxx:29
IVP12DSystem
Definition: IVP12DSystem.h:25
IVP12DDetViewsSystem::buildPermanentItemCollections
virtual void buildPermanentItemCollections(StoreGateSvc *detstore, VP1GraphicsItemCollection *ic_xy, VP1GraphicsItemCollection *ic_rz)
Definition: IVP12DDetViewsSystem.cxx:21
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
IVP12DDetViewsSystem::refresh
void refresh(StoreGateSvc *storegate)
Definition: IVP12DDetViewsSystem.cxx:93
IVP12DDetViewsSystem::m_d
Imp * m_d
Definition: IVP12DDetViewsSystem.h:68
IVP12DDetViewsSystem::getItemCollections_RZ
QSet< VP1GraphicsItemCollection * > getItemCollections_RZ() const
Definition: IVP12DDetViewsSystem.cxx:166
IVP1System::name
const QString & name() const
Definition: IVP1System.cxx:50
IVP12DDetViewsSystem::systemcreate
virtual void systemcreate(StoreGateSvc *detstore)
Definition: IVP12DDetViewsSystem.cxx:19
IVP12DDetViewsSystem::buildController
virtual QWidget * buildController()
Definition: IVP12DDetViewsSystem.cxx:20
IVP1System::contact_info
const QString & contact_info() const
Definition: IVP1System.cxx:62
IVP12DDetViewsSystem::uncreate
void uncreate()
Definition: IVP12DDetViewsSystem.cxx:133
IVP12DDetViewsSystem::buildEventItemCollections
virtual void buildEventItemCollections(StoreGateSvc *sg, VP1GraphicsItemCollection *ic_xy, VP1GraphicsItemCollection *ic_rz)
Definition: IVP12DDetViewsSystem.cxx:23
IVP12DDetViewsSystem::IVP12DDetViewsSystem
IVP12DDetViewsSystem(const QString &name, const QString &information, const QString &contact_info)
Definition: IVP12DDetViewsSystem.cxx:40
IVP12DDetViewsSystem::erase
void erase()
Definition: IVP12DDetViewsSystem.cxx:122
IVP12DDetViewsSystem
Definition: IVP12DDetViewsSystem.h:24
IVP12DDetViewsSystem::~IVP12DDetViewsSystem
virtual ~IVP12DDetViewsSystem()
Definition: IVP12DDetViewsSystem.cxx:58
IVP12DDetViewsSystem::systemuncreate
virtual void systemuncreate()
Definition: IVP12DDetViewsSystem.cxx:25
VP1GraphicsItemCollection
Definition: VP1GraphicsItemCollection.h:53
IVP12DDetViewsSystem::systemerase
virtual void systemerase()
Definition: IVP12DDetViewsSystem.cxx:26
IVP12DDetViewsSystem::create
void create(StoreGateSvc *detstore)
Definition: IVP12DDetViewsSystem.cxx:64