ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
InDet::SCT_Clusterization Class Reference

Form clusters from SCT Raw Data Objects. The class loops over an RDO grouping strips and creating collections of clusters, subsequently recorded in StoreGate using WriteHandle(Key). Uses SCT_ConditionsTools to determine which strips to include. More...

#include <SCT_Clusterization.h>

Inheritance diagram for InDet::SCT_Clusterization:
Collaboration diagram for InDet::SCT_Clusterization:

Public Member Functions

 SCT_Clusterization (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor with parameters: More...
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
virtual bool filterPassed (const EventContext &ctx) const
 
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 
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 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
 
Usual algorithm methods
virtual StatusCode initialize () override
 Retrieve the tools used and initialize handle keys. More...
 
virtual StatusCode execute (const EventContext &ctx) const override
 Form clusters and record them in StoreGate by WriteHandle. More...
 
virtual StatusCode finalize () override
 Finalize (nothing done actually) More...
 
virtual bool isClonable () const override
 Make this algorithm clonable. More...
 

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 ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

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...
 
Disallow default instantiation, copy, assignment
 SCT_Clusterization ()=delete
 
 SCT_Clusterization (const SCT_Clusterization &)=delete
 
SCT_Clusterizationoperator= (const SCT_Clusterization &)=delete
 

Private Attributes

DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. 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
 
Service and Tool Handles and ID helper
ToolHandle< IRegSelToolm_regionSelector {this, "RegSelTool", "RegSelTool/RegSel_SCT", "region selector tool for HLT"}
 
ToolHandle< ISCT_ClusteringToolm_clusteringTool {this, "clusteringTool", "InDet::SCT_ClusteringTool"}
 
ToolHandle< IInDetConditionsToolm_pSummaryTool {this, "conditionsTool", "SCT_ConditionsSummaryTool/InDetSCT_ConditionsSummaryTool", "Tool to retrieve SCT conditions summary"}
 
ToolHandle< GenericMonitoringToolm_monTool { this, "MonTool", "", "Monitoring tool" }
 
const SCT_IDm_idHelper {nullptr}
 
Read, Write and Update HandleKeys

StoreGate accesses in AthenaMT way

SG::ReadHandleKey< TrigRoiDescriptorCollectionm_roiCollectionKey {this, "RoIs", "", "RoIs to read in"}
 
SG::ReadHandleKey< SCT_RDO_Containerm_rdoContainerKey {this, "DataObjectName", "SCT_RDOs", "SCT RDOs"}
 
SG::WriteHandleKey< SCT_ClusterContainerm_clusterContainerKey {this, "ClustersName", "SCT_Clusters", "SCT cluster container"}
 
SG::WriteHandleKey< SiClusterContainerm_clusterContainerLinkKey {this, "ClustersLinkName_", "SCT_Clusters", "SCT cluster container link name (don't set this)"}
 
SG::WriteHandleKey< IDCInDetBSErrContainerm_flaggedCondDataKey {this, "SCT_FlaggedCondData", "SCT_FlaggedCondData", "SCT flagged conditions data"}
 
SG::UpdateHandleKey< SCT_ClusterContainerCachem_clusterContainerCacheKey
 For HLT cache. More...
 
SG::UpdateHandleKey< IDCInDetBSErrContainer_Cachem_flaggedCondCacheKey
 For HLT cache. More...
 
SG::ReadHandleKey< InDet::SiDetectorElementStatusm_sctDetElStatus {this, "SCTDetElStatus", "", "Key of SiDetectorElementStatus for SCT"}
 Optional read handle to get status data to test whether a SCT detector element is good. More...
 
Flags to configure SCT_Clusterization
UnsignedIntegerProperty m_maxFiredStrips {this, "maxFiredStrips", 384, "Threshold of number of fired strips per wafer, to mask noisy modules. 0 disables the per-wafer cut."}
 
UnsignedIntegerProperty m_maxTotalOccupancyPercent {this, "maxTotalOccupancyInPercent", 100, "Threshold of percentage of fired strips for the whole SCT. 100 disables the whole SCT cut."}
 
BooleanProperty m_roiSeeded {this, "isRoI_Seeded", false, "Use RoI"}
 
BooleanProperty m_checkBadModules {this, "checkBadModules", true, "Flag to check bad modules using InDetSCT_ConditionsSummaryTool"}
 
Gaudi::Property< bool > m_useDataPoolWithCache
 

Detailed Description

Form clusters from SCT Raw Data Objects. The class loops over an RDO grouping strips and creating collections of clusters, subsequently recorded in StoreGate using WriteHandle(Key). Uses SCT_ConditionsTools to determine which strips to include.

Definition at line 53 of file SCT_Clusterization.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ SCT_Clusterization() [1/3]

InDet::SCT_Clusterization::SCT_Clusterization ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Constructor with parameters:

Definition at line 29 of file SCT_Clusterization.cxx.

29  :
30  AthReentrantAlgorithm(name, pSvcLocator)
31  {}

◆ SCT_Clusterization() [2/3]

InDet::SCT_Clusterization::SCT_Clusterization ( )
privatedelete

◆ SCT_Clusterization() [3/3]

InDet::SCT_Clusterization::SCT_Clusterization ( const SCT_Clusterization )
privatedelete

Member Function Documentation

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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; }

