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

#include <BackgroundWordFiller.h>

Inheritance diagram for BackgroundWordFiller:
Collaboration diagram for BackgroundWordFiller:

Public Member Functions

 BackgroundWordFiller (const std::string &name, ISvcLocator *pSvcLocator)
 
 ~BackgroundWordFiller ()
 
StatusCode initialize ()
 
StatusCode execute ()
 
StatusCode finalize ()
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
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
 

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...
 

Private Attributes

SG::ReadHandleKey< xAOD::EventInfom_eventInfoKey
 ReadHandleKey for EventInfo object. More...
 
SG::ReadHandleKey< BeamBackgroundDatam_beamBackgroundDataKey
 ReadHandleKey for BeamBackgroundData. More...
 
SG::ReadHandleKey< LUCID_RawDataContainerm_LUCID_rawDataContainerKey
 ReadHandleKey for LUCID_RawDataContainer. More...
 
SG::ReadHandleKey< BcmCollisionTimem_bcmCollisionTimeKey
 ReadHandleKey for BcmCollisionTime. More...
 
SG::ReadHandleKey< SpacePointContainerm_sctSpacePointKey
 ReadHandleKey for SpacePointContainers. More...
 
SG::ReadHandleKey< SpacePointContainerm_pixSpacePointKey
 
SG::ReadHandleKey< TileCellContainerm_tileCellContainerKey
 ReadHandleKey for TileCellContainer. More...
 
SG::ReadHandleKey< LArCollisionTimem_lArCollisionTimeKey
 ReadHandleKey for LArCollisionTime. More...
 
SG::WriteDecorHandleKey< xAOD::EventInfom_eventInfoDecorKey
 WriteDecorHandleKey: needed for scheduling downstream clients. More...
 
Gaudi::Property< bool > m_isMC
 
int m_HaloNumSegment_Cut
 
int m_HaloNumClusterShape_Cut
 
int m_HaloNumOneSidedLoose_Cut
 
int m_HaloNumTwoSided_Cut
 
int m_PixMultiplicityHuge_Cut
 
int m_PixSPNonEmpty_Cut
 
int m_SCTMultiplicityHuge_Cut
 
int m_SCTSPNonEmpty_Cut
 
int m_LUCIDBeamVeto_Cut
 
float m_BCMTimeDiffCol_Cut
 
float m_BCMTimeDiffHalo_CutLo
 
int m_BCMHiGainCut
 
int m_BCMLowGainCut
 
int m_MBTSBeamVeto_MultiplicityCut
 
int m_MBTSBeamVeto_TimeCut
 
float m_MBTSBeamVeto_ThresholdCut
 
const uint8_t m_MBTSmask
 
const uint8_t m_MBTSpattern
 
int m_LArEC_SideCut
 
float m_LArECTimeDiffCol_Cut
 
float m_LArECTimeDiffHalo_CutLo
 
float m_LArECTimeDiffHalo_CutHi
 
unsigned int m_totalcnt
 
std::array< unsigned int, xAOD::EventInfo::NBackgroundWordsm_bitcntvec
 
std::array< const char *, xAOD::EventInfo::NBackgroundWordsm_bitnamevec
 
DataObjIDColl m_extendedExtraObjects
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 25 of file BackgroundWordFiller.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ BackgroundWordFiller()

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

Definition at line 45 of file BackgroundWordFiller.cxx.

