ATLAS Offline Software
VP1RawDataColl_SCT_RDO.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Implementation of class VP1RawDataColl_SCT_RDO //
9 // //
10 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
11 // Initial version: January 2009 //
12 // //
14 
22 
23 
24 //____________________________________________________________________
26 {
28 }
29 
30 //____________________________________________________________________
32 public:
33 };
34 
35 
36 //____________________________________________________________________
39 {
40 }
41 
42 //____________________________________________________________________
44 {
45  delete m_d;
46 }
47 
48 //____________________________________________________________________
50 {
51  VP1MaterialButton::setMaterialParameters( m, 1.0, 1.0, 0.0, 0.1 );
52 }
53 
54 //____________________________________________________________________
56 {
58  message("SCT geometry not configured in job");
59  return false;
60  }
61  const SCT_RDO_Container* rdoContainer;
62  if (!VP1SGAccessHelper(systemBase()).retrieve(rdoContainer,text())) {
63  message("Problems retrieving container with key "+text());
64  return false;
65  }
66  SCT_RDO_Container::const_iterator itColl(rdoContainer->begin()), itCollE(rdoContainer->end());
67  for (;itColl!=itCollE;++itColl) {
68  if (!*itColl||(*itColl)->empty())
69  continue;
70  SCT_RDO_Collection::const_iterator itRDO((*itColl)->begin()), itRDOE((*itColl)->end());
71  for (;itRDO!=itRDOE;++itRDO)
72  addHandle(new VP1RawDataHandle_SCT_RDO(this,*itRDO));
73  }
74 
75 // recheckCutStatusOfAllHandles();
76  return true;
77 }
78 
79 //____________________________________________________________________
81 {
82  return true;
83 }
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
VP1RawDataColl_SCT_RDO::cut
bool cut(VP1RawDataHandleBase *)
Definition: VP1RawDataColl_SCT_RDO.cxx:80
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
VP1RawDataCollBase::addHandle
void addHandle(VP1RawDataHandleBase *)
Definition: VP1RawDataCollBase.cxx:150
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
VP1RawDataHandleBase
Definition: VP1RawDataHandleBase.h:34
VP1MaterialButton.h
VP1RawDataColl_SCT_RDO.h
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
VP1RawDataHandle_SCT_RDO.h
VP1RawDataColl_SCT_RDO::VP1RawDataColl_SCT_RDO
VP1RawDataColl_SCT_RDO(VP1RawDataCommonData *, const QString &key)
Definition: VP1RawDataColl_SCT_RDO.cxx:37
VP1RawDataCollBase
Definition: VP1RawDataCollBase.h:29
InDetRawDataContainer
Definition: InDetRawDataContainer.h:27
VP1RawDataColl_SCT_RDO::assignDefaultMaterial
void assignDefaultMaterial(SoMaterial *) const
Definition: VP1RawDataColl_SCT_RDO.cxx:49
VP1RawDataColl_SCT_RDO::load
bool load()
Definition: VP1RawDataColl_SCT_RDO.cxx:55
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
VP1SGContentsHelper::getKeys
QStringList getKeys() const
Definition: VP1SGContentsHelper.h:55
VP1RawDataColl_SCT_RDO::Imp
Definition: VP1RawDataColl_SCT_RDO.cxx:31
IVP1System
Definition: IVP1System.h:36
SCT_RDO_Container.h
VP1MaterialButton::setMaterialParameters
static void setMaterialParameters(SoMaterial *m, const QColor &, const double &brightness=0.0, const double &transp=0.0)
Definition: VP1MaterialButton.cxx:802
VP1JobConfigInfo::hasSCTGeometry
static bool hasSCTGeometry()
Definition: VP1JobConfigInfo.cxx:128
VP1RawDataColl_SCT_RDO::m_d
Imp * m_d
Definition: VP1RawDataColl_SCT_RDO.h:43
IdentifiableContainerMT::end
const_iterator end() const
return const_iterator for end of container
Definition: IdentifiableContainerMT.h:242
VP1StdCollection::text
QString text() const
Definition: VP1StdCollection.cxx:132
IdentifiableContainerMT::const_iterator
Definition: IdentifiableContainerMT.h:82
IdentifiableContainerMT::begin
const_iterator begin() const
return const_iterator for first entry
Definition: IdentifiableContainerMT.h:236
VP1HelperClassBase::systemBase
IVP1System * systemBase() const
Definition: VP1HelperClassBase.h:50
VP1RawDataColl_SCT_RDO::~VP1RawDataColl_SCT_RDO
virtual ~VP1RawDataColl_SCT_RDO()
Definition: VP1RawDataColl_SCT_RDO.cxx:43
VP1SGContentsHelper
Definition: VP1SGContentsHelper.h:26
VP1RawDataHandle_SCT_RDO
Definition: VP1RawDataHandle_SCT_RDO.h:25
VP1RawDataCommonData
Definition: VP1RawDataCommonData.h:31
VP1HelperClassBase::message
void message(const QString &) const
Definition: VP1HelperClassBase.cxx:49
VP1JobConfigInfo.h
VP1SGAccessHelper
Definition: VP1SGAccessHelper.h:25
VP1RawDataColl_SCT_RDO::availableCollections
static QStringList availableCollections(IVP1System *)
Definition: VP1RawDataColl_SCT_RDO.cxx:25
VP1SGAccessHelper.h
common
Definition: common.py:1
VP1SGContentsHelper.h
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37