ATLAS Offline Software
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 //____________________________________________________________________
18 {
20 }
21 
22 //____________________________________________________________________
24 public:
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 //____________________________________________________________________
42 {
43  delete m_d;
44 }
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 
75  for (;it!=itE;++it)
76  (*it)->update3DObjects();
78  common()->system()->deselectAll();
79 }
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
Muon::MuonPrepDataContainer
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
Definition: MuonPrepDataContainer.h:42
PRDCollHandle_RPC::Imp::muondetmgr
const MuonGM::MuonDetectorManager * muondetmgr
Definition: PRDCollHandle_RPC.cxx:27
PRDCollHandle_RPC::defaultColor
virtual QColor defaultColor() const override
Definition: PRDCollHandle_RPC.cxx:47
PRDSystemController::projectRPCHits
bool projectRPCHits() const
Definition: PRDSystemController.cxx:558
PRDCollHandle_RPC::~PRDCollHandle_RPC
virtual ~PRDCollHandle_RPC()
Definition: PRDCollHandle_RPC.cxx:41
PRDSystemController
Definition: PRDSystemController.h:34
fillPileUpNoiseLumi.connect
string connect
Definition: fillPileUpNoiseLumi.py:70
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
skel.it
it
Definition: skel.GENtoEVGEN.py:423
PRDCollHandleBase::common
PRDSysCommonData * common() const
Definition: PRDCollHandleBase.h:49
VP1StdCollection::largeChangesBegin
virtual void largeChangesBegin()
Definition: VP1StdCollection.cxx:228
RpcPrepDataContainer.h
PRDSysCommonData
Definition: PRDSysCommonData.h:35
RpcIdHelper
Definition: RpcIdHelper.h:51
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
TruthTest.itE
itE
Definition: TruthTest.py:25
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
VP1SGContentsHelper::getKeys
QStringList getKeys() const
Definition: VP1SGContentsHelper.h:55
PRDCollHandle_RPC.h
PRDCollHandleBase
Definition: PRDCollHandleBase.h:25
PRDHandle_RPC.h
PRDCollHandle_RPC::m_d
Imp * m_d
Definition: PRDCollHandle_RPC.h:34
IVP1System
Definition: IVP1System.h:36
PRDCollHandle_RPC::addPRD
virtual PRDHandleBase * addPRD(const Trk::PrepRawData *) override
Definition: PRDCollHandle_RPC.cxx:60
PRDCollHandle_RPC::Imp
Definition: PRDCollHandle_RPC.cxx:23
Muon::RpcPrepData
Class to represent RPC measurements.
Definition: RpcPrepData.h:35
PRDCollHandle_RPC::availableCollections
static QStringList availableCollections(IVP1System *)
Definition: PRDCollHandle_RPC.cxx:17
IVP13DSystem.h
PRDCollHandle_RPC::m_project
bool m_project
Definition: PRDCollHandle_RPC.h:38
PRDCollHandle_RPC::PRDCollHandle_RPC
PRDCollHandle_RPC(PRDSysCommonData *, const QString &key)
Definition: PRDCollHandle_RPC.cxx:32
PRDDetType
Definition: PRDDetTypes.h:10
Trk::PrepRawData
Definition: PrepRawData.h:62
RPC
@ RPC
Definition: RegSelEnums.h:32
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
PRDCollHandle_RPC::Imp::attempted_detmgrload
bool attempted_detmgrload
Definition: PRDCollHandle_RPC.cxx:25
PRDSystemController.h
VP1SGContentsHelper
Definition: VP1SGContentsHelper.h:26
VP1StdCollection::largeChangesEnd
virtual void largeChangesEnd()
Definition: VP1StdCollection.cxx:239
PRDHandle_RPC
Definition: PRDHandle_RPC.h:12
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:49
PRDSysCommonData::system
IVP13DSystem * system() const
Definition: PRDSysCommonData.h:78
PRDCollHandle_RPC::setupSettingsFromControllerSpecific
virtual void setupSettingsFromControllerSpecific(PRDSystemController *) override
Definition: PRDCollHandle_RPC.cxx:53
calibdata.cd
cd
Definition: calibdata.py:51
VP1JobConfigInfo.h
PRDHandleBase
Definition: PRDHandleBase.h:35
RpcPrepData.h
VP1JobConfigInfo::hasMuonGeometry
static bool hasMuonGeometry()
Definition: VP1JobConfigInfo.cxx:134
PRDCollHandleBase::getPrdHandles
std::vector< PRDHandleBase * > & getPrdHandles()
Definition: PRDCollHandleBase.cxx:507
PRDCollHandle_RPC::setProjectionMode
void setProjectionMode(bool)
Definition: PRDCollHandle_RPC.cxx:67
IVP13DSystem::deselectAll
virtual void deselectAll(SoCooperativeSelection *exception_sel=0)
Definition: IVP13DSystem.cxx:331
PRDCollHandle_RPC::Imp::idhelper
const RpcIdHelper * idhelper
Definition: PRDCollHandle_RPC.cxx:28
VP1SGContentsHelper.h
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37