◆ execute()

StatusCode InDet::SCT_Clusterization::execute ( const EventContext &  ctx) const
overridevirtual

Form clusters and record them in StoreGate by WriteHandle.

Definition at line 72 of file SCT_Clusterization.cxx.

72  {
73  //Monitoring Tool Configuration
74  auto mnt_timer_Total = Monitored::Timer<std::chrono::milliseconds>("TIME_Total");
75  auto mnt_timer_SummaryTool = Monitored::Timer<std::chrono::milliseconds>("TIME_SummaryTool");
76  auto mnt_timer_Clusterize = Monitored::Timer<std::chrono::milliseconds>("TIME_Clusterize");
77  // Register the IdentifiableContainer into StoreGate
79  if (m_clusterContainerCacheKey.key().empty()) {
80  ATH_CHECK(clusterContainer.record(std::make_unique<SCT_ClusterContainer>(m_idHelper->wafer_hash_max(), EventContainers::Mode::OfflineFast)));
81  } else {
83  ATH_CHECK(clusterContainer.record(std::make_unique<SCT_ClusterContainer>(clusterContainercache.ptr())));
84  }
85  ATH_MSG_DEBUG("Container '" << clusterContainer.name() << "' initialised");
86 
87  ATH_CHECK(clusterContainer.symLink(m_clusterContainerLinkKey));
88  ATH_CHECK(clusterContainer.isValid());
89  ATH_MSG_DEBUG("SCT clusters '" << clusterContainer.name() << "' symlinked in StoreGate");
90 
92  if (m_flaggedCondCacheKey.key().empty()) {
93  ATH_CHECK(flaggedCondData.record( std::make_unique<IDCInDetBSErrContainer>(m_idHelper->wafer_hash_max(), std::numeric_limits<IDCInDetBSErrContainer::ErrorCode>::min())));
94  ATH_MSG_DEBUG("Created IDCInDetBSErrContainer w/o using external cache");
95  } else {
97  ATH_CHECK(flaggedCondCacheHandle.isValid() );
98  ATH_CHECK(flaggedCondData.record( std::make_unique<IDCInDetBSErrContainer>(flaggedCondCacheHandle.ptr())) );
99  ATH_MSG_DEBUG("Created SCT IDCInDetBSErrContainer using external cache");
100  }
101  std::unordered_map<IdentifierHash, IDCInDetBSErrContainer::ErrorCode> flaggedCondMap; // temporary store of flagged condition error
102 
103  // First, we have to retrieve and access the container, not because we want to
104  // use it, but in order to generate the proxies for the collections, if they
105  // are being provided by a container converter.
107  ATH_CHECK(rdoContainer.isValid());
108 
109  // Anything to dereference the DataHandle will trigger the converter
110  SCT_RDO_Container::const_iterator rdoCollections{rdoContainer->begin()};
111  SCT_RDO_Container::const_iterator rdoCollectionsEnd{rdoContainer->end()};
112  bool dontDoClusterization{false};
113  //new code to remove large numbers of hits (what is large?)
114  if (m_maxTotalOccupancyPercent.value()!=100) {
115  constexpr unsigned int totalNumberOfChannels{6279168};
116  const unsigned int maxAllowableStrips{(totalNumberOfChannels*m_maxTotalOccupancyPercent.value())/100};//integer arithmetic, should be ok
117  unsigned int totalFiredStrips{0};
118  for (; rdoCollections != rdoCollectionsEnd; ++rdoCollections) {
119  for (const SCT_RDORawData* rdo: **rdoCollections) {
120  totalFiredStrips += rdo->getGroupSize();
121  }
122  } //iterator is now at the end
123  //reset the iterator
124  rdoCollections = rdoContainer->begin();
125  if (totalFiredStrips > maxAllowableStrips) {
126  ATH_MSG_WARNING("This event has too many hits in the SCT: " << totalFiredStrips << " > " << maxAllowableStrips);
127  dontDoClusterization = true;
128  }
129  }
131  if (!m_sctDetElStatus.empty()) {
133  ATH_CHECK( sctDetElStatus.isValid() ? StatusCode::SUCCESS : StatusCode::FAILURE);
134  }
135 
136  if (not dontDoClusterization) {
137  std::unique_ptr<DataPool<SCT_Cluster>> dataItemsPool = nullptr;
138  const bool hasExternalCache = rdoContainer->hasExternalCache();
139  if (!hasExternalCache) {
140  dataItemsPool = std::make_unique<DataPool<SCT_Cluster>>(ctx);
141  dataItemsPool->reserve(20000); // Some large default size
142  } else if (m_useDataPoolWithCache) {
143  dataItemsPool = std::make_unique<DataPool<SCT_Cluster>>(ctx);
144  // this is per view so let it expand on its own in blocks
145  }
146  // cache to avoid re-allocation inside the loop.
147  // Trying to re-use the vector capacities.
148  // we clear them inside the methods we call
149 
150  SCTClusteringCache cache;
151  cache.currentVector.reserve(32);
152  cache.idGroups.reserve(16);
153  cache.tbinGroups.reserve(16);
154  if (not m_roiSeeded.value()) { // Full-scan mode
155 
156  for (; rdoCollections != rdoCollectionsEnd; ++rdoCollections) {
157  const InDetRawDataCollection<SCT_RDORawData>* rd{*rdoCollections};
158  ATH_MSG_DEBUG("RDO collection size=" << rd->size() << ", Hash="
159  << rd->identifyHash());
160  SCT_ClusterContainer::IDC_WriteHandle lock{
161  clusterContainer->getWriteHandle(rdoCollections.hashId())};
162  if (lock.OnlineAndPresentInAnotherView()) {
164  "Item already in cache , Hash=" << rd->identifyHash());
165  continue;
166  }
167  bool goodModule{
168  m_checkBadModules.value()
169  ? (!m_sctDetElStatus.empty()
170  ? sctDetElStatus->isGood(rd->identifyHash())
171  : m_pSummaryTool->isGood(rd->identifyHash(), ctx))
172  : true};
175  sctDetElStatus->isGood(rd->identifyHash()),
176  m_pSummaryTool->isGood(rd->identifyHash(), ctx));
177 
178  if (!goodModule) {
179  ATH_MSG_DEBUG(" module status is bad");
180  }
181  // Check the RDO is not empty and that the wafer is good according to
182  // the conditions
183  if ((not rd->empty()) and goodModule) {
184  // If more than a certain number of RDOs set module to bad
185  if (m_maxFiredStrips.value()) {
186  unsigned int nFiredStrips{0};
187  for (const SCT_RDORawData* rdo : *rd) {
188  nFiredStrips += rdo->getGroupSize();
189  }
190  if (nFiredStrips > m_maxFiredStrips.value()) {
191  // This should work in the case of a new code or existing, since
192  // the default init is 0
193  constexpr int value =
195  auto [pPair, inserted] =
196  flaggedCondMap.insert({rd->identifyHash(), value});
197  if (not inserted) {
198  pPair->second |= value;
199  }
200  continue;
201  }
202  }
203  // Use one of the specific clustering AlgTools to make clusters
204  std::unique_ptr<SCT_ClusterCollection> clusterCollection{
205  m_clusteringTool->clusterize(
206  *rd, *m_idHelper,
207  !m_sctDetElStatus.empty() ? sctDetElStatus.cptr() : nullptr,
208  cache, dataItemsPool.get(), ctx)};
209  if (clusterCollection) {
210  if (not clusterCollection->empty()) {
211  const IdentifierHash hash{clusterCollection->identifyHash()};
212  ATH_CHECK(lock.addOrDelete(std::move(clusterCollection)));
213  ATH_MSG_DEBUG("Clusters with key '"
214  << hash << "' added to Container\n");
215  } else {
216  ATH_MSG_DEBUG("Don't write empty collections\n");
217  }
218  } else {
219  ATH_MSG_DEBUG("Clustering algorithm found no clusters\n");
220  }
221  }
222  }
223  } else { // enter RoI-seeded mode
225  m_roiCollectionKey, ctx};
226  ATH_CHECK(roiCollection.isValid());
227  TrigRoiDescriptorCollection::const_iterator roi{roiCollection->begin()};
228  TrigRoiDescriptorCollection::const_iterator roiE{roiCollection->end()};
229  std::vector<IdentifierHash> listOfSCTIds;
230  for (; roi != roiE; ++roi) {
231  listOfSCTIds.clear(); // Prevents needless memory reallocations
232 
233  m_regionSelector->lookup(ctx)->HashIDList( **roi, listOfSCTIds );
234 
235  ATH_MSG_VERBOSE(**roi);
236  ATH_MSG_VERBOSE("REGTEST: SCT : Roi contains " << listOfSCTIds.size()
237  << " det. Elements");
238  for (size_t i{0}; i < listOfSCTIds.size(); i++) {
239  IdentifierHash id = listOfSCTIds[i];
240  const InDetRawDataCollection<SCT_RDORawData>* RDO_Collection{
241  rdoContainer->indexFindPtr(id)};
242  if (RDO_Collection == nullptr){
243  continue;
244  }
245  bool goodModule;
246  {
247  Monitored::ScopedTimer time_SummaryTool(mnt_timer_SummaryTool);
248  goodModule = {m_checkBadModules.value()
249  ? (!m_sctDetElStatus.empty()
250  ? sctDetElStatus->isGood(id)
251  : m_pSummaryTool->isGood(id, ctx))
252  : true};
255  sctDetElStatus->isGood(id), m_pSummaryTool->isGood(id));
256  if (!goodModule){
257  ATH_MSG_VERBOSE("module status flagged as BAD");
258  }
259  }
260  // Check the RDO is not empty and that the wafer is good according
261  // to the conditions
262  if ((not RDO_Collection->empty()) and goodModule) {
263  // If more than a certain number of RDOs set module to bad
264  if (m_maxFiredStrips.value()) {
265  unsigned int nFiredStrips{0};
266  for (const SCT_RDORawData* rdo : *RDO_Collection){
267  nFiredStrips += rdo->getGroupSize();
268  }
269  if (nFiredStrips > m_maxFiredStrips.value()) {
270  // This should work in the case of a new code or existing,
271  // since the default init is 0
272  constexpr int value =
274  auto [pPair, inserted] = flaggedCondMap.insert({id, value});
275  if (not inserted) {
276  pPair->second |= value;
277  }
278  continue;
279  }
280  }
281  }
282 
283  SCT_ClusterContainer::IDC_WriteHandle lock{
284  clusterContainer->getWriteHandle(listOfSCTIds[i])};
285  if (lock.OnlineAndPresentInAnotherView()) {
286  ATH_MSG_DEBUG("Item already in cache , Hash=" << listOfSCTIds[i]);
287  continue;
288  }
289 
290  // Use one of the specific clustering AlgTools to make clusters
291  {
292  Monitored::ScopedTimer time_Clusterize(mnt_timer_Clusterize);
293  std::unique_ptr<SCT_ClusterCollection> clusterCollection{
294  m_clusteringTool->clusterize(
295  *RDO_Collection, *m_idHelper,
296  !m_sctDetElStatus.empty() ? sctDetElStatus.cptr()
297  : nullptr,
298  cache, dataItemsPool.get(), ctx)};
299  if (clusterCollection and (not clusterCollection->empty())) {
300  ATH_MSG_VERBOSE("REGTEST: SCT : clusterCollection contains " << clusterCollection->size() << " clusters");
301  ATH_CHECK(lock.addOrDelete(std::move(clusterCollection)));
302  } else {
303  ATH_MSG_DEBUG("No SCTClusterCollection to write");
304  }
305  }
306  }
307  }
308  }
309  }
310  // Set container to const
311  ATH_CHECK(clusterContainer.setConst());
312 
313  // Fill flaggedCondData
314  for (auto [hash, error] : flaggedCondMap) {
315  flaggedCondData->setOrDrop(hash, error);
316  }
317  auto monTime = Monitored::Group(m_monTool, mnt_timer_Total, mnt_timer_Clusterize, mnt_timer_SummaryTool);
318  return StatusCode::SUCCESS;
319  }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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

