ATLAS Offline Software
PRDCollHandle_TGC.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PRDCOLLHANDLE_TGC_H
6 #define PRDCOLLHANDLE_TGC_H
7 
9 
11 
12  Q_OBJECT
13 
14 public:
15 
16  static QStringList availableCollections(IVP1System*);//For the collection widget.
17 
18  PRDCollHandle_TGC(PRDSysCommonData *,const QString& key);
19  virtual ~PRDCollHandle_TGC();
20 
21  bool project() const { return m_project; }
22 
23 public Q_SLOTS:
24  void setProjectionMode( bool );
25 
26 protected:
27  virtual PRDHandleBase * addPRD(const Trk::PrepRawData*) override;
28  virtual bool cut(PRDHandleBase*) override { return true; }//accept all
30  virtual float lodArea() const override { return 1000.0f*1000.0f; }
31  virtual QColor defaultColor() const override;
32 
33 private:
34  class Imp;
35  Imp * m_d;
36 
37  //Here for inlines:
38  bool m_project;
39 };
40 
41 #endif
PRDCollHandleBase.h
PRDCollHandle_TGC::m_project
bool m_project
Definition: PRDCollHandle_TGC.h:38
PRDCollHandle_TGC::Imp
Definition: PRDCollHandle_TGC.cxx:23
PRDCollHandle_TGC::defaultColor
virtual QColor defaultColor() const override
Definition: PRDCollHandle_TGC.cxx:47
PRDCollHandle_TGC::~PRDCollHandle_TGC
virtual ~PRDCollHandle_TGC()
Definition: PRDCollHandle_TGC.cxx:41
PRDCollHandle_TGC
Definition: PRDCollHandle_TGC.h:10
PRDSystemController
Definition: PRDSystemController.h:34
PRDCollHandle_TGC::project
bool project() const
Definition: PRDCollHandle_TGC.h:21
PRDCollHandle_TGC::lodArea
virtual float lodArea() const override
Definition: PRDCollHandle_TGC.h:30
PRDSysCommonData
Definition: PRDSysCommonData.h:35
PRDCollHandle_TGC::addPRD
virtual PRDHandleBase * addPRD(const Trk::PrepRawData *) override
Definition: PRDCollHandle_TGC.cxx:60
PRDCollHandleBase
Definition: PRDCollHandleBase.h:25
IVP1System
Definition: IVP1System.h:36
PRDCollHandle_TGC::availableCollections
static QStringList availableCollections(IVP1System *)
Definition: PRDCollHandle_TGC.cxx:17
PRDCollHandle_TGC::m_d
Imp * m_d
Definition: PRDCollHandle_TGC.h:34
Trk::PrepRawData
Definition: PrepRawData.h:62
PRDCollHandle_TGC::PRDCollHandle_TGC
PRDCollHandle_TGC(PRDSysCommonData *, const QString &key)
Definition: PRDCollHandle_TGC.cxx:32
PRDCollHandle_TGC::setProjectionMode
void setProjectionMode(bool)
Definition: PRDCollHandle_TGC.cxx:67
PRDCollHandle_TGC::setupSettingsFromControllerSpecific
virtual void setupSettingsFromControllerSpecific(PRDSystemController *) override
Definition: PRDCollHandle_TGC.cxx:53
PRDHandleBase
Definition: PRDHandleBase.h:35
PRDCollHandle_TGC::cut
virtual bool cut(PRDHandleBase *) override
Definition: PRDCollHandle_TGC.h:28
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37