ATLAS Offline Software
Loading...
Searching...
No Matches
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
10#include "VP1Utils/VP1DetInfo.h"
11#include <QColor>
12
16
17//____________________________________________________________________
22
23//____________________________________________________________________
25public:
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//____________________________________________________________________
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
76 std::vector<PRDHandleBase*>::iterator it(getPrdHandles().begin()),itE(getPrdHandles().end());
77 for (;it!=itE;++it)
78 (*it)->update3DObjects();
81}
virtual void deselectAll(SoCooperativeSelection *exception_sel=0)
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Class representing the raw data of one CSC strip (for clusters look at Muon::CscPrepData).
PRDCollHandleBase(PRDDetType::Type, PRDSysCommonData *, const QString &key)
std::vector< PRDHandleBase * > & getPrdHandles()
PRDSysCommonData * common() const
const MuonGM::MuonDetectorManager * muondetmgr
virtual QColor defaultColor() const override
virtual PRDHandleBase * addPRD(const Trk::PrepRawData *) override
PRDCollHandle_CSC_Strip(PRDSysCommonData *, const QString &key)
virtual void setupSettingsFromControllerSpecific(PRDSystemController *) override
static QStringList availableCollections(IVP1System *)
IVP13DSystem * system() const
static bool hasMuonGeometry()
QStringList getKeys() const
virtual void largeChangesEnd()
virtual void largeChangesBegin()
MuonPrepDataContainerT< CscStripPrepData > CscStripPrepDataContainer