◆ extraOutputDeps()

const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 79 of file AthReentrantAlgorithm.cxx.

80 {
81  // If we didn't find any symlinks to add, just return the collection
82  // from the base class. Otherwise, return the extended collection.
83  if (!m_extendedExtraObjects.empty()) {
85  }
86  return Algorithm::extraOutputDeps();
87 }

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ finalize()

StatusCode InDet::SCT_Clusterization::finalize ( )
overridevirtual

Finalize (nothing done actually)

Definition at line 322 of file SCT_Clusterization.cxx.

323  {
324  return StatusCode::SUCCESS;
325  }

◆ initialize()

StatusCode InDet::SCT_Clusterization::initialize ( )
overridevirtual

Retrieve the tools used and initialize handle keys.

Definition at line 34 of file SCT_Clusterization.cxx.

34  {
35  // Get the conditions summary service (continue anyway, just check the pointer
36  // later and declare everything to be 'good' if it is nullptr)
37  ATH_CHECK( m_pSummaryTool.retrieve( DisableTool{!m_checkBadModules.value() || (!m_sctDetElStatus.empty() && !VALIDATE_STATUS_ARRAY_ACTIVATED)} ) );
38 
40 
41  ATH_CHECK(m_rdoContainerKey.initialize());
46  ATH_CHECK(m_flaggedCondCacheKey.initialize(not m_flaggedCondCacheKey.key().empty()));
47 
49 
50  // Get the clustering tool
51  ATH_CHECK(m_clusteringTool.retrieve());
52 
53  // Get the SCT ID helper
54  ATH_CHECK(detStore()->retrieve(m_idHelper, "SCT_ID"));
55 
56  if (m_roiSeeded.value()) {
58  ATH_CHECK(m_regionSelector.retrieve());
59  } else {
61  m_regionSelector.disable();
62  }
63 
64  if ( !m_monTool.empty() ) {
65  ATH_CHECK(m_monTool.retrieve() );
66  }
67 
68  return StatusCode::SUCCESS;
69  }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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.

