ATLAS Offline Software
VP1RawDataColl_PixelRDO.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_PixelRDO //
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, 0.0, 1.0, 0.0, 0.1 );
52 }
53 
54 //____________________________________________________________________
56 {
58  message("Pixel geometry not configured in job");
59  return false;
60  }
61  const PixelRDO_Container* rdoContainer;
62  if (!VP1SGAccessHelper(systemBase()).retrieve(rdoContainer,text())) {
63  message("Problems retrieving container with key "+text());
64  return false;
65  }
66  PixelRDO_Container::const_iterator itColl(rdoContainer->begin()), itCollE(rdoContainer->end());
67  for (;itColl!=itCollE;++itColl) {
68  if (!*itColl||(*itColl)->empty())
69  continue;
70  PixelRDO_Collection::const_iterator itRDO((*itColl)->begin()), itRDOE((*itColl)->end());
71  for (;itRDO!=itRDOE;++itRDO)
72  addHandle(new VP1RawDataHandle_PixelRDO(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
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
VP1RawDataColl_PixelRDO::cut
bool cut(VP1RawDataHandleBase *)
Definition: VP1RawDataColl_PixelRDO.cxx:80
VP1RawDataCollBase::addHandle
void addHandle(VP1RawDataHandleBase *)
Definition: VP1RawDataCollBase.cxx:150
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
VP1RawDataHandleBase
Definition: VP1RawDataHandleBase.h:34
VP1RawDataHandle_PixelRDO.h
VP1MaterialButton.h
VP1RawDataColl_PixelRDO::m_d
Imp * m_d
Definition: VP1RawDataColl_PixelRDO.h:43
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
VP1RawDataColl_PixelRDO::VP1RawDataColl_PixelRDO
VP1RawDataColl_PixelRDO(VP1RawDataCommonData *, const QString &key)
Definition: VP1RawDataColl_PixelRDO.cxx:37
VP1RawDataColl_PixelRDO::assignDefaultMaterial
void assignDefaultMaterial(SoMaterial *) const
Definition: VP1RawDataColl_PixelRDO.cxx:49
VP1RawDataCollBase
Definition: VP1RawDataCollBase.h:29
InDetRawDataContainer
Definition: InDetRawDataContainer.h:27
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
VP1RawDataHandle_PixelRDO
Definition: VP1RawDataHandle_PixelRDO.h:25
VP1SGContentsHelper::getKeys
QStringList getKeys() const
Definition: VP1SGContentsHelper.h:55
IVP1System
Definition: IVP1System.h:36
VP1RawDataColl_PixelRDO.h
VP1RawDataColl_PixelRDO::Imp
Definition: VP1RawDataColl_PixelRDO.cxx:31
VP1MaterialButton::setMaterialParameters
static void setMaterialParameters(SoMaterial *m, const QColor &, const double &brightness=0.0, const double &transp=0.0)
Definition: VP1MaterialButton.cxx:802
IdentifiableContainerMT::end
const_iterator end() const
return const_iterator for end of container
Definition: IdentifiableContainerMT.h:239
VP1StdCollection::text
QString text() const
Definition: VP1StdCollection.cxx:132
IdentifiableContainerMT::const_iterator
Definition: IdentifiableContainerMT.h:79
IdentifiableContainerMT::begin
const_iterator begin() const
return const_iterator for first entry
Definition: IdentifiableContainerMT.h:233
VP1RawDataColl_PixelRDO::availableCollections
static QStringList availableCollections(IVP1System *)
Definition: VP1RawDataColl_PixelRDO.cxx:25
VP1HelperClassBase::systemBase
IVP1System * systemBase() const
Definition: VP1HelperClassBase.h:50
VP1SGContentsHelper
Definition: VP1SGContentsHelper.h:26
PixelRDO_Container.h
VP1RawDataColl_PixelRDO::load
bool load()
Definition: VP1RawDataColl_PixelRDO.cxx:55
VP1RawDataColl_PixelRDO::~VP1RawDataColl_PixelRDO
virtual ~VP1RawDataColl_PixelRDO()
Definition: VP1RawDataColl_PixelRDO.cxx:43
VP1RawDataCommonData
Definition: VP1RawDataCommonData.h:31
VP1HelperClassBase::message
void message(const QString &) const
Definition: VP1HelperClassBase.cxx:49
VP1JobConfigInfo.h
VP1SGAccessHelper
Definition: VP1SGAccessHelper.h:25
VP1JobConfigInfo::hasPixelGeometry
static bool hasPixelGeometry()
Definition: VP1JobConfigInfo.cxx:127
VP1SGAccessHelper.h
common
Definition: common.py:1
VP1SGContentsHelper.h
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37