ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
InDetAlignFillSiCluster Class Reference

#include <InDetAlignFillSiCluster.h>

Inheritance diagram for InDetAlignFillSiCluster:
Collaboration diagram for InDetAlignFillSiCluster:

Public Member Functions

 InDetAlignFillSiCluster (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual ~InDetAlignFillSiCluster ()
 
virtual StatusCode initialize ()
 
virtual StatusCode finalize ()
 
virtual StatusCode FillSiCluster ()
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
 
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed. More...
 

Private Types

typedef InDet::PixelClusterContainer PixelClusterContainer
 
typedef InDet::SCT_ClusterContainer SCT_ClusterContainer
 
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

void bookNtuple ()
 
StatusCode RetrieveSCTSiClusters ()
 
StatusCode RetrievePixelSiClusters ()
 
void FillSCTSiNtuple ()
 
void FillPixelSiNtuple ()
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

INTupleSvc * m_ntupleSvc
 
const PixelIDm_pixelid
 Pixel ID helper
More...
 
const SCT_IDm_sctID
 SCT ID helper. More...
 
std::string m_Pixel_SiClustersName
 
std::string m_Sct_SiClustersName
 
const InDet::PixelClusterContainerm_Pixel_clcontainer
 
const InDet::SCT_ClusterContainerm_Sct_clcontainer
 
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollectionm_pixelDetEleCollKey {this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"}
 
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollectionm_SCTDetEleCollKey {this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"}
 
std::string m_ntupleName
 ntuple name More...
 
NTuple::Item< long > m_pixel_nclusters
 number of Pixel Clusters More...
 
NTuple::Item< long > m_sct_nclusters
 number of SCT Clusters More...
 
NTuple::Array< float > m_pixel_clx
 Pixel Cluster X. More...
 
NTuple::Array< float > m_pixel_cly
 Pixel Cluster Y. More...
 
NTuple::Array< float > m_pixel_clz
 Pixel Cluster Z. More...
 
NTuple::Array< long > m_pixel_groupsize
 Pixel Cluster Group Size. More...
 
NTuple::Array< long > m_pixel_layer
 Pixel Cluster layer. More...
 
NTuple::Array< long > m_pixel_phi
 Pixel Cluster phi. More...
 
NTuple::Array< float > m_pixel_LocX
 Pixel Cluster Local X. More...
 
NTuple::Array< float > m_pixel_LocY
 Pixel Cluster Local Y. More...
 
NTuple::Matrix< long > m_pixel_clrow
 
NTuple::Matrix< long > m_pixel_clcol
 
NTuple::Array< float > m_sct_clx
 SCT Cluster X. More...
 
NTuple::Array< float > m_sct_cly
 SCT Cluster Y. More...
 
NTuple::Array< float > m_sct_clz
 SCT Cluster Z. More...
 
NTuple::Array< long > m_sct_groupsize
 SCT Cluster Group Size. More...
 
NTuple::Array< long > m_sct_layer
 SCT Cluster layer. More...
 
NTuple::Array< long > m_sct_eta
 SCT Cluster eta. More...
 
NTuple::Array< long > m_sct_phi
 SCT Cluster phi. More...
 
NTuple::Array< long > m_sct_side
 SCT Cluster side. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 34 of file InDetAlignFillSiCluster.h.

Member Typedef Documentation

◆ PixelClusterContainer

typedef InDet::PixelClusterContainer InDetAlignFillSiCluster::PixelClusterContainer
private

Definition at line 36 of file InDetAlignFillSiCluster.h.

◆ SCT_ClusterContainer

typedef InDet::SCT_ClusterContainer InDetAlignFillSiCluster::SCT_ClusterContainer
private

Definition at line 37 of file InDetAlignFillSiCluster.h.

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ InDetAlignFillSiCluster()

InDetAlignFillSiCluster::InDetAlignFillSiCluster ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 38 of file InDetAlignFillSiCluster.cxx.

42  m_ntupleSvc(nullptr),
43  m_pixelid(nullptr),
44  m_sctID(nullptr),
45  m_Pixel_clcontainer(nullptr),
46  m_Sct_clcontainer(nullptr)
47 {
48  declareInterface<IInDetAlignFillSiCluster>(this);
49  declareProperty("Pixel_SiClusterContainerName", m_Pixel_SiClustersName="PixelClusters");
50  declareProperty("SCT_SiClusterContainerName", m_Sct_SiClustersName="SCT_Clusters");
51 
52  // Ntuple
53  declareProperty("NtupleName", m_ntupleName="/NTUPLES/GLOBFILE");
54 }

◆ ~InDetAlignFillSiCluster()

InDetAlignFillSiCluster::~InDetAlignFillSiCluster ( )
virtual

Definition at line 60 of file InDetAlignFillSiCluster.cxx.

60 {}

Member Function Documentation

◆ bookNtuple()

void InDetAlignFillSiCluster::bookNtuple ( )
private

Definition at line 144 of file InDetAlignFillSiCluster.cxx.

144  {
145 
146  ATH_MSG_DEBUG ("Booking Trk::Track Info...");
147 
148  NTupleFilePtr file1(m_ntupleSvc, m_ntupleName);
149  std::string nt0id = m_ntupleName + "/SiCluster";
150  std::string comments = "Silicon Cluster Information";
151 
152  StatusCode sc;
153 
154  NTuplePtr nt0(m_ntupleSvc, nt0id);
155  if (nt0) ATH_MSG_DEBUG ("Ntuple is already booked");
156  else {
157  ATH_MSG_DEBUG ("Attempting to book general ntuple");
158  nt0 = m_ntupleSvc->book(nt0id,CLID_ColumnWiseTuple,comments);
159 
160  if (nt0) {
161 
162  // ---------------------------------------------------------------------
163  // Pixel Clusters
164  sc = nt0->addItem("pixel_clus_nclusters", m_pixel_nclusters, 0, maxclusters);
165  sc = nt0->addItem("pixel_clus_clx", m_pixel_nclusters, m_pixel_clx);
166  sc = nt0->addItem("pixel_clus_cly", m_pixel_nclusters, m_pixel_cly);
167  sc = nt0->addItem("pixel_clus_clz", m_pixel_nclusters, m_pixel_clz);
168  sc = nt0->addItem("pixel_clus_LocX", m_pixel_nclusters, m_pixel_LocX);
169  sc = nt0->addItem("pixel_clus_LocY", m_pixel_nclusters, m_pixel_LocY);
170  sc = nt0->addItem("pixel_clus_groupsize", m_pixel_nclusters, m_pixel_groupsize);
171  sc = nt0->addItem("pixel_clus_layer", m_pixel_nclusters, m_pixel_layer);
172  sc = nt0->addItem("pixel_clus_phi", m_pixel_nclusters, m_pixel_phi);
173  sc = nt0->addItem("pixel/pixel_clus_row",m_pixel_nclusters, m_pixel_clrow, maxclsize);
174  sc = nt0->addItem("pixel/pixel_clus_col",m_pixel_nclusters, m_pixel_clcol, maxclsize);
175  m_pixel_nclusters = 0;
176  // ---------------------------------------------------------------------
177 
178  // ----------------------------------------------------------------------
179  // SCT Clusters
180  sc = nt0->addItem("sct_clus_nclusters", m_sct_nclusters, 0, maxclusters);
181  sc = nt0->addItem("sct_clus_x", m_sct_nclusters, m_sct_clx);
182  sc = nt0->addItem("sct_clus_y", m_sct_nclusters, m_sct_cly);
183  sc = nt0->addItem("sct_clus_z", m_sct_nclusters, m_sct_clz);
184  sc = nt0->addItem("sct_clus_groupsize", m_sct_nclusters, m_sct_groupsize);
185  sc = nt0->addItem("sct_clus_layer", m_sct_nclusters, m_sct_layer);
186  sc = nt0->addItem("sct_clus_eta", m_sct_nclusters, m_sct_eta);
187  sc = nt0->addItem("sct_clus_phi", m_sct_nclusters, m_sct_phi);
188  sc = nt0->addItem("sct_clus_side", m_sct_nclusters, m_sct_side);
189  m_sct_nclusters = 0;
190  // ----------------------------------------------------------------------
191 
192  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "Ntuple " << nt0id << " has been booked successfully! " << endmsg;
193  }
194  else
195  ATH_MSG_ERROR ("Error booking ntuple");
196  }
197 
198 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKeyArray>

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleBase>

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ FillPixelSiNtuple()

void InDetAlignFillSiCluster::FillPixelSiNtuple ( )
private

Definition at line 310 of file InDetAlignFillSiCluster.cxx.

310  {
311 
312  ATH_MSG_DEBUG ("In FillPixelSiNtuple()");
313 
314  m_pixel_nclusters = 0;
315 
316  // loop over Pixel clusters collections
317  for(PixelClusterContainer::const_iterator it=m_Pixel_clcontainer->begin();
318  it!=m_Pixel_clcontainer->end(); ++it) {
319 
320  const InDet::PixelClusterCollection *colNext=&(**it);
321  if (!colNext) continue;
322 
323  // loop over Clusters
325  for(p_clus=colNext->begin(); p_clus!=colNext->end(); ++p_clus) {
326  Identifier clId = (*p_clus)->identify();
327 
328  const InDet::PixelCluster& cluster = **p_clus;
329 
330  int GroupSize = cluster.rdoList().size();
331 
332  if (m_pixel_nclusters < maxclusters ){
341  const std::vector<Identifier>& rdoList =cluster.rdoList();
342  std::vector<Identifier>::const_iterator nextRDO;
343  int i(0);
344  for(nextRDO=rdoList.begin(); nextRDO !=rdoList.end(); ++nextRDO){
345  Identifier rdoId = (*nextRDO);
346  if(i<maxclsize){
349  }
350  ++i;
351  }
352 
353  // Cluster Information
354  if (msgLvl(MSG::DEBUG)) {
355  msg(MSG::DEBUG) << "Pixel Cluster (Local Pos): ["
357  << m_pixel_phi[m_pixel_nclusters] << "] - ("
360  << " Groupsize: " << GroupSize << endmsg;
361  }
362 
363  }
365  }
366  }
367  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "Pixel Clusters: " << m_pixel_nclusters << endmsg;
368 
369  return;
370 }

◆ FillSCTSiNtuple()

void InDetAlignFillSiCluster::FillSCTSiNtuple ( )
private

Definition at line 243 of file InDetAlignFillSiCluster.cxx.

243  {
244 
245  ATH_MSG_DEBUG ("In FillSCTSiNtuple()");
246 
247  m_sct_nclusters = 0;
248 
249  // loop over SCT clusters collections
250  for(SCT_ClusterContainer::const_iterator it=m_Sct_clcontainer->begin();
251  it!=m_Sct_clcontainer->end(); ++it) {
252 
253  const InDet::SCT_ClusterCollection *colNext=&(**it);
254  if (!colNext) continue;
255 
256  // loop over Clusters
258  for(p_clus=colNext->begin(); p_clus!=colNext->end(); ++p_clus) {
259 
260  Identifier clId = (*p_clus)->identify();
261  const InDet::SCT_Cluster& cluster = **p_clus;
262  int GroupSize = cluster.rdoList().size();
263 
264  if ( m_sct_nclusters < maxclusters ) {
265  m_sct_clx[m_sct_nclusters] = cluster.globalPosition().x();
266  m_sct_cly[m_sct_nclusters] = cluster.globalPosition().y();
267  m_sct_clz[m_sct_nclusters] = cluster.globalPosition().z();
272  m_sct_groupsize[m_sct_nclusters] = GroupSize;
273 
274  // Cluster Information
275  if (msgLvl(MSG::DEBUG)) {
276  msg(MSG::DEBUG) << "SCT Cluster: ["
277  << m_sct_layer[m_sct_nclusters] << "/"
278  << m_sct_eta[m_sct_nclusters] << "/"
279  << m_sct_phi[m_sct_nclusters] << "/"
280  << m_sct_side[m_sct_nclusters] << "] - ("
281  << m_sct_clx[m_sct_nclusters] << ","
282  << m_sct_cly[m_sct_nclusters] << ","
283  << m_sct_clz[m_sct_nclusters] << ")";
284  }
285 
286  if (GroupSize>1) {
287  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << " strips: (" << m_sctID->strip(clId) - GroupSize
288  << "," << m_sctID->strip(clId)
289  << ") - GroupSize: " << GroupSize
290  << endmsg;
291  }
292  else {
293  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << " strip: (" << m_sctID->strip(clId)
294  << ") - GroupSize: " << GroupSize
295  << endmsg;
296  }
297 
298  }
299  m_sct_nclusters++;
300  }
301  // if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "number of clusters: " << m_sct_nclusters << endmsg;
302  }
303  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "SCT Clusters: " << m_sct_nclusters << endmsg;
304  return;
305 }

◆ FillSiCluster()

StatusCode InDetAlignFillSiCluster::FillSiCluster ( )
virtual

Implements IInDetAlignFillSiCluster.

Definition at line 121 of file InDetAlignFillSiCluster.cxx.

121  {
122 
123  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "In FillSiCluster()" << endmsg;
124 
125  StatusCode sc;
126 
127  if(RetrieveSCTSiClusters() != StatusCode::FAILURE)
128  FillSCTSiNtuple();
129 
130  if(RetrievePixelSiClusters() != StatusCode::FAILURE)
132 
133  std::string nt0id = m_ntupleName + "/SiCluster";
134  sc = m_ntupleSvc->writeRecord(nt0id);
135  if (sc.isFailure()) if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "Could not write " << nt0id << "!" << endmsg;
136 
137  return StatusCode::SUCCESS;
138 }

◆ finalize()

StatusCode InDetAlignFillSiCluster::finalize ( )
virtual

Definition at line 103 of file InDetAlignFillSiCluster.cxx.

103  {
104 
105  if (msgLvl(MSG::DEBUG)) {
106  msg(MSG::DEBUG) << "Finalize() of FillSiCluster" << endmsg;
107  msg(MSG::DEBUG) << "________________________________________________________" << endmsg;
108  msg(MSG::DEBUG) << endmsg;
109  msg(MSG::DEBUG) << " InDetAlignFillSiCluster Summary: " << endmsg;
110  msg(MSG::DEBUG) << "________________________________________________________" << endmsg;
111  msg(MSG::DEBUG) << endmsg;
112  }
113 
114  return StatusCode::SUCCESS;
115 }

◆ initialize()

StatusCode InDetAlignFillSiCluster::initialize ( )
virtual

Definition at line 66 of file InDetAlignFillSiCluster.cxx.

66  {
67 
68  ATH_MSG_DEBUG("In Initialize() of FillSiCluster()");
69 
70  // ID Helper
71 
72  if (detStore()->retrieve(m_sctID, "SCT_ID").isFailure()){
73  msg(MSG::FATAL) << "Could not get SCT ID helper" << endmsg;
74  return StatusCode::FAILURE;
75  }
76  else if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "SCT ID is : "<< m_sctID <<endmsg ;
77 
78  if (detStore()->retrieve(m_pixelid, "PixelID").isFailure()){
79  msg(MSG::FATAL) << "Could not get PIXEL ID helper" << endmsg;
80  return StatusCode::FAILURE;
81  }
82  else if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "Pixel ID is : " << m_pixelid << endmsg;
83 
84  // retrieve the NTuple Service
85  if (StatusCode::SUCCESS != service("NTupleSvc", m_ntupleSvc)) {
86  ATH_MSG_FATAL ("NTupleSvc service not found!");
87  return StatusCode::FAILURE;
88  }
89 
90  bookNtuple();
91 
94 
95  if (msgLvl(MSG::DEBUG)) msg(MSG::DEBUG) << "Initialize() of FillSiCluster successful" << endmsg;
96  return StatusCode::SUCCESS;
97 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ interfaceID()

const InterfaceID & IInDetAlignFillSiCluster::interfaceID ( )
inlinestaticinherited

Definition at line 24 of file IInDetAlignFillSiCluster.h.

25 { return IID_INDETALIGN_IInDetAlignFillSiCluster; }

◆ msg() [1/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t<std::is_void_v<std::result_of_t<decltype(&T::renounce)(T)> > && !std::is_base_of_v<SG::VarHandleKeyArray, T> && std::is_base_of_v<Gaudi::DataHandle, T>, void> AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ RetrievePixelSiClusters()

StatusCode InDetAlignFillSiCluster::RetrievePixelSiClusters ( )
private

Definition at line 224 of file InDetAlignFillSiCluster.cxx.

224  {
225 
226  ATH_MSG_DEBUG ("In RetrievePixelSiClusters()");
227  StatusCode sc;
228 
229  // get pixel clusters from TDS
231  if (sc.isFailure() || !m_Pixel_clcontainer){
232  ATH_MSG_DEBUG ("Pixel Cluster container for Pixels not found");
233  return StatusCode::FAILURE;
234  }
235  else ATH_MSG_DEBUG ("Pixel Cluster container for Pixels found");
236 
237  return sc;
238 }

◆ RetrieveSCTSiClusters()

StatusCode InDetAlignFillSiCluster::RetrieveSCTSiClusters ( )
private

Definition at line 204 of file InDetAlignFillSiCluster.cxx.

204  {
205 
206  ATH_MSG_DEBUG ("In RetrieveSCTSiClusters()");
207  StatusCode sc;
208 
209  // get clusters from TDS
211  if (sc.isFailure() || !m_Sct_clcontainer){
212  ATH_MSG_DEBUG ("SCT Cluster container for SCT not found");
213  return StatusCode::FAILURE;
214  }
215  else ATH_MSG_DEBUG ("SCT Cluster container for SCT found");
216 
217  return sc;
218 }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_ntupleName

std::string InDetAlignFillSiCluster::m_ntupleName
private

ntuple name

Definition at line 75 of file InDetAlignFillSiCluster.h.

◆ m_ntupleSvc

INTupleSvc* InDetAlignFillSiCluster::m_ntupleSvc
private

Definition at line 51 of file InDetAlignFillSiCluster.h.

◆ m_pixel_clcol

NTuple::Matrix<long> InDetAlignFillSiCluster::m_pixel_clcol
private

Definition at line 91 of file InDetAlignFillSiCluster.h.

◆ m_Pixel_clcontainer

const InDet::PixelClusterContainer* InDetAlignFillSiCluster::m_Pixel_clcontainer
private

Definition at line 59 of file InDetAlignFillSiCluster.h.

◆ m_pixel_clrow

NTuple::Matrix<long> InDetAlignFillSiCluster::m_pixel_clrow
private

Definition at line 90 of file InDetAlignFillSiCluster.h.

◆ m_pixel_clx

NTuple::Array<float> InDetAlignFillSiCluster::m_pixel_clx
private

Pixel Cluster X.

Definition at line 82 of file InDetAlignFillSiCluster.h.

◆ m_pixel_cly

NTuple::Array<float> InDetAlignFillSiCluster::m_pixel_cly
private

Pixel Cluster Y.

Definition at line 83 of file InDetAlignFillSiCluster.h.

◆ m_pixel_clz

NTuple::Array<float> InDetAlignFillSiCluster::m_pixel_clz
private

Pixel Cluster Z.

Definition at line 84 of file InDetAlignFillSiCluster.h.

◆ m_pixel_groupsize

NTuple::Array<long> InDetAlignFillSiCluster::m_pixel_groupsize
private

Pixel Cluster Group Size.

Definition at line 85 of file InDetAlignFillSiCluster.h.

◆ m_pixel_layer

NTuple::Array<long> InDetAlignFillSiCluster::m_pixel_layer
private

Pixel Cluster layer.

Definition at line 86 of file InDetAlignFillSiCluster.h.

◆ m_pixel_LocX

NTuple::Array<float> InDetAlignFillSiCluster::m_pixel_LocX
private

Pixel Cluster Local X.

Definition at line 88 of file InDetAlignFillSiCluster.h.

◆ m_pixel_LocY

NTuple::Array<float> InDetAlignFillSiCluster::m_pixel_LocY
private

Pixel Cluster Local Y.

Definition at line 89 of file InDetAlignFillSiCluster.h.

◆ m_pixel_nclusters

NTuple::Item<long> InDetAlignFillSiCluster::m_pixel_nclusters
private

number of Pixel Clusters

Definition at line 77 of file InDetAlignFillSiCluster.h.

◆ m_pixel_phi

NTuple::Array<long> InDetAlignFillSiCluster::m_pixel_phi
private

Pixel Cluster phi.

Definition at line 87 of file InDetAlignFillSiCluster.h.

◆ m_Pixel_SiClustersName

std::string InDetAlignFillSiCluster::m_Pixel_SiClustersName
private

Definition at line 56 of file InDetAlignFillSiCluster.h.

◆ m_pixelDetEleCollKey

SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> InDetAlignFillSiCluster::m_pixelDetEleCollKey {this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"}
private

Definition at line 63 of file InDetAlignFillSiCluster.h.

◆ m_pixelid

const PixelID* InDetAlignFillSiCluster::m_pixelid
private

Pixel ID helper

Definition at line 53 of file InDetAlignFillSiCluster.h.

◆ m_Sct_clcontainer

const InDet::SCT_ClusterContainer* InDetAlignFillSiCluster::m_Sct_clcontainer
private

Definition at line 60 of file InDetAlignFillSiCluster.h.

◆ m_sct_clx

NTuple::Array<float> InDetAlignFillSiCluster::m_sct_clx
private

SCT Cluster X.

Definition at line 96 of file InDetAlignFillSiCluster.h.

◆ m_sct_cly

NTuple::Array<float> InDetAlignFillSiCluster::m_sct_cly
private

SCT Cluster Y.

Definition at line 97 of file InDetAlignFillSiCluster.h.

◆ m_sct_clz

NTuple::Array<float> InDetAlignFillSiCluster::m_sct_clz
private

SCT Cluster Z.

Definition at line 98 of file InDetAlignFillSiCluster.h.

◆ m_sct_eta

NTuple::Array<long> InDetAlignFillSiCluster::m_sct_eta
private

SCT Cluster eta.

Definition at line 101 of file InDetAlignFillSiCluster.h.

◆ m_sct_groupsize

NTuple::Array<long> InDetAlignFillSiCluster::m_sct_groupsize
private

SCT Cluster Group Size.

Definition at line 99 of file InDetAlignFillSiCluster.h.

◆ m_sct_layer

NTuple::Array<long> InDetAlignFillSiCluster::m_sct_layer
private

SCT Cluster layer.

Definition at line 100 of file InDetAlignFillSiCluster.h.

◆ m_sct_nclusters

NTuple::Item<long> InDetAlignFillSiCluster::m_sct_nclusters
private

number of SCT Clusters

Definition at line 78 of file InDetAlignFillSiCluster.h.

◆ m_sct_phi

NTuple::Array<long> InDetAlignFillSiCluster::m_sct_phi
private

SCT Cluster phi.

Definition at line 102 of file InDetAlignFillSiCluster.h.

◆ m_Sct_SiClustersName

std::string InDetAlignFillSiCluster::m_Sct_SiClustersName
private

Definition at line 57 of file InDetAlignFillSiCluster.h.

◆ m_sct_side

NTuple::Array<long> InDetAlignFillSiCluster::m_sct_side
private

SCT Cluster side.

Definition at line 103 of file InDetAlignFillSiCluster.h.

◆ m_SCTDetEleCollKey

SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> InDetAlignFillSiCluster::m_SCTDetEleCollKey {this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"}
private

Definition at line 65 of file InDetAlignFillSiCluster.h.

◆ m_sctID

const SCT_ID* InDetAlignFillSiCluster::m_sctID
private

SCT ID helper.

Definition at line 54 of file InDetAlignFillSiCluster.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
InDetAlignFillSiCluster::m_sct_phi
NTuple::Array< long > m_sct_phi
SCT Cluster phi.
Definition: InDetAlignFillSiCluster.h:102
InDetAlignFillSiCluster::m_Sct_clcontainer
const InDet::SCT_ClusterContainer * m_Sct_clcontainer
Definition: InDetAlignFillSiCluster.h:60
InDetAlignFillSiCluster::m_pixel_cly
NTuple::Array< float > m_pixel_cly
Pixel Cluster Y.
Definition: InDetAlignFillSiCluster.h:83
WriteBchToCool.comments
comments
Definition: WriteBchToCool.py:297
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
PixelID::phi_index
int phi_index(const Identifier &id) const
Definition: PixelID.h:658
InDetAlignFillSiCluster::m_pixelid
const PixelID * m_pixelid
Pixel ID helper
Definition: InDetAlignFillSiCluster.h:53
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
python.Constants.FATAL
int FATAL
Definition: Control/AthenaCommon/python/Constants.py:19
InDetAlignFillSiCluster::RetrieveSCTSiClusters
StatusCode RetrieveSCTSiClusters()
Definition: InDetAlignFillSiCluster.cxx:204
InDetAlignFillSiCluster::m_Sct_SiClustersName
std::string m_Sct_SiClustersName
Definition: InDetAlignFillSiCluster.h:57
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
InDetAlignFillSiCluster::m_sct_nclusters
NTuple::Item< long > m_sct_nclusters
number of SCT Clusters
Definition: InDetAlignFillSiCluster.h:78
InDetAlignFillSiCluster::m_ntupleSvc
INTupleSvc * m_ntupleSvc
Definition: InDetAlignFillSiCluster.h:51
skel.it
it
Definition: skel.GENtoEVGEN.py:423
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
Trk::PrepRawData::rdoList
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
AthCommonMsg< AlgTool >::msgLvl
bool msgLvl(const MSG::Level lvl) const
Definition: AthCommonMsg.h:30
InDetAlignFillSiCluster::m_sct_side
NTuple::Array< long > m_sct_side
SCT Cluster side.
Definition: InDetAlignFillSiCluster.h:103
InDetAlignFillSiCluster::m_sct_clz
NTuple::Array< float > m_sct_clz
SCT Cluster Z.
Definition: InDetAlignFillSiCluster.h:98
SCT_ID::phi_module
int phi_module(const Identifier &id) const
Definition: SCT_ID.h:740
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDetAlignFillSiCluster::m_sct_cly
NTuple::Array< float > m_sct_cly
SCT Cluster Y.
Definition: InDetAlignFillSiCluster.h:97
InDetAlignFillSiCluster::m_pixel_nclusters
NTuple::Item< long > m_pixel_nclusters
number of Pixel Clusters
Definition: InDetAlignFillSiCluster.h:77
InDetAlignFillSiCluster::m_pixel_groupsize
NTuple::Array< long > m_pixel_groupsize
Pixel Cluster Group Size.
Definition: InDetAlignFillSiCluster.h:85
InDetAlignFillSiCluster::m_pixel_clrow
NTuple::Matrix< long > m_pixel_clrow
Definition: InDetAlignFillSiCluster.h:90
InDetAlignFillSiCluster::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Definition: InDetAlignFillSiCluster.h:65
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
InDetAlignFillSiCluster::m_sct_eta
NTuple::Array< long > m_sct_eta
SCT Cluster eta.
Definition: InDetAlignFillSiCluster.h:101
AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
InDetAlignFillSiCluster::FillPixelSiNtuple
void FillPixelSiNtuple()
Definition: InDetAlignFillSiCluster.cxx:310
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
lumiFormat.i
int i
Definition: lumiFormat.py:92
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
InDetAlignFillSiCluster::m_pixel_LocX
NTuple::Array< float > m_pixel_LocX
Pixel Cluster Local X.
Definition: InDetAlignFillSiCluster.h:88
test_pyathena.parent
parent
Definition: test_pyathena.py:15
InDetAlignFillSiCluster::m_sct_clx
NTuple::Array< float > m_sct_clx
SCT Cluster X.
Definition: InDetAlignFillSiCluster.h:96
PixelID::eta_index
int eta_index(const Identifier &id) const
Definition: PixelID.h:664
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
InDetAlignFillSiCluster::m_sctID
const SCT_ID * m_sctID
SCT ID helper.
Definition: InDetAlignFillSiCluster.h:54
InDetAlignFillSiCluster::m_pixel_LocY
NTuple::Array< float > m_pixel_LocY
Pixel Cluster Local Y.
Definition: InDetAlignFillSiCluster.h:89
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
InDetAlignFillSiCluster::m_pixel_clz
NTuple::Array< float > m_pixel_clz
Pixel Cluster Z.
Definition: InDetAlignFillSiCluster.h:84
InDet::SCT_Cluster
Definition: InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/SCT_Cluster.h:34
InDetAlignFillSiCluster::m_Pixel_clcontainer
const InDet::PixelClusterContainer * m_Pixel_clcontainer
Definition: InDetAlignFillSiCluster.h:59
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
PixelID::layer_disk
int layer_disk(const Identifier &id) const
Definition: PixelID.h:626
InDetAlignFillSiCluster::RetrievePixelSiClusters
StatusCode RetrievePixelSiClusters()
Definition: InDetAlignFillSiCluster.cxx:224
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
InDetAlignFillSiCluster::m_Pixel_SiClustersName
std::string m_Pixel_SiClustersName
Definition: InDetAlignFillSiCluster.h:56
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
Trk::PrepRawData::localPosition
const Amg::Vector2D & localPosition() const
return the local position reference
SCT_ID::layer_disk
int layer_disk(const Identifier &id) const
Definition: SCT_ID.h:734
InDetAlignFillSiCluster::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: InDetAlignFillSiCluster.h:63
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
InDetAlignFillSiCluster::m_pixel_clcol
NTuple::Matrix< long > m_pixel_clcol
Definition: InDetAlignFillSiCluster.h:91
InDetAlignFillSiCluster::FillSCTSiNtuple
void FillSCTSiNtuple()
Definition: InDetAlignFillSiCluster.cxx:243
InDetAlignFillSiCluster::m_sct_layer
NTuple::Array< long > m_sct_layer
SCT Cluster layer.
Definition: InDetAlignFillSiCluster.h:100
InDet::PixelCluster
Definition: InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelCluster.h:49
InDet::SiCluster::globalPosition
const Amg::Vector3D & globalPosition() const
return global position reference
a
TList * a
Definition: liststreamerinfos.cxx:10
h
SCT_ID::strip
int strip(const Identifier &id) const
Definition: SCT_ID.h:764
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
InDetAlignFillSiCluster::bookNtuple
void bookNtuple()
Definition: InDetAlignFillSiCluster.cxx:144
InDetAlignFillSiCluster::m_pixel_layer
NTuple::Array< long > m_pixel_layer
Pixel Cluster layer.
Definition: InDetAlignFillSiCluster.h:86
DEBUG
#define DEBUG
Definition: page_access.h:11
SCT_ID::eta_module
int eta_module(const Identifier &id) const
Definition: SCT_ID.h:746
AthCommonMsg< AlgTool >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
InDetAlignFillSiCluster::m_pixel_phi
NTuple::Array< long > m_pixel_phi
Pixel Cluster phi.
Definition: InDetAlignFillSiCluster.h:87
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
InDetAlignFillSiCluster::m_ntupleName
std::string m_ntupleName
ntuple name
Definition: InDetAlignFillSiCluster.h:75
SCT_ID::side
int side(const Identifier &id) const
Definition: SCT_ID.h:752
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
InDetAlignFillSiCluster::m_pixel_clx
NTuple::Array< float > m_pixel_clx
Pixel Cluster X.
Definition: InDetAlignFillSiCluster.h:82
PixelID::phi_module
int phi_module(const Identifier &id) const
Definition: PixelID.h:644
InDet::SCT_ClusterCollection
Trk::PrepRawDataCollection< SCT_Cluster > SCT_ClusterCollection
Definition: SCT_ClusterCollection.h:26
InDetAlignFillSiCluster::m_sct_groupsize
NTuple::Array< long > m_sct_groupsize
SCT Cluster Group Size.
Definition: InDetAlignFillSiCluster.h:99
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
InDet::PixelClusterCollection
Trk::PrepRawDataCollection< PixelCluster > PixelClusterCollection
Definition: PixelClusterCollection.h:26
fitman.k
k
Definition: fitman.py:528