◆ isClonable()

virtual bool InDet::SCT_Clusterization::isClonable ( ) const
inlineoverridevirtual

Make this algorithm clonable.

Reimplemented from AthReentrantAlgorithm.

Definition at line 69 of file SCT_Clusterization.h.

69 { return true; };

◆ msg() [1/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::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< Gaudi::Algorithm >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

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

◆ operator=()

SCT_Clusterization& InDet::SCT_Clusterization::operator= ( const SCT_Clusterization )
privatedelete

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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  }

◆ setFilterPassed()

virtual void AthReentrantAlgorithm::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 139 of file AthReentrantAlgorithm.h.

139  {
140  execState( ctx ).setFilterPassed( state );
141  }

◆ sysExecute()

StatusCode AthReentrantAlgorithm::sysExecute ( const EventContext &  ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 67 of file AthReentrantAlgorithm.cxx.

68 {
69  return Gaudi::Algorithm::sysExecute (ctx);
70 }

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

96  {
98 
99  if (sc.isFailure()) {
100  return sc;
101  }
102 
103  ServiceHandle<ICondSvc> cs("CondSvc",name());
104  for (auto h : outputHandles()) {
105  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
106  // do this inside the loop so we don't create the CondSvc until needed
107  if ( cs.retrieve().isFailure() ) {
108  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
109  return StatusCode::SUCCESS;
110  }
111  if (cs->regHandle(this,*h).isFailure()) {
112  sc = StatusCode::FAILURE;
113  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
114  << " with CondSvc");
115  }
116  }
117  }
118  return sc;
119 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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_checkBadModules

