ATLAS Offline Software
PRDCollHandle_CSC_Strip.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"
10 #include "VP1Utils/VP1DetInfo.h"
11 #include <QColor>
12 
16 
17 //____________________________________________________________________
19 {
21 }
22 
23 //____________________________________________________________________
25 public:
27  //We only load these on demand!
30 };
31 
32 //____________________________________________________________________
34  : PRDCollHandleBase(PRDDetType::CSCstrip,cd,key), m_d(new Imp), m_project(false)
35 {
36  m_d->muondetmgr = 0;
37  m_d->idhelper = 0;
38  m_d->attempted_detmgrload = false;
39 }
40 
41 //____________________________________________________________________
43 {
44  delete m_d;
45 }
46 
47 //____________________________________________________________________
49 {
50  return QColor::fromRgbF( 0.1, 0.5, 1.0);//blue
51 
52 }
53 
54 //____________________________________________________________________
56 {
57  connect(controller,SIGNAL(projectCSCHitsChanged(bool)),this,SLOT(setProjectionMode(bool)));
58  setProjectionMode(controller->projectCSCHits());
59 }
60 
61 //____________________________________________________________________
63 {
64  assert(dynamic_cast<const Muon::CscStripPrepData*>(prd));
65  return new PRDHandle_CSC_Strip(this,static_cast<const Muon::CscStripPrepData*>(prd));
66 }
67 
68 //____________________________________________________________________
70 {
71  if (m_project==b)
72  return;
73  m_project=b;
74 
77  for (;it!=itE;++it)
78  (*it)->update3DObjects();
80  common()->system()->deselectAll();
81 }
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
CscStripPrepDataContainer.h
PRDCollHandle_CSC_Strip::~PRDCollHandle_CSC_Strip
virtual ~PRDCollHandle_CSC_Strip()
Definition: PRDCollHandle_CSC_Strip.cxx:42
PRDCollHandle_CSC_Strip::Imp
Definition: PRDCollHandle_CSC_Strip.cxx:24
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:396
PRDCollHandleBase::common
PRDSysCommonData * common() const
Definition: PRDCollHandleBase.h:49
CscStripPrepData.h
PRDCollHandle_CSC_Strip::Imp::attempted_detmgrload
bool attempted_detmgrload
Definition: PRDCollHandle_CSC_Strip.cxx:26
VP1StdCollection::largeChangesBegin
virtual void largeChangesBegin()
Definition: VP1StdCollection.cxx:228
PRDSysCommonData
Definition: PRDSysCommonData.h:35
PRDCollHandle_CSC_Strip::setProjectionMode
void setProjectionMode(bool)
Definition: PRDCollHandle_CSC_Strip.cxx:69
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
VP1DetInfo.h
PRDCollHandle_CSC_Strip::availableCollections
static QStringList availableCollections(IVP1System *)
Definition: PRDCollHandle_CSC_Strip.cxx:18
Muon::CscStripPrepData
Class representing the raw data of one CSC strip (for clusters look at Muon::CscPrepData).
Definition: CscStripPrepData.h:40
PRDCollHandleBase
Definition: PRDCollHandleBase.h:25
IVP1System
Definition: IVP1System.h:36
PRDCollHandle_CSC_Strip::Imp::muondetmgr
const MuonGM::MuonDetectorManager * muondetmgr
Definition: PRDCollHandle_CSC_Strip.cxx:28
PRDSystemController::projectCSCHits
bool projectCSCHits() const
Definition: PRDSystemController.cxx:559
PRDHandle_CSC_Strip
Definition: PRDHandle_CSC_Strip.h:13
PRDCollHandle_CSC_Strip::m_d
Imp * m_d
Definition: PRDCollHandle_CSC_Strip.h:35
IVP13DSystem.h
PRDDetType
Definition: PRDDetTypes.h:10
Trk::PrepRawData
Definition: PrepRawData.h:62
PRDHandle_CSC_Strip.h
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
PRDSystemController.h
PRDCollHandle_CSC_Strip::Imp::idhelper
const CscIdHelper * idhelper
Definition: PRDCollHandle_CSC_Strip.cxx:29
VP1SGContentsHelper
Definition: VP1SGContentsHelper.h:26
VP1StdCollection::largeChangesEnd
virtual void largeChangesEnd()
Definition: VP1StdCollection.cxx:239
PRDCollHandle_CSC_Strip::addPRD
virtual PRDHandleBase * addPRD(const Trk::PrepRawData *) override
Definition: PRDCollHandle_CSC_Strip.cxx:62
CscIdHelper
Definition: CscIdHelper.h:52
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:50
PRDSysCommonData::system
IVP13DSystem * system() const
Definition: PRDSysCommonData.h:78
PRDCollHandle_CSC_Strip::PRDCollHandle_CSC_Strip
PRDCollHandle_CSC_Strip(PRDSysCommonData *, const QString &key)
Definition: PRDCollHandle_CSC_Strip.cxx:33
calibdata.cd
cd
Definition: calibdata.py:51
VP1JobConfigInfo.h
PRDHandleBase
Definition: PRDHandleBase.h:35
PRDCollHandle_CSC_Strip.h
PRDCollHandle_CSC_Strip::m_project
bool m_project
Definition: PRDCollHandle_CSC_Strip.h:39
PRDCollHandle_CSC_Strip::setupSettingsFromControllerSpecific
virtual void setupSettingsFromControllerSpecific(PRDSystemController *) override
Definition: PRDCollHandle_CSC_Strip.cxx:55
VP1JobConfigInfo::hasMuonGeometry
static bool hasMuonGeometry()
Definition: VP1JobConfigInfo.cxx:134
PRDCollHandleBase::getPrdHandles
std::vector< PRDHandleBase * > & getPrdHandles()
Definition: PRDCollHandleBase.cxx:507
IVP13DSystem::deselectAll
virtual void deselectAll(SoCooperativeSelection *exception_sel=0)
Definition: IVP13DSystem.cxx:331
VP1SGContentsHelper.h
PRDCollHandle_CSC_Strip::defaultColor
virtual QColor defaultColor() const override
Definition: PRDCollHandle_CSC_Strip.cxx:48
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37