ATLAS Offline Software
PRDCollHandle_MDT.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_MDT_H
6 #define PRDCOLLHANDLE_MDT_H
7 
9 #include "VP1Base/VP1Interval.h"
10 
12 
13  Q_OBJECT
14 
15 public:
16 
17  static QStringList availableCollections(IVP1System*);//For the collection widget.
18 
19  PRDCollHandle_MDT(PRDSysCommonData *,const QString& key);
20  virtual ~PRDCollHandle_MDT();
21 
25  PROJECTION projection() const { return m_projection; }
26 
27 
28 public Q_SLOTS:
29  void setMinNHitsPerStation(unsigned);
30  void setAllowedADCValues(const VP1Interval&);
31  void setExcludeMaskedHits(bool);
32  void setStatus(const QString&);
33  void setHighLightByMask(bool);
35  void setEnableProjections( bool );
36  void setAppropriateProjection( int );//0: No projections, 1: Project to end of tubes, 2: Project to end of chamber volume.
37  void setLimitToActiveChambers(bool);
39 
40 protected:
41  virtual PRDHandleBase * addPRD(const Trk::PrepRawData*) override;
42 
43  virtual DETAIL defaultDetailLevel() const override { return DETAILED; }
44 
45  virtual bool cut(PRDHandleBase*) override;
46 
47  virtual void eraseEventDataSpecific() override;
48  virtual void postLoadInitialisation() override;
50  virtual float lodArea() const override { return 600.0f*600.0f; }
51  virtual QColor defaultColor() const override;
52 
53 private:
54 
55  class Imp;
56  // friend class Imp;
57  Imp * m_d;
58 
59  //Here for inlines:
63 };
64 
65 #endif
PRDCollHandle_MDT::availableCollections
static QStringList availableCollections(IVP1System *)
Definition: PRDCollHandle_MDT.cxx:19
PRDCollHandleBase.h
PRDCollHandle_MDT::lodArea
virtual float lodArea() const override
Definition: PRDCollHandle_MDT.h:50
PRDCollHandle_MDT::m_highLightMasked
bool m_highLightMasked
Definition: PRDCollHandle_MDT.h:60
PRDCollHandle_MDT::cut
virtual bool cut(PRDHandleBase *) override
Definition: PRDCollHandle_MDT.cxx:93
PRDCollHandle_MDT::setStatus
void setStatus(const QString &)
Definition: PRDCollHandle_MDT.cxx:201
PRDSystemController
Definition: PRDSystemController.h:34
PRDCollHandleBase::DETAILED
@ DETAILED
Definition: PRDCollHandleBase.h:66
PRDCollHandle_MDT::postLoadInitialisation
virtual void postLoadInitialisation() override
Definition: PRDCollHandle_MDT.cxx:73
PRDCollHandle_MDT::setAllowedADCValues
void setAllowedADCValues(const VP1Interval &)
Definition: PRDCollHandle_MDT.cxx:171
PRDCollHandle_MDT::setExcludeMaskedHits
void setExcludeMaskedHits(bool)
Definition: PRDCollHandle_MDT.cxx:188
PRDCollHandle_MDT::setMinNHitsPerStation
void setMinNHitsPerStation(unsigned)
Definition: PRDCollHandle_MDT.cxx:156
PRDCollHandle_MDT::highLightADCBelow
int highLightADCBelow()
Definition: PRDCollHandle_MDT.h:23
PRDSysCommonData
Definition: PRDSysCommonData.h:35
PRDCollHandle_MDT::m_projection
PROJECTION m_projection
Definition: PRDCollHandle_MDT.h:62
PRDCollHandle_MDT::setEnableProjections
void setEnableProjections(bool)
Definition: PRDCollHandle_MDT.cxx:252
PRDCollHandleBase::DETAIL
DETAIL
Definition: PRDCollHandleBase.h:66
PRDCollHandle_MDT::TOTUBES
@ TOTUBES
Definition: PRDCollHandle_MDT.h:24
PRDCollHandle_MDT::m_d
Imp * m_d
Definition: PRDCollHandle_MDT.h:55
PRDCollHandle_MDT::setHighLightByUpperADCBound
void setHighLightByUpperADCBound(int)
Definition: PRDCollHandle_MDT.cxx:228
PRDCollHandleBase
Definition: PRDCollHandleBase.h:25
PRDCollHandle_MDT::defaultDetailLevel
virtual DETAIL defaultDetailLevel() const override
Definition: PRDCollHandle_MDT.h:43
PRDCollHandle_MDT::setLimitToActiveChambers
void setLimitToActiveChambers(bool)
Definition: PRDCollHandle_MDT.cxx:269
IVP1System
Definition: IVP1System.h:36
PRDCollHandle_MDT::m_highLightADCBelow
int m_highLightADCBelow
Definition: PRDCollHandle_MDT.h:61
PRDCollHandle_MDT::eraseEventDataSpecific
virtual void eraseEventDataSpecific() override
Definition: PRDCollHandle_MDT.cxx:87
PRDCollHandle_MDT::PRDCollHandle_MDT
PRDCollHandle_MDT(PRDSysCommonData *, const QString &key)
Definition: PRDCollHandle_MDT.cxx:40
PRDCollHandle_MDT::projection
PROJECTION projection() const
Definition: PRDCollHandle_MDT.h:25
VP1Interval.h
PRDCollHandle_MDT
Definition: PRDCollHandle_MDT.h:11
Trk::PrepRawData
Definition: PrepRawData.h:62
PRDCollHandle_MDT::addPRD
virtual PRDHandleBase * addPRD(const Trk::PrepRawData *) override
Definition: PRDCollHandle_MDT.cxx:66
PRDCollHandle_MDT::highLightMasked
bool highLightMasked()
Definition: PRDCollHandle_MDT.h:22
PRDCollHandle_MDT::defaultColor
virtual QColor defaultColor() const override
Definition: PRDCollHandle_MDT.cxx:60
PRDCollHandle_MDT::Imp
Definition: PRDCollHandle_MDT.cxx:25
VP1Interval
Definition: VP1Interval.h:23
PRDCollHandle_MDT::PROJECTION
PROJECTION
Definition: PRDCollHandle_MDT.h:24
PRDCollHandle_MDT::muonChambersTouchedByTracksChanged
void muonChambersTouchedByTracksChanged(void)
Inform this handle that it might need to recheck cuts.
Definition: PRDCollHandle_MDT.cxx:283
PRDCollHandle_MDT::setHighLightByMask
void setHighLightByMask(bool)
Definition: PRDCollHandle_MDT.cxx:211
PRDCollHandle_MDT::setupSettingsFromControllerSpecific
virtual void setupSettingsFromControllerSpecific(PRDSystemController *) override
Definition: PRDCollHandle_MDT.cxx:126
PRDHandleBase
Definition: PRDHandleBase.h:35
PRDCollHandle_MDT::TOCHAMBERS
@ TOCHAMBERS
Definition: PRDCollHandle_MDT.h:24
PRDCollHandle_MDT::setAppropriateProjection
void setAppropriateProjection(int)
Definition: PRDCollHandle_MDT.cxx:261
PRDCollHandle_MDT::~PRDCollHandle_MDT
virtual ~PRDCollHandle_MDT()
Definition: PRDCollHandle_MDT.cxx:54
PRDCollHandle_MDT::NONE
@ NONE
Definition: PRDCollHandle_MDT.h:24
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37