BooleanProperty InDet::SCT_Clusterization::m_checkBadModules {this, "checkBadModules", true, "Flag to check bad modules using InDetSCT_ConditionsSummaryTool"}
private

Definition at line 123 of file SCT_Clusterization.h.

◆ m_clusterContainerCacheKey

SG::UpdateHandleKey<SCT_ClusterContainerCache> InDet::SCT_Clusterization::m_clusterContainerCacheKey
private
Initial value:
{
this, "ClusterContainerCacheKey", ""}

For HLT cache.

Definition at line 104 of file SCT_Clusterization.h.

◆ m_clusterContainerKey

SG::WriteHandleKey<SCT_ClusterContainer> InDet::SCT_Clusterization::m_clusterContainerKey {this, "ClustersName", "SCT_Clusters", "SCT cluster container"}
private

Definition at line 100 of file SCT_Clusterization.h.

◆ m_clusterContainerLinkKey

SG::WriteHandleKey<SiClusterContainer> InDet::SCT_Clusterization::m_clusterContainerLinkKey {this, "ClustersLinkName_", "SCT_Clusters", "SCT cluster container link name (don't set this)"}
private

Definition at line 101 of file SCT_Clusterization.h.

◆ m_clusteringTool

ToolHandle<ISCT_ClusteringTool> InDet::SCT_Clusterization::m_clusteringTool {this, "clusteringTool", "InDet::SCT_ClusteringTool"}
private

