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 30 of file SCT_Clusterization.cxx.

30  :
31  AthReentrantAlgorithm(name, pSvcLocator)
32  {
33  // Get parameter values from jobOptions file
34  declareProperty("ClusterContainerCacheKey", m_clusterContainerCacheKey="");
35  declareProperty("FlaggedCondCacheKey", m_flaggedCondCacheKey="");
36  }

◆ 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 82 of file SCT_Clusterization.cxx.

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

◆ 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 330 of file SCT_Clusterization.cxx.

331  {
332  return StatusCode::SUCCESS;
333  }

◆ initialize()

StatusCode InDet::SCT_Clusterization::initialize ( )
overridevirtual

Retrieve the tools used and initialize handle keys.

Definition at line 39 of file SCT_Clusterization.cxx.

39  {
40  ATH_MSG_INFO("SCT_Clusterization::initialize()!");
41 
42  // Get the conditions summary service (continue anyway, just check the pointer
43  // later and declare everything to be 'good' if it is nullptr)
44  ATH_CHECK( m_pSummaryTool.retrieve( DisableTool{!m_checkBadModules.value() || (!m_sctDetElStatus.empty() && !VALIDATE_STATUS_ARRAY_ACTIVATED)} ) );
45 
47 
48  ATH_CHECK(m_rdoContainerKey.initialize());
53  ATH_CHECK(m_flaggedCondCacheKey.initialize(not m_flaggedCondCacheKey.key().empty()));
54 
56 
57  // Get the clustering tool
58  ATH_CHECK(m_clusteringTool.retrieve());
59 
60  // Get the SCT ID helper
61  ATH_CHECK(detStore()->retrieve(m_idHelper, "SCT_ID"));
62 
63  if (m_roiSeeded.value()) {
65  ATH_CHECK(m_regionSelector.retrieve());
66  } else {
68  m_regionSelector.disable();
69  }
70 
71  if ( !m_monTool.empty() ) {
72  ATH_CHECK(m_monTool.retrieve() );
73  }
74  else {
75  ATH_MSG_INFO("Monitoring tool is empty");
76  }
77 
78  return StatusCode::SUCCESS;
79  }

◆ 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 120 of file SCT_Clusterization.h.

◆ m_clusterContainerCacheKey

SG::UpdateHandleKey<SCT_ClusterContainerCache> InDet::SCT_Clusterization::m_clusterContainerCacheKey
private

For HLT cache.

Definition at line 103 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

For HLT cache.

Definition at line 104 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 117 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 118 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 119 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 110 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 121 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
beamspotPlotBcids.k
k
Definition: beamspotPlotBcids.py:524
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
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
beamspotVtxAnalysis.cs
list cs
Definition: beamspotVtxAnalysis.py:391
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
InDet::SCTClusteringCache::idGroups
std::vector< IdVec_t > idGroups
Definition: ISCT_ClusteringTool.h:36
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
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:119
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:117
athena.value
value
Definition: athena.py:122
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:111
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:103
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:120
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:121
InDet::SCT_Clusterization::m_pSummaryTool
ToolHandle< IInDetConditionsTool > m_pSummaryTool
Definition: SCT_Clusterization.h:88
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:92
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:82
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
min
#define min(a, b)
Definition: cfImp.cxx:40
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:191
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:192
SCT_ID::wafer_hash_max
size_type wafer_hash_max(void) const
Definition: SCT_ID.cxx:639
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:118
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:104
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:616
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
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
ServiceHandle< ICondSvc >