ATLAS Offline Software
Loading...
Searching...
No Matches
PRDCollHandle_RPC.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "VP1Base/IVP13DSystem.h"//fixme: add deselectAll to common()...
10#include <QColor>
11
15
16//____________________________________________________________________
21
22//____________________________________________________________________
24public:
26 //We only load these on demand!
29};
30
31//____________________________________________________________________
33 : PRDCollHandleBase(PRDDetType::RPC,cd,key), m_d(new Imp), m_project(false)
34{
35 m_d->muondetmgr = 0;
36 m_d->idhelper = 0;
37 m_d->attempted_detmgrload = false;
38}
39
40//____________________________________________________________________
45
46//____________________________________________________________________
48{
49 return QColor::fromRgbF( 0.75, 0.39, 1.0);//light purple
50}
51
52//____________________________________________________________________
54{
55 connect(controller,SIGNAL(projectRPCHitsChanged(bool)),this,SLOT(setProjectionMode(bool)));
56 setProjectionMode(controller->projectRPCHits());
57}
58
59//____________________________________________________________________
61{
62 assert(dynamic_cast<const Muon::RpcPrepData*>(prd));
63 return new PRDHandle_RPC(this,static_cast<const Muon::RpcPrepData*>(prd));
64}
65
66//____________________________________________________________________
68{
69 if (m_project==b)
70 return;
71 m_project=b;
72
74 std::vector<PRDHandleBase*>::iterator it(getPrdHandles().begin()),itE(getPrdHandles().end());
75 for (;it!=itE;++it)
76 (*it)->update3DObjects();
79}
@ RPC
Definition RegSelEnums.h:32
virtual void deselectAll(SoCooperativeSelection *exception_sel=0)
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Class to represent RPC measurements.
Definition RpcPrepData.h:35
PRDCollHandleBase(PRDDetType::Type, PRDSysCommonData *, const QString &key)
std::vector< PRDHandleBase * > & getPrdHandles()
PRDSysCommonData * common() const
const RpcIdHelper * idhelper
const MuonGM::MuonDetectorManager * muondetmgr
PRDCollHandle_RPC(PRDSysCommonData *, const QString &key)
virtual PRDHandleBase * addPRD(const Trk::PrepRawData *) override
virtual QColor defaultColor() const override
static QStringList availableCollections(IVP1System *)
virtual void setupSettingsFromControllerSpecific(PRDSystemController *) override
IVP13DSystem * system() const
static bool hasMuonGeometry()
QStringList getKeys() const
virtual void largeChangesEnd()
virtual void largeChangesBegin()
MuonPrepDataContainerT< RpcPrepData > RpcPrepDataContainer