Definition at line 87 of file SCT_Clusterization.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_flaggedCondCacheKey

SG::UpdateHandleKey<IDCInDetBSErrContainer_Cache> InDet::SCT_Clusterization::m_flaggedCondCacheKey
private
Initial value:
{
this, "FlaggedCondCacheKey", ""}

For HLT cache.

Definition at line 106 of file SCT_Clusterization.h.

◆ m_flaggedCondDataKey

SG::WriteHandleKey<IDCInDetBSErrContainer> InDet::SCT_Clusterization::m_flaggedCondDataKey {this, "SCT_FlaggedCondData", "SCT_FlaggedCondData", "SCT flagged conditions data"}
private

Definition at line 102 of file SCT_Clusterization.h.

◆ m_idHelper

const SCT_ID* InDet::SCT_Clusterization::m_idHelper {nullptr}
private

Definition at line 90 of file SCT_Clusterization.h.

◆ m_maxFiredStrips

UnsignedIntegerProperty InDet::SCT_Clusterization::m_maxFiredStrips {this, "maxFiredStrips", 384, "Threshold of number of fired strips per wafer, to mask noisy modules. 0 disables the per-wafer cut."}
private

Definition at line 120 of file SCT_Clusterization.h.

◆ m_maxTotalOccupancyPercent

UnsignedIntegerProperty InDet::SCT_Clusterization::m_maxTotalOccupancyPercent {this, "maxTotalOccupancyInPercent", 100, "Threshold of percentage of fired strips for the whole SCT. 100 disables the whole SCT cut."}
private

Definition at line 121 of file SCT_Clusterization.h.

◆ m_monTool