47  : AthAlgorithm(name, pSvcLocator),
59  m_BCMHiGainCut(0),
60  m_BCMLowGainCut(0),
67  m_LArEC_SideCut(0),
71  m_totalcnt(0),
72  m_bitnamevec{{"MBTSTimeDiffHalo", "MBTSTimeDiffCol",
73  "LArECTimeDiffHalo", "LArECTimeDiffCol",
74  "PixMultiplicityHuge", "PixSPNonEmpty",
75  "SCTMultiplicityHuge", "SCTSPNonEmpty",
76  "CSCTimeDiffHalo", "CSCTimeDiffCol",
77  "BCMTimeDiffHalo", "BCMTimeDiffCol",
78  "MuonTimingCol", "MuonTimingCosmic",
79  "MBTSBeamVeto", "BCMBeamVeto",
80  "LUCIDBeamVeto", "HaloMuonSegment",
81  "HaloClusterShape", "HaloMuonOneSided",
82  "HaloMuonTwoSided", "HaloTileClusterPattern",
83  "BeamGasPixel", "CosmicStandAlone",
84  "CosmicStandAloneTight", "CosmicCombined",
85  "CosmicCombinedTight", "BkgdResvBit1",
86  "BkgdResvBit2", "BkgdResvBit3",
87  "BkgdResvBit4", "BkgdResvBit5"}}
88 
89 {
90  // ID
91  declareProperty("HaloNumSegment_Cut", m_HaloNumSegment_Cut = 0);
92  declareProperty("HaloNumClusterShape_Cut", m_HaloNumClusterShape_Cut = 0);
93  declareProperty("HaloNumOneSidedLoose_Cut", m_HaloNumOneSidedLoose_Cut = 0);
94  declareProperty("HaloNumTwoSided_Cut", m_HaloNumTwoSided_Cut = 0);
95  declareProperty("PixMultiplicityHuge_Cut",
96  m_PixMultiplicityHuge_Cut = 100000);
97  declareProperty("PixSPNonEmpty_Cut", m_PixSPNonEmpty_Cut = 10);
98  declareProperty("SCTMultiplicityHuge_Cut",
99  m_SCTMultiplicityHuge_Cut = 100000);
100  declareProperty("SCTSPNonEmpty_Cut", m_SCTSPNonEmpty_Cut = 10);
101 
102  // LUCID
103  declareProperty("LUCIDBeamVeto_Cut", m_LUCIDBeamVeto_Cut = 0); // >0
104 
105  declareProperty("BCMTimeDiffCol_Cut", m_BCMTimeDiffCol_Cut = 6.);
106  declareProperty("BCMTimeDiffHalo_CutLo", m_BCMTimeDiffHalo_CutLo = 6.);
107  declareProperty("BCMLowGainCut", m_BCMLowGainCut = 1);
108  declareProperty("BCMHiGainCut", m_BCMHiGainCut = 1);
109 
110  declareProperty("MBTSBeamVeto_MultiplicityCut",
112  declareProperty("MBTSBeamVeto_TimeCut", m_MBTSBeamVeto_TimeCut = 15.);
113  declareProperty("MBTSBeamVeto_ThresholdCut",
114  m_MBTSBeamVeto_ThresholdCut = 40.0 / 222.0);
115  // LAr
116  declareProperty("LArEC_SideCut", m_LArEC_SideCut = 1);
117  declareProperty("LArECTimeDiffCol_Cut", m_LArECTimeDiffCol_Cut = 10.);
118  declareProperty("LArECTimeDiffHalo_CutLo", m_LArECTimeDiffHalo_CutLo = 10.);
119  declareProperty("LArECTimeDiffHalo_CutHi", m_LArECTimeDiffHalo_CutHi = 30.);
120 
121  // Reset counter-array
122  m_bitcntvec.fill(0);
123 }

◆ ~BackgroundWordFiller()

BackgroundWordFiller::~BackgroundWordFiller ( )

Definition at line 127 of file BackgroundWordFiller.cxx.

127 {}

Member Function Documentation

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< 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< 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< 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< 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< 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< 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< 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< 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< 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< 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< 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< 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< 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 BackgroundWordFiller::execute ( )

Definition at line 149 of file BackgroundWordFiller.cxx.

149  {
150 
152  // get the EventInfo
154 
155  SG::ReadHandle<xAOD::EventInfo> eventInfoReadHandle(m_eventInfoKey);
156 
157  m_totalcnt++;
158 
160  // NOW SET THE BITS!!
162 
164  // Halo Identification
166  if (!m_isMC) { // do not request in MC
167  SG::ReadHandle<BeamBackgroundData> beamBackgroundDataReadHandle(
169 
170  if (!beamBackgroundDataReadHandle.isValid())
171  ATH_MSG_WARNING("Invalid ReadHandle to BeamBackgoundData with name: "
173  else {
174  if (beamBackgroundDataReadHandle->GetNumSegment() >
176  if (eventInfoReadHandle->updateEventFlagBit(
178  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
180  else
182  }
183  if (beamBackgroundDataReadHandle->GetNumClusterShape() >
185  if (eventInfoReadHandle->updateEventFlagBit(
187  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
189  else
191  }
192  if (beamBackgroundDataReadHandle->GetNumNoTimeLoose() >
194  if (eventInfoReadHandle->updateEventFlagBit(
196  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
198  else
200  }
201  if (beamBackgroundDataReadHandle->GetNumTwoSidedNoTime() >
203  if (eventInfoReadHandle->updateEventFlagBit(
205  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
207  else
209  }
210  }
211  }
212 
214  // LUCID: LUCIDBeamVeto
216 
217  if (!m_isMC) { // do not request in MC
218  SG::ReadHandle<LUCID_RawDataContainer> LUCID_rawDataContainerReadHandle(
220 
221  if (!LUCID_rawDataContainerReadHandle.isValid())
222  ATH_MSG_WARNING("Invalid ReadHandle to LUCID_RawDataContainer with name: "
224  else {
225  int LUCIDcounter(0);
226  for (auto LUCID_rawData : *LUCID_rawDataContainerReadHandle) {
227  LUCIDcounter += LUCID_rawData->getNhitsPMTsideA();
228  LUCIDcounter += LUCID_rawData->getNhitsPMTsideC();
229  }
230  if (LUCIDcounter > m_LUCIDBeamVeto_Cut) {
231  if (eventInfoReadHandle->updateEventFlagBit(
233  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
235  else
237  }
238  }
239  }
240 
242  // BCM: BCMTimeDiffHalo, BCMTimeDiffCol, BCMBeamVeto
244 
245  SG::ReadHandle<BcmCollisionTime> bcmCollisionTimeReadHandle(
247 
248  if (!bcmCollisionTimeReadHandle.isValid())
249  ATH_MSG_WARNING("Invalid ReadHandle to BcmCollisionTime with name: "
251  else {
252  std::vector<float> bcmTDs = bcmCollisionTimeReadHandle->getDeltaT();
253  ATH_MSG_DEBUG(" got BCMCollisionTime object getMultiLG "
254  << bcmCollisionTimeReadHandle->getMultiLG() << " getMultiHG "
255  << bcmCollisionTimeReadHandle->getMultiHG() << " TDs size "
256  << bcmTDs.size());
257  float minTD = 999;
258  float maxTD = 0;
259 
260  for (unsigned int i = 0; i < bcmTDs.size(); i++) {
261  float td = bcmTDs.at(i);
262  ATH_MSG_DEBUG(" BCMCollisionTime td " << i << " " << td);
263  if (fabs(td) > fabs(maxTD))
264  maxTD = td;
265  if (fabs(td) < fabs(minTD))
266  minTD = td;
267  }
268 
269  ATH_MSG_DEBUG(" BCMCollisionTime minDT " << minTD << " maxDT " << maxTD);
270 
271  if (fabs(minTD) < m_BCMTimeDiffCol_Cut) {
272  if (eventInfoReadHandle->updateEventFlagBit(
274  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
276  else
278  }
279  if (fabs(maxTD) > m_BCMTimeDiffHalo_CutLo) {
280  if (eventInfoReadHandle->updateEventFlagBit(
282  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
284  else
286  }
287  if (bcmCollisionTimeReadHandle->getMultiLG() > m_BCMLowGainCut ||
288  bcmCollisionTimeReadHandle->getMultiHG() > m_BCMHiGainCut) {
289  if (eventInfoReadHandle->updateEventFlagBit(
291  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
293  else
295  }
296  }
297 
299  // ID SP multiplicities from Raw for filling: IDMultiplicityHuge,
300  // IDSPNonEmpty
302  if (!m_isMC) { // do not request in MC
305 
306  if (!sctSP.isValid() or !pixSP.isValid()) {
307  ATH_MSG_WARNING("Invalid ReadHandle to SCT/Pix spacepoints");
308  } else {
309  int NSCTsps = 0;
310  int NPIXsps = 0;
311  std::for_each(sctSP->begin(), sctSP->end(), [&NSCTsps](const auto coll) {
312  if (coll)
313  NSCTsps += coll->size();
314  });
315  std::for_each(pixSP->begin(), pixSP->end(), [&NPIXsps](const auto coll) {
316  if (coll)
317  NPIXsps += coll->size();
318  });
319 
320  // set IDMultiplicityHuge
321  if ((NPIXsps) > m_PixMultiplicityHuge_Cut) {
322  if (eventInfoReadHandle->updateEventFlagBit(
324  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
326  else
328  }
329 
330  // set PixSPNonEmpty
331  if ((NPIXsps) > m_PixSPNonEmpty_Cut) {
332  if (eventInfoReadHandle->updateEventFlagBit(
334  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
336  else
338  }
339 
340  if ((NSCTsps) > m_SCTMultiplicityHuge_Cut) {
341  if (eventInfoReadHandle->updateEventFlagBit(
343  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
345  else
347  }
348 
349  // set SCTSPNonEmpty
350  if ((NSCTsps) > m_SCTSPNonEmpty_Cut) {
351  if (eventInfoReadHandle->updateEventFlagBit(
353  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
355  else
357  }
358  }
359  }
360 
362  // MBTSBeamVeto
364 
365  SG::ReadHandle<TileCellContainer> tileCellContainerReadHandle(
367 
368  if (!tileCellContainerReadHandle.isValid())
369  ATH_MSG_WARNING("Invalid ReadHandle to TileCellContainer: "
370  << m_tileCellContainerKey.key());
371  else {
372  int MBTScount(0);
373 
374  for (auto tileCellContainer : *tileCellContainerReadHandle) {
375  if (tileCellContainer->energy() < m_MBTSBeamVeto_ThresholdCut)
376  continue;
377  const uint8_t qbit1 = tileCellContainer->qbit1();
378 
379  if ((qbit1 & m_MBTSmask) != m_MBTSpattern) {
380  ATH_MSG_DEBUG("Rejected based on quality bits");
381  continue;
382  }
383  if (fabs(tileCellContainer->time()) < m_MBTSBeamVeto_TimeCut)
384  MBTScount++;
385  } // loop on MBTS containers
386 
387  if (MBTScount > m_MBTSBeamVeto_MultiplicityCut) {
388  if (eventInfoReadHandle->updateEventFlagBit(
390  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
392  else
394  }
395  }
396 
398  // LAr EC collision timing stuff (from Guillaume...) - for filling:
399  // LArECTimeDiffHalo, LArECTimeDiffCol
401 
402  if (!m_isMC) { // do not request in MC
403  SG::ReadHandle<LArCollisionTime> lArCollisionTimeReadHandle(
405 
406  if (!lArCollisionTimeReadHandle.isValid())
407  ATH_MSG_WARNING("Invalid ReadHandle to LArCollisionTime: "
409  else {
410  if (lArCollisionTimeReadHandle->ncellA() > m_LArEC_SideCut &&
411  lArCollisionTimeReadHandle->ncellC() > m_LArEC_SideCut) {
412  float LArECtimeDiff = lArCollisionTimeReadHandle->timeA() -
413  lArCollisionTimeReadHandle->timeC();
414  if (fabs(LArECtimeDiff) < m_LArECTimeDiffCol_Cut) {
415  if (eventInfoReadHandle->updateEventFlagBit(
417  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
419  else
421  }
422  if (fabs(LArECtimeDiff) > m_LArECTimeDiffHalo_CutLo &&
423  fabs(LArECtimeDiff) < m_LArECTimeDiffHalo_CutHi) {
424  if (eventInfoReadHandle->updateEventFlagBit(
426  ATH_MSG_WARNING("Failed to set EventInfo Background word bit "
428  else
430  } // halo timing
431  } // enough hits per side
432  }
433  }
434 
436  // printout the final background word
438  ATH_MSG_DEBUG("Summary of background word contents:");
439  ATH_MSG_DEBUG("MBTSTimeDiffHalo: " << eventInfoReadHandle->isEventFlagBitSet(
441  ATH_MSG_DEBUG("MBTSTimeDiffCol: " << eventInfoReadHandle->isEventFlagBitSet(
443  ATH_MSG_DEBUG("MBTSBeamVeto: " << eventInfoReadHandle->isEventFlagBitSet(
445  ATH_MSG_DEBUG("LArECTimeDiffHalo: " << eventInfoReadHandle->isEventFlagBitSet(
447  ATH_MSG_DEBUG("LArECTimeDiffCol: " << eventInfoReadHandle->isEventFlagBitSet(
450  "PixMultiplicityHuge: " << eventInfoReadHandle->isEventFlagBitSet(
452  ATH_MSG_DEBUG("PixSPNonEmpty: " << eventInfoReadHandle->isEventFlagBitSet(
455  "SCTMultiplicityHuge: " << eventInfoReadHandle->isEventFlagBitSet(
457  ATH_MSG_DEBUG("SCTSPNonEmpty: " << eventInfoReadHandle->isEventFlagBitSet(
459  ATH_MSG_DEBUG("CSCTimeDiffHalo: " << eventInfoReadHandle->isEventFlagBitSet(
461  ATH_MSG_DEBUG("CSCTimeDiffCol: " << eventInfoReadHandle->isEventFlagBitSet(
463  ATH_MSG_DEBUG("BCMTimeDiffHalo: " << eventInfoReadHandle->isEventFlagBitSet(
465  ATH_MSG_DEBUG("BCMTimeDiffCol: " << eventInfoReadHandle->isEventFlagBitSet(
467  ATH_MSG_DEBUG("BCMBeamVeto: " << eventInfoReadHandle->isEventFlagBitSet(
469  ATH_MSG_DEBUG("MuonTimingCol: " << eventInfoReadHandle->isEventFlagBitSet(
471  ATH_MSG_DEBUG("MuonTimingCosmic: " << eventInfoReadHandle->isEventFlagBitSet(
473  ATH_MSG_DEBUG("LUCIDBeamVeto: " << eventInfoReadHandle->isEventFlagBitSet(
475 
476  return StatusCode::SUCCESS;
477 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< 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 & AthAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

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

Definition at line 50 of file AthAlgorithm.cxx.

51 {
52  // If we didn't find any symlinks to add, just return the collection
53  // from the base class. Otherwise, return the extended collection.
54  if (!m_extendedExtraObjects.empty()) {
56  }
57  return Algorithm::extraOutputDeps();
58 }

◆ finalize()

StatusCode BackgroundWordFiller::finalize ( )

Definition at line 481 of file BackgroundWordFiller.cxx.

481  {
482 
483  ATH_MSG_INFO("In finalize()");
484 
485  ATH_MSG_INFO(
486  "Job Summary for Background Word (NB. MBTS time bits not counted by this "
487  "alg)");
488  for (int ibit = 0; ibit < EventInfo::NBackgroundWords; ++ibit)
489  ATH_MSG_INFO(" " << m_bitnamevec[ibit] << ": " << m_bitcntvec[ibit] << "/"
490  << m_totalcnt << " events");
491 
492  return StatusCode::SUCCESS;
493 }

◆ initialize()

StatusCode BackgroundWordFiller::initialize ( )

◆ inputHandles()

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

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

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

◆ sysInitialize()

StatusCode AthAlgorithm::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< Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, PyAthena::Alg, and AthHistogramAlgorithm.

Definition at line 66 of file AthAlgorithm.cxx.

66  {
68 
69  if (sc.isFailure()) {
70  return sc;
71  }
72  ServiceHandle<ICondSvc> cs("CondSvc",name());
73  for (auto h : outputHandles()) {
74  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
75  // do this inside the loop so we don't create the CondSvc until needed
76  if ( cs.retrieve().isFailure() ) {
77  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
78  return StatusCode::SUCCESS;
79  }
80  if (cs->regHandle(this,*h).isFailure()) {
81  sc = StatusCode::FAILURE;
82  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
83  << " with CondSvc");
84  }
85  }
86  }
87  return sc;
88 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< 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< 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_bcmCollisionTimeKey

SG::ReadHandleKey<BcmCollisionTime> BackgroundWordFiller::m_bcmCollisionTimeKey
private
Initial value:
{
this, "BcmCollisionTimeKey", "BcmCollisionTime",
"Key for BcmCollisionTime"}

ReadHandleKey for BcmCollisionTime.

Definition at line 51 of file BackgroundWordFiller.h.

◆ m_BCMHiGainCut

int BackgroundWordFiller::m_BCMHiGainCut
private

Definition at line 90 of file BackgroundWordFiller.h.

◆ m_BCMLowGainCut

int BackgroundWordFiller::m_BCMLowGainCut
private

Definition at line 91 of file BackgroundWordFiller.h.

◆ m_BCMTimeDiffCol_Cut

float BackgroundWordFiller::m_BCMTimeDiffCol_Cut
private

Definition at line 88 of file BackgroundWordFiller.h.

◆ m_BCMTimeDiffHalo_CutLo

float BackgroundWordFiller::m_BCMTimeDiffHalo_CutLo
private

Definition at line 89 of file BackgroundWordFiller.h.

◆ m_beamBackgroundDataKey

SG::ReadHandleKey<BeamBackgroundData> BackgroundWordFiller::m_beamBackgroundDataKey
private
Initial value:
{
this, "BeamBackgroundDataKey", "BeamBackgroundData",
"Key for BeamBackgroundData object"}

ReadHandleKey for BeamBackgroundData.

Definition at line 41 of file BackgroundWordFiller.h.

◆ m_bitcntvec

std::array<unsigned int, xAOD::EventInfo::NBackgroundWords> BackgroundWordFiller::m_bitcntvec
private

Definition at line 102 of file BackgroundWordFiller.h.

◆ m_bitnamevec

std::array<const char*, xAOD::EventInfo::NBackgroundWords> BackgroundWordFiller::m_bitnamevec
private

Definition at line 103 of file BackgroundWordFiller.h.

◆ m_detStore

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

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_eventInfoDecorKey

SG::WriteDecorHandleKey<xAOD::EventInfo> BackgroundWordFiller::m_eventInfoDecorKey
private
Initial value:
{
this, "eventInfoDecorKey", "EventInfo.backgroundWord",
"Decoration key for downstream clients"}

WriteDecorHandleKey: needed for scheduling downstream clients.

Definition at line 72 of file BackgroundWordFiller.h.

◆ m_eventInfoKey

SG::ReadHandleKey<xAOD::EventInfo> BackgroundWordFiller::m_eventInfoKey
private
Initial value:
{
this, "eventInfoKey", "EventInfo", "Key for EventInfo object"}

ReadHandleKey for EventInfo object.

Definition at line 37 of file BackgroundWordFiller.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthAlgorithm::m_extendedExtraObjects
privateinherited

Definition at line 79 of file AthAlgorithm.h.

◆ m_HaloNumClusterShape_Cut

int BackgroundWordFiller::m_HaloNumClusterShape_Cut
private

Definition at line 80 of file BackgroundWordFiller.h.

◆ m_HaloNumOneSidedLoose_Cut

int BackgroundWordFiller::m_HaloNumOneSidedLoose_Cut
private

Definition at line 81 of file BackgroundWordFiller.h.

◆ m_HaloNumSegment_Cut

int BackgroundWordFiller::m_HaloNumSegment_Cut
private

Definition at line 79 of file BackgroundWordFiller.h.

◆ m_HaloNumTwoSided_Cut

int BackgroundWordFiller::m_HaloNumTwoSided_Cut
private

Definition at line 82 of file BackgroundWordFiller.h.

◆ m_isMC

Gaudi::Property<bool> BackgroundWordFiller::m_isMC
private
Initial value:
{this, "IsMC", false,
"Sets whether we should expect MC objects"}

Definition at line 76 of file BackgroundWordFiller.h.

◆ m_lArCollisionTimeKey

SG::ReadHandleKey<LArCollisionTime> BackgroundWordFiller::m_lArCollisionTimeKey
private
Initial value:
{
this, "LArCollisionTimeKey", "LArCollisionTime",
"Key for LArCollisionTime"}

ReadHandleKey for LArCollisionTime.

Definition at line 67 of file BackgroundWordFiller.h.

◆ m_LArEC_SideCut

int BackgroundWordFiller::m_LArEC_SideCut
private

Definition at line 97 of file BackgroundWordFiller.h.

◆ m_LArECTimeDiffCol_Cut

float BackgroundWordFiller::m_LArECTimeDiffCol_Cut
private

Definition at line 98 of file BackgroundWordFiller.h.

◆ m_LArECTimeDiffHalo_CutHi

float BackgroundWordFiller::m_LArECTimeDiffHalo_CutHi
private

Definition at line 99 of file BackgroundWordFiller.h.

◆ m_LArECTimeDiffHalo_CutLo

float BackgroundWordFiller::m_LArECTimeDiffHalo_CutLo
private

Definition at line 99 of file BackgroundWordFiller.h.

◆ m_LUCID_rawDataContainerKey

SG::ReadHandleKey<LUCID_RawDataContainer> BackgroundWordFiller::m_LUCID_rawDataContainerKey
private
Initial value:
{
this, "LUCID_rawDataContainerKey", "Lucid_RawData",
"Key for LUCID_RawDataContainer object"}

ReadHandleKey for LUCID_RawDataContainer.

Definition at line 46 of file BackgroundWordFiller.h.

◆ m_LUCIDBeamVeto_Cut

int BackgroundWordFiller::m_LUCIDBeamVeto_Cut
private

Definition at line 87 of file BackgroundWordFiller.h.

◆ m_MBTSBeamVeto_MultiplicityCut

int BackgroundWordFiller::m_MBTSBeamVeto_MultiplicityCut
private

Definition at line 92 of file BackgroundWordFiller.h.

◆ m_MBTSBeamVeto_ThresholdCut

float BackgroundWordFiller::m_MBTSBeamVeto_ThresholdCut
private

Definition at line 94 of file BackgroundWordFiller.h.

◆ m_MBTSBeamVeto_TimeCut

int BackgroundWordFiller::m_MBTSBeamVeto_TimeCut
private

Definition at line 93 of file BackgroundWordFiller.h.

◆ m_MBTSmask

const uint8_t BackgroundWordFiller::m_MBTSmask
private

Definition at line 95 of file BackgroundWordFiller.h.

◆ m_MBTSpattern

const uint8_t BackgroundWordFiller::m_MBTSpattern
private

Definition at line 95 of file BackgroundWordFiller.h.

◆ m_PixMultiplicityHuge_Cut

int BackgroundWordFiller::m_PixMultiplicityHuge_Cut
private

Definition at line 83 of file BackgroundWordFiller.h.

◆ m_pixSpacePointKey

SG::ReadHandleKey<SpacePointContainer> BackgroundWordFiller::m_pixSpacePointKey
private
Initial value:
{
this, "Pixel_SpacePointKey", "PixelSpacePoints", ""}

Definition at line 58 of file BackgroundWordFiller.h.

◆ m_PixSPNonEmpty_Cut

int BackgroundWordFiller::m_PixSPNonEmpty_Cut
private

Definition at line 84 of file BackgroundWordFiller.h.

◆ m_SCTMultiplicityHuge_Cut

int BackgroundWordFiller::m_SCTMultiplicityHuge_Cut
private

Definition at line 85 of file BackgroundWordFiller.h.

◆ m_sctSpacePointKey

SG::ReadHandleKey<SpacePointContainer> BackgroundWordFiller::m_sctSpacePointKey
private
Initial value:
{
this, "SCT_SpacePointKey", "SCT_SpacePoints", ""}

ReadHandleKey for SpacePointContainers.

Definition at line 56 of file BackgroundWordFiller.h.

◆ m_SCTSPNonEmpty_Cut

int BackgroundWordFiller::m_SCTSPNonEmpty_Cut
private

Definition at line 86 of file BackgroundWordFiller.h.

◆ m_tileCellContainerKey

SG::ReadHandleKey<TileCellContainer> BackgroundWordFiller::m_tileCellContainerKey
private
Initial value:
{
this, "TileCellContainerKey", "MBTSContainer",
"Key for TileCellContainer"}

ReadHandleKey for TileCellContainer.

Definition at line 62 of file BackgroundWordFiller.h.

◆ m_totalcnt

unsigned int BackgroundWordFiller::m_totalcnt
private

Definition at line 101 of file BackgroundWordFiller.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
BackgroundWordFiller::m_eventInfoDecorKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
WriteDecorHandleKey: needed for scheduling downstream clients.
Definition: BackgroundWordFiller.h:72
EventInfo::BCMBeamVeto
@ BCMBeamVeto
Definition: EventInfo/EventInfo/EventInfo.h:78
EventInfo::MBTSBeamVeto
@ MBTSBeamVeto
Definition: EventInfo/EventInfo/EventInfo.h:77
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
BackgroundWordFiller::m_bitnamevec
std::array< const char *, xAOD::EventInfo::NBackgroundWords > m_bitnamevec
Definition: BackgroundWordFiller.h:103
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
BackgroundWordFiller::m_BCMTimeDiffHalo_CutLo
float m_BCMTimeDiffHalo_CutLo
Definition: BackgroundWordFiller.h:89
BackgroundWordFiller::m_HaloNumTwoSided_Cut
int m_HaloNumTwoSided_Cut
Definition: BackgroundWordFiller.h:82
EventInfo::PixSPNonEmpty
@ PixSPNonEmpty
Definition: EventInfo/EventInfo/EventInfo.h:72
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
EventInfo::CSCTimeDiffHalo
@ CSCTimeDiffHalo
Definition: EventInfo/EventInfo/EventInfo.h:74
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
BackgroundWordFiller::m_LArEC_SideCut
int m_LArEC_SideCut
Definition: BackgroundWordFiller.h:97
EventInfo::MBTSTimeDiffCol
@ MBTSTimeDiffCol
Definition: EventInfo/EventInfo/EventInfo.h:70
BackgroundWordFiller::m_LArECTimeDiffHalo_CutHi
float m_LArECTimeDiffHalo_CutHi
Definition: BackgroundWordFiller.h:99
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
EventInfo::SCTSPNonEmpty
@ SCTSPNonEmpty
Definition: EventInfo/EventInfo/EventInfo.h:73
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
BackgroundWordFiller::m_lArCollisionTimeKey
SG::ReadHandleKey< LArCollisionTime > m_lArCollisionTimeKey
ReadHandleKey for LArCollisionTime.
Definition: BackgroundWordFiller.h:67
TileCell::MASK_BADCH
@ MASK_BADCH
Definition: TileCell.h:63
BackgroundWordFiller::m_LUCID_rawDataContainerKey
SG::ReadHandleKey< LUCID_RawDataContainer > m_LUCID_rawDataContainerKey
ReadHandleKey for LUCID_RawDataContainer.
Definition: BackgroundWordFiller.h:46
EventInfo::NBackgroundWords
@ NBackgroundWords
Definition: EventInfo/EventInfo/EventInfo.h:89
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
EventInfo::PixMultiplicityHuge
@ PixMultiplicityHuge
Definition: EventInfo/EventInfo/EventInfo.h:72
BackgroundWordFiller::m_sctSpacePointKey
SG::ReadHandleKey< SpacePointContainer > m_sctSpacePointKey
ReadHandleKey for SpacePointContainers.
Definition: BackgroundWordFiller.h:56
BackgroundWordFiller::m_HaloNumSegment_Cut
int m_HaloNumSegment_Cut
Definition: BackgroundWordFiller.h:79
EventInfo::HaloMuonOneSided
@ HaloMuonOneSided
Definition: EventInfo/EventInfo/EventInfo.h:81
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthAlgorithm.cxx:66
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
BackgroundWordFiller::m_MBTSpattern
const uint8_t m_MBTSpattern
Definition: BackgroundWordFiller.h:95
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
lumiFormat.i
int i
Definition: lumiFormat.py:92
EventInfo::LUCIDBeamVeto
@ LUCIDBeamVeto
Definition: EventInfo/EventInfo/EventInfo.h:79
BackgroundWordFiller::m_PixMultiplicityHuge_Cut
int m_PixMultiplicityHuge_Cut
Definition: BackgroundWordFiller.h:83
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
TileCell::MASK_OVER
@ MASK_OVER
Definition: TileCell.h:64
BackgroundWordFiller::m_isMC
Gaudi::Property< bool > m_isMC
Definition: BackgroundWordFiller.h:76
BackgroundWordFiller::m_MBTSmask
const uint8_t m_MBTSmask
Definition: BackgroundWordFiller.h:95
EventInfo::SCTMultiplicityHuge
@ SCTMultiplicityHuge
Definition: EventInfo/EventInfo/EventInfo.h:73
EventInfo::BCMTimeDiffHalo
@ BCMTimeDiffHalo
Definition: EventInfo/EventInfo/EventInfo.h:75
BackgroundWordFiller::m_SCTMultiplicityHuge_Cut
int m_SCTMultiplicityHuge_Cut
Definition: BackgroundWordFiller.h:85
BackgroundWordFiller::m_tileCellContainerKey
SG::ReadHandleKey< TileCellContainer > m_tileCellContainerKey
ReadHandleKey for TileCellContainer.
Definition: BackgroundWordFiller.h:62
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
BackgroundWordFiller::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
ReadHandleKey for EventInfo object.
Definition: BackgroundWordFiller.h:37
EventInfo::HaloClusterShape
@ HaloClusterShape
Definition: EventInfo/EventInfo/EventInfo.h:80
AthCommonDataStore< AthCommonMsg< 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
BackgroundWordFiller::m_LUCIDBeamVeto_Cut
int m_LUCIDBeamVeto_Cut
Definition: BackgroundWordFiller.h:87
BackgroundWordFiller::m_LArECTimeDiffHalo_CutLo
float m_LArECTimeDiffHalo_CutLo
Definition: BackgroundWordFiller.h:99
BackgroundWordFiller::m_PixSPNonEmpty_Cut
int m_PixSPNonEmpty_Cut
Definition: BackgroundWordFiller.h:84
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
EventInfo::CSCTimeDiffCol
@ CSCTimeDiffCol
Definition: EventInfo/EventInfo/EventInfo.h:74
BackgroundWordFiller::m_pixSpacePointKey
SG::ReadHandleKey< SpacePointContainer > m_pixSpacePointKey
Definition: BackgroundWordFiller.h:58
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
BackgroundWordFiller::m_BCMLowGainCut
int m_BCMLowGainCut
Definition: BackgroundWordFiller.h:91
BackgroundWordFiller::m_bcmCollisionTimeKey
SG::ReadHandleKey< BcmCollisionTime > m_bcmCollisionTimeKey
ReadHandleKey for BcmCollisionTime.
Definition: BackgroundWordFiller.h:51
BackgroundWordFiller::m_beamBackgroundDataKey
SG::ReadHandleKey< BeamBackgroundData > m_beamBackgroundDataKey
ReadHandleKey for BeamBackgroundData.
Definition: BackgroundWordFiller.h:41
BackgroundWordFiller::m_HaloNumClusterShape_Cut
int m_HaloNumClusterShape_Cut
Definition: BackgroundWordFiller.h:80
BackgroundWordFiller::m_totalcnt
unsigned int m_totalcnt
Definition: BackgroundWordFiller.h:101
EventInfo::HaloMuonTwoSided
@ HaloMuonTwoSided
Definition: EventInfo/EventInfo/EventInfo.h:81
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
TileCell::MASK_TIME
@ MASK_TIME
Definition: TileCell.h:67
EventInfo::MuonTimingCosmic
@ MuonTimingCosmic
Definition: EventInfo/EventInfo/EventInfo.h:76
a
TList * a
Definition: liststreamerinfos.cxx:10
BackgroundWordFiller::m_HaloNumOneSidedLoose_Cut
int m_HaloNumOneSidedLoose_Cut
Definition: BackgroundWordFiller.h:81
SG::WriteDecorHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
h
BackgroundWordFiller::m_SCTSPNonEmpty_Cut
int m_SCTSPNonEmpty_Cut
Definition: BackgroundWordFiller.h:86
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
BackgroundWordFiller::m_MBTSBeamVeto_TimeCut
int m_MBTSBeamVeto_TimeCut
Definition: BackgroundWordFiller.h:93
BackgroundWordFiller::m_LArECTimeDiffCol_Cut
float m_LArECTimeDiffCol_Cut
Definition: BackgroundWordFiller.h:98
BackgroundWordFiller::m_bitcntvec
std::array< unsigned int, xAOD::EventInfo::NBackgroundWords > m_bitcntvec
Definition: BackgroundWordFiller.h:102
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
EventInfo::LArECTimeDiffHalo
@ LArECTimeDiffHalo
Definition: EventInfo/EventInfo/EventInfo.h:71
BackgroundWordFiller::m_BCMTimeDiffCol_Cut
float m_BCMTimeDiffCol_Cut
Definition: BackgroundWordFiller.h:88
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
BackgroundWordFiller::m_BCMHiGainCut
int m_BCMHiGainCut
Definition: BackgroundWordFiller.h:90
EventInfo::MuonTimingCol
@ MuonTimingCol
Definition: EventInfo/EventInfo/EventInfo.h:76
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
BackgroundWordFiller::m_MBTSBeamVeto_MultiplicityCut
int m_MBTSBeamVeto_MultiplicityCut
Definition: BackgroundWordFiller.h:92
EventInfo::HaloMuonSegment
@ HaloMuonSegment
Definition: EventInfo/EventInfo/EventInfo.h:80
EventInfo::BCMTimeDiffCol
@ BCMTimeDiffCol
Definition: EventInfo/EventInfo/EventInfo.h:75
EventInfo::LArECTimeDiffCol
@ LArECTimeDiffCol
Definition: EventInfo/EventInfo/EventInfo.h:71
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
fitman.k
k
Definition: fitman.py:528
EventInfo::MBTSTimeDiffHalo
@ MBTSTimeDiffHalo
Definition: EventInfo/EventInfo/EventInfo.h:70
BackgroundWordFiller::m_MBTSBeamVeto_ThresholdCut
float m_MBTSBeamVeto_ThresholdCut
Definition: BackgroundWordFiller.h:94
EventInfo::Background
@ Background
Definition: EventInfo/EventInfo/EventInfo.h:54
ServiceHandle< ICondSvc >