ATLAS Offline Software
Loading...
Searching...
No Matches
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
19
20#include <QSet>
21
23
25
26 Q_OBJECT
27
28public:
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:
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();
67private:
68 class Imp;
70 void create(StoreGateSvc* detstore);
71 void refresh(StoreGateSvc* storegate);
72 void erase();
73 void uncreate();
74};
75
76
77
78#endif
void refresh(StoreGateSvc *storegate)
virtual void systemcreate(StoreGateSvc *detstore)
virtual void buildPermanentItemCollections(StoreGateSvc *detstore, VP1GraphicsItemCollection *ic_xy, VP1GraphicsItemCollection *ic_rz)
virtual QWidget * buildController()
QSet< VP1GraphicsItemCollection * > getItemCollections_RZ() const
QSet< VP1GraphicsItemCollection * > getItemCollections_XY() const
void create(StoreGateSvc *detstore)
virtual void buildEventItemCollections(StoreGateSvc *sg, VP1GraphicsItemCollection *ic_xy, VP1GraphicsItemCollection *ic_rz)
IVP12DDetViewsSystem(const QString &name, const QString &information, const QString &contact_info)
IVP12DSystem(const QString &name, const QString &information, const QString &contact_info)
const QString & name() const
const QString & information() const
const QString & contact_info() const
The Athena Transient Store API.