ToolHandle< GenericMonitoringTool > InDet::SCT_Clusterization::m_monTool { this, "MonTool", "", "Monitoring tool" }
private

Definition at line 89 of file SCT_Clusterization.h.

◆ m_pSummaryTool

ToolHandle<IInDetConditionsTool> InDet::SCT_Clusterization::m_pSummaryTool {this, "conditionsTool", "SCT_ConditionsSummaryTool/InDetSCT_ConditionsSummaryTool", "Tool to retrieve SCT conditions summary"}
private

Definition at line 88 of file SCT_Clusterization.h.

◆ m_rdoContainerKey

SG::ReadHandleKey<SCT_RDO_Container> InDet::SCT_Clusterization::m_rdoContainerKey {this, "DataObjectName", "SCT_RDOs", "SCT RDOs"}
private

Definition at line 99 of file SCT_Clusterization.h.

◆ m_regionSelector

ToolHandle<IRegSelTool> InDet::SCT_Clusterization::m_regionSelector {this, "RegSelTool", "RegSelTool/RegSel_SCT", "region selector tool for HLT"}
private

Definition at line 86 of file SCT_Clusterization.h.

◆ m_roiCollectionKey

SG::ReadHandleKey<TrigRoiDescriptorCollection> InDet::SCT_Clusterization::m_roiCollectionKey {this, "RoIs", "", "RoIs to read in"}
private

Definition at line 98 of file SCT_Clusterization.h.

◆ m_roiSeeded

BooleanProperty InDet::SCT_Clusterization::m_roiSeeded {this, "isRoI_Seeded", false, "Use RoI"}
private

Definition at line 122 of file SCT_Clusterization.h.

◆ m_sctDetElStatus

SG::ReadHandleKey<InDet::SiDetectorElementStatus> InDet::SCT_Clusterization::m_sctDetElStatus {this, "SCTDetElStatus", "", "Key of SiDetectorElementStatus for SCT"}
private

Optional read handle to get status data to test whether a SCT detector element is good.

If set to e.g. SCTDetectorElementStatus the event data will be used instead of the SCT conditions summary tool.

Definition at line 113 of file SCT_Clusterization.h.

◆ m_useDataPoolWithCache

Gaudi::Property<bool> InDet::SCT_Clusterization::m_useDataPoolWithCache
private
Initial value:
{
this, "useDataPoolWithCache", false, "use DataPool With Cache"}

Definition at line 124 of file SCT_Clusterization.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
TrigDefs::Group
Group
Properties of a chain group.
Definition: GroupProperties.h:13
SG::ReadHandle::cptr
const_pointer_type cptr()
Dereference the pointer.
InDet::SCT_Clusterization::m_flaggedCondDataKey
SG::WriteHandleKey< IDCInDetBSErrContainer > m_flaggedCondDataKey
Definition: SCT_Clusterization.h:102
InDet::SCT_Clusterization::m_idHelper
const SCT_ID * m_idHelper
Definition: SCT_Clusterization.h:90
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
InDet::SCTClusteringCache::idGroups
std::vector< IdVec_t > idGroups
Definition: ISCT_ClusteringTool.h:36
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
min
constexpr double min()
Definition: ap_fixedTest.cxx:26
AthCommonDataStore::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 > renounce(T &h)
Definition: AthCommonDataStore.h:380
InDet::SCT_Clusterization::m_roiSeeded
BooleanProperty m_roiSeeded
Definition: SCT_Clusterization.h:122
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
InDet::SCT_Clusterization::m_maxFiredStrips
UnsignedIntegerProperty m_maxFiredStrips
Definition: SCT_Clusterization.h:120
athena.value
value
Definition: athena.py:124
SCT_RDORawData
Definition: SCT_RDORawData.h:24
InDet::SCT_Clusterization::m_sctDetElStatus
SG::ReadHandleKey< InDet::SiDetectorElementStatus > m_sctDetElStatus
Optional read handle to get status data to test whether a SCT detector element is good.
Definition: SCT_Clusterization.h:114
SCT_FlaggedCondEnum::ExceedMaxFiredStrips
@ ExceedMaxFiredStrips
Definition: SCT_FlaggedCondEnum.h:26
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
SG::VarHandleKey::empty
bool empty() const
Test if the key is blank.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:150
InDet::SCTClusteringCache::tbinGroups
std::vector< uint16_t > tbinGroups
Definition: ISCT_ClusteringTool.h:37
InDet::SCT_Clusterization::m_clusterContainerCacheKey
SG::UpdateHandleKey< SCT_ClusterContainerCache > m_clusterContainerCacheKey
For HLT cache.
Definition: SCT_Clusterization.h:104
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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
InDet::SCT_Clusterization::m_checkBadModules
BooleanProperty m_checkBadModules
Definition: SCT_Clusterization.h:123
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
InDet::SCT_Clusterization::m_clusteringTool
ToolHandle< ISCT_ClusteringTool > m_clusteringTool
Definition: SCT_Clusterization.h:87
InDet::SCT_Clusterization::m_useDataPoolWithCache
Gaudi::Property< bool > m_useDataPoolWithCache
Definition: SCT_Clusterization.h:124
InDet::SCT_Clusterization::m_pSummaryTool
ToolHandle< IInDetConditionsTool > m_pSummaryTool
Definition: SCT_Clusterization.h:88
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
VALIDATE_STATUS_ARRAY
#define VALIDATE_STATUS_ARRAY(use_info, info_val, summary_val)
Definition: SiDetectorElementStatus.h:51
lumiFormat.i
int i
Definition: lumiFormat.py:85
InDet::SCT_Clusterization::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
Definition: SCT_Clusterization.h:86
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
InDet::SCTClusteringCache::currentVector
IdVec_t currentVector
Definition: ISCT_ClusteringTool.h:33
InDetRawDataCollection
Definition: InDetRawDataCollection.h:31
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
IdentifiableContainerMT::const_iterator
Definition: IdentifiableContainerMT.h:79
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
InDet::SCT_Clusterization::m_rdoContainerKey
SG::ReadHandleKey< SCT_RDO_Container > m_rdoContainerKey
Definition: SCT_Clusterization.h:99
SG::ReadHandle::isValid
virtual bool isValid() override final
Can the handle be successfully dereferenced?
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
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
InDet::SiDetectorElementStatus::isGood
bool isGood(IdentifierHash hash) const
Definition: SiDetectorElementStatus.h:97
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
InDet::SCT_Clusterization::m_clusterContainerLinkKey
SG::WriteHandleKey< SiClusterContainer > m_clusterContainerLinkKey
Definition: SCT_Clusterization.h:101
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_ID::wafer_hash_max
size_type wafer_hash_max(void) const
Definition: SCT_ID.cxx:645
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
SG::UpdateHandle
Definition: UpdateHandle.h:94
InDet::SCT_Clusterization::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Definition: SCT_Clusterization.h:98
EventContainers::Mode::OfflineFast
@ OfflineFast
InDet::SCT_Clusterization::m_maxTotalOccupancyPercent
UnsignedIntegerProperty m_maxTotalOccupancyPercent
Definition: SCT_Clusterization.h:121
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:76
InDet::SCT_Clusterization::m_flaggedCondCacheKey
SG::UpdateHandleKey< IDCInDetBSErrContainer_Cache > m_flaggedCondCacheKey
For HLT cache.
Definition: SCT_Clusterization.h:106
a
TList * a
Definition: liststreamerinfos.cxx:10
h
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
InDet::SCTClusteringCache
Definition: ISCT_ClusteringTool.h:29
Monitored::ScopedTimer
Helper class to create a scoped timer.
Definition: MonitoredTimer.h:95
error
Definition: IImpactPoint3dEstimator.h:70
InDet::SCT_Clusterization::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: SCT_Clusterization.h:89
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::SCT_Clusterization::m_clusterContainerKey
SG::WriteHandleKey< SCT_ClusterContainer > m_clusterContainerKey
Definition: SCT_Clusterization.h:100
Monitored::Timer
A monitored timer.
Definition: MonitoredTimer.h:32
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >