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

Retrieves all Jet objects (JetAODCollection etc.) More...

#include <xAODJetRetriever.h>

Inheritance diagram for JiveXML::xAODJetRetriever:
Collaboration diagram for JiveXML::xAODJetRetriever:

Public Member Functions

 xAODJetRetriever (const std::string &type, const std::string &name, const IInterface *parent)
 Standard Constructor. More...
 
virtual StatusCode retrieve (ToolHandle< IFormatTool > &FormatTool)
 Retrieve all the data. More...
 
const DataMap getData (const xAOD::JetContainer *, const std::string &jetkey)
 Retrieve basic parameters, mainly four-vectors, for each collection. More...
 
virtual std::string dataTypeName () const
 Return the name of the data type. More...
 
virtual StatusCode initialize ()
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Return the interface identifier. 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...
 

Private Attributes

Gaudi::Property< std::string > m_sgKeyFavourite
 
Gaudi::Property< std::vector< std::string > > m_otherKeys
 
Gaudi::Property< bool > m_doWriteHLT
 
Gaudi::Property< bool > m_writeJetQuality
 
Gaudi::Property< std::string > m_tracksName
 
Gaudi::Property< std::vector< std::string > > m_bTaggerNames
 
Gaudi::Property< std::vector< std::string > > m_CDIPaths
 
std::unordered_map< std::string, asg::AnaToolHandle< IBTaggingSelectionTool > > m_btagSelTools
 
unsigned int m_nTaggers =0
 
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

Retrieves all Jet objects (JetAODCollection etc.)

Definition at line 35 of file xAODJetRetriever.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ xAODJetRetriever()

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

Standard Constructor.

This is the standard AthAlgTool constructor.

Parameters
typeAlgTool type name
nameAlgTool instance name
parentAlgTools parent owning this tool

code reference for xAOD: jpt6Feb14 https://svnweb.cern.ch/trac/atlasgroups/browser/PAT/AODUpgrade/xAODReaderAlgs

This is afirst 'skeleton' try for many xAOD retrievers to be done: xAOD::Jet, xAOD::Vertex, xAOD::Photon, xAOD::CaloCluster, xAOD::Jet xAOD::TrackParticle, xAOD::TauJet, xAOD::Muon

Definition at line 33 of file xAODJetRetriever.cxx.

33  :
35 
36  //Only declare the interface
37  declareInterface<IDataRetriever>(this);
38 
39  }

Member Function Documentation

◆ dataTypeName()

virtual std::string JiveXML::xAODJetRetriever::dataTypeName ( ) const
inlinevirtual

Return the name of the data type.

Implements JiveXML::IDataRetriever.

Definition at line 48 of file xAODJetRetriever.h.

48 { return "Jet"; };

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [4/4]

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

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

Definition at line 199 of file AthCommonDataStore.h.

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

◆ declareProperty() [1/6]

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

Declare a new Gaudi property.

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

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

Definition at line 245 of file AthCommonDataStore.h.

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

◆ declareProperty() [2/6]

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

Declare a new Gaudi property.

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

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

Definition at line 221 of file AthCommonDataStore.h.

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

◆ declareProperty() [3/6]

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

Definition at line 259 of file AthCommonDataStore.h.

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

◆ declareProperty() [4/6]

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

Declare a new Gaudi property.

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

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

Definition at line 333 of file AthCommonDataStore.h.

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

◆ declareProperty() [5/6]

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

Declare a new Gaudi property.

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

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

Definition at line 352 of file AthCommonDataStore.h.

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

◆ declareProperty() [6/6]

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

Definition at line 145 of file AthCommonDataStore.h.

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

◆ detStore()

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

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

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

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

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

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ extraDeps_update_handler()

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

Add StoreName to extra input/output deps as needed.

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

◆ getData()

const DataMap JiveXML::xAODJetRetriever::getData ( const xAOD::JetContainer jetCont,
const std::string &  jetkey 
)

Retrieve basic parameters, mainly four-vectors, for each collection.

Also association with clusters and tracks (ElementLink).

Definition at line 138 of file xAODJetRetriever.cxx.

138  {
139 
140  ATH_MSG_DEBUG( "in getData()" );
141 
143 
144  DataVect et; et.reserve(jetCont->size());
145  DataVect phi; phi.reserve(jetCont->size());
146  DataVect eta; eta.reserve(jetCont->size());
147  DataVect mass; mass.reserve(jetCont->size());
148  DataVect energy; energy.reserve(jetCont->size());
149  DataVect bTagName; bTagName.reserve(jetCont->size());
150  DataVect bTagValue; bTagValue.reserve(jetCont->size());
151  DataVect charge; energy.reserve(jetCont->size());
152  DataVect idVec; idVec.reserve(jetCont->size());
153  DataVect px; px.reserve(jetCont->size());
154  DataVect py; py.reserve(jetCont->size());
155  DataVect pz; pz.reserve(jetCont->size());
156  DataVect jvf; jvf.reserve(jetCont->size());
157  DataVect jvt; jvt.reserve(jetCont->size());
158  DataVect emfrac; emfrac.reserve(jetCont->size());
159 
160  DataVect trackKey; trackKey.reserve(jetCont->size());
161  DataVect trackContKey; trackContKey.reserve(jetCont->size());
162  DataVect trackLinkCount; trackLinkCount.reserve(jetCont->size());
163  DataVect clusterID; clusterID.reserve(jetCont->size());
164 
165  DataVect cellID; cellID.reserve(jetCont->size());
166  DataVect numCells; numCells.reserve(jetCont->size());
167 
168  int id = 0;
169 
170  int counter = 0;
171  for (const auto jet : *jetCont) {
172  ATH_MSG_DEBUG( " Jet #" << counter++ << " : eta = " << jet->eta() << ", phi = " << jet->phi() << ", pt = " << jet->pt() );
173 
174  /* retrieve associated tracks and calo clusters */
175 
176  size_t numConstit = jet->numConstituents();
177  std::vector<std::string> tempCellID;
178  size_t trackcounter = 0;
179  if (numConstit > 0) {
180 
181  xAOD::Type::ObjectType ctype = jet->rawConstituent(0)->type();
182 
183  // PFlow and Flow jets from athena/Reconstruction/Jet/JetMomentTools/Root/JetTrackMomentsTool.cxx
184  if (ctype == xAOD::Type::ParticleFlow) {
185  // This jet is either a PFlow jet (constituent type: xAOD::FlowElement::PFlow) or UFO jets
186  for (size_t i = 0; i < numConstit; i++) {
187  const xAOD::PFO *constit =
188  dynamic_cast<const xAOD::PFO *>(jet->rawConstituent(i));
189  if (constit->isCharged()) {
190  const xAOD::TrackParticle *thisTrack = constit->track(0); // by construction xAOD::PFO can only have one track, in eflowRec usage
191  trackKey.push_back(DataType(thisTrack->index()));
192  trackContKey.push_back(m_tracksName.value());
193  trackcounter++;
194  } // We have a charged PFO
195  } // Loop on jet constituents
196  } else if (ctype == xAOD::Type::FlowElement) {
197  // This jet is made from xAOD::FlowElement, so we calculate the pflow moments if they're PFOs
198  size_t numConstit = jet->numConstituents();
199  for (size_t i = 0; i < numConstit; i++) {
200  const xAOD::FlowElement *constit = dynamic_cast<const xAOD::FlowElement *>(jet->rawConstituent(i));
201  // UFO jet constituents have signalType xAOD::FlowElement::Charged or xAOD::FlowElement::Neutral
202  // PFlow jet constituents have signalType xAOD::FlowElement::ChargedPFlow or xAOD::FlowElement::NeutralPFlow
203  if (constit != nullptr && ((constit->signalType() & xAOD::FlowElement::PFlow) || constit->signalType() == xAOD::FlowElement::Charged)) {
204  if (constit->isCharged()) {
205  const xAOD::TrackParticle *thisTrack = dynamic_cast<const xAOD::TrackParticle *>( constit->chargedObject( 0)); // PFO should have only 1 track
206  if (thisTrack != nullptr) {
207  trackKey.push_back(DataType(thisTrack->index()));
208  trackContKey.push_back(m_tracksName.value());
209  trackcounter++;
210  }
211  else
212  ATH_MSG_WARNING( "Charged PFO had no associated TrackParticle");
213  } // We have a charged PFO
214  } // The FlowElement is a PFO
215  } // Loop on jet constituents
216  } else if (ctype == xAOD::Type::CaloCluster) {
217  // get associated cluster
218  for (size_t j = 0; j < numConstit; ++j) {
219  const xAOD::CaloCluster *cluster = dynamic_cast<const xAOD::CaloCluster *>(jet->rawConstituent(j));
220  clusterID.push_back(DataType(cluster->index()));
221  for (const auto cc : *(cluster->getCellLinks())) {
222  if (std::find(tempCellID.begin(), tempCellID.end(), std::to_string( cc->caloDDE()->identify().get_compact())) != tempCellID.end()) {
223  continue;
224  } else {
225  cellID.push_back( DataType(cc->caloDDE()->identify().get_compact()));
226  tempCellID.push_back( std::to_string(cc->caloDDE()->identify().get_compact()));
227  }
228  }
229  ATH_MSG_VERBOSE(" Associated cluster: eta = " << cluster->eta() << ", phi = " << cluster->phi());
230  }
231 
232  // get ghost associated tracks
233  std::vector<const xAOD::TrackParticle *> ghosttracks = jet->getAssociatedObjects<xAOD::TrackParticle>( xAOD::JetAttribute::GhostTrack);
234  if (ghosttracks.empty()) {
235  ATH_MSG_VERBOSE(" Associated track: ERROR");
236  } else {
237  for (size_t i = 0; i < ghosttracks.size(); i++) {
238 
239  // can access the base track class, should be able to get tracker hits ?
240  // const Trk::Track* baseTrack = dynamic_cast< const Trk::Track* >( ghosttracks[i]->track());
241 
242  trackKey.push_back(DataType(ghosttracks[i]->index()));
243  trackContKey.push_back(m_tracksName.value());
244 
245  ATH_MSG_VERBOSE(" Associated track: d0 = " << ghosttracks[i]->d0() << ", pt = " << ghosttracks[i]->pt());
246  }
247  trackcounter = ghosttracks.size();
248  }
249  } else if (ctype == xAOD::Type::TrackParticle) {
250  for (size_t j = 0; j < numConstit; ++j) {
251  const xAOD::TrackParticle *track =
252  dynamic_cast<const xAOD::TrackParticle *>(jet->rawConstituent(j));
253  if (!track) {
254  ATH_MSG_VERBOSE(" Associated track: ERROR");
255  } else {
256  trackKey.push_back(DataType(track->index()));
257  trackContKey.push_back(m_tracksName.value());
258  trackcounter++;
259  ATH_MSG_VERBOSE(" Associated track: d0 = " << track->d0() << ", pt = " << track->pt());
260  }
261  }
262  }
263  }
264  trackLinkCount.push_back(DataType(trackcounter));
265  numCells.push_back(DataType(tempCellID.size()));
266 
267 
268  phi.push_back(DataType(jet->phi()));
269  eta.push_back(DataType(jet->eta()));
270  et.push_back(DataType(jet->pt()/GeV)); // hack ! no et in xAOD_Jet_v1 currently
271  idVec.push_back( DataType( ++id ));
272 
273  mass.push_back(DataType(jet->m()/GeV));
274  energy.push_back( DataType(jet->e()/GeV ) );
275 
276  px.push_back(DataType(jet->px()/GeV));
277  py.push_back(DataType(jet->py()/GeV));
278  pz.push_back(DataType(jet->pz()/GeV));
279 
280  // bjet tagger values
281  if (jetkey!="AntiKt4EMPFlowJets" || (m_nTaggers==0)){
282  bTagName.push_back(DataType("None"));
283  bTagValue.push_back(DataType(0.));
284  }else{
285  double btagValue;
286  for (auto taggerName : m_bTaggerNames) {
287  CP::CorrectionCode code = m_btagSelTools[taggerName]->getTaggerWeight(*jet, btagValue);
288  if (code != CP::CorrectionCode::Ok) {
289  ATH_MSG_DEBUG("Failed to get btagging weight for tagger " << taggerName);
290  btagValue = 0;
291  }
292  bTagName.push_back(DataType(taggerName));
293  bTagValue.push_back(DataType(btagValue));
294  }
295  }
296 
297  float chargeread;
298  if (!jet->getAttribute<float>(xAOD::JetAttribute::Charge, chargeread)) {
299  ATH_MSG_DEBUG("Jet charge unavailable!");
300  charge.push_back( DataType( 0. ));
301  }else{
302  charge.push_back( DataType( chargeread ));
303  }
304 
305  // updated for data15
306  // from: Reconstruction/MET/METReconstruction/Root/METJetFilterTool.cxx
307  std::vector<float> jvfread;
308  if(!jet->getAttribute<std::vector<float> >(xAOD::JetAttribute::JVF,jvfread)) {
309  ATH_MSG_DEBUG("Jet JVF unavailable!");
310  jvf.push_back( DataType( 1. ));
311  }else{
312  jvf.push_back( DataType( jvfread[0] ));
313  }
314 
315  float jvtread;
316  if(!jet->getAttribute<float>(xAOD::JetAttribute::Jvt,jvtread)) {
317  ATH_MSG_DEBUG("Jet JVT unavailable!");
318  jvt.push_back(DataType(0.));
319  } else {
320  jvt.push_back(DataType(jvtread));
321  }
322 
323  float emfracread = 0;
324  if(!jet->getAttribute(xAOD::JetAttribute::EMFrac,emfracread)) {
325  ATH_MSG_DEBUG("Jet EMFrac unavailable!");
326  emfrac.push_back( DataType( 0. ));
327  }else{
328  emfrac.push_back( DataType( emfracread ));
329  }
330 
331  } // end loop
332 
333  // four-vectors
334  DataMap["phi"] = phi;
335  DataMap["eta"] = eta;
336  DataMap["et"] = et;
337  DataMap["energy"] = energy;
338  DataMap["mass"] = mass;
339  std::string str_nTaggers = m_nTaggers>0 ? std::to_string(m_nTaggers) : "1"; // default to 1 if no btaggers so that atlantis can process the jets properly
340  DataMap["bTagName multiple=\""+str_nTaggers+"\""] = bTagName; // assigned by hand !
341  DataMap["bTagValue multiple=\""+str_nTaggers+"\""] = bTagValue;
342  DataMap["charge"] = charge;
343  DataMap["id"] = idVec;
344  DataMap["px"] = px;
345  DataMap["py"] = py;
346  DataMap["pz"] = pz;
347  DataMap["jvf"] = jvf;
348  DataMap["jvt"] = jvt;
349  DataMap["emfrac"] = emfrac;
350 
351  if ((trackKey.size()) != 0){
352  double NTracksPerVertex = trackKey.size()*1./jetCont->size();
353  std::string tag = "trackIndex multiple=\"" +DataType(NTracksPerVertex).toString()+"\"";
354  DataMap[tag] = trackKey;
355  tag = "trackKey multiple=\"" +DataType(NTracksPerVertex).toString()+"\"";
356  DataMap[tag] = trackContKey;
357  }
358 
359  if ((clusterID.size())!=0){
360  std::string tag = "clusterIndex multiple=\"" + DataType(clusterID.size()).toString()+"\"";
361  double NCellsPerJet = cellID.size()*1./jetCont->size();
362  tag = "cells multiple=\"" +DataType(NCellsPerJet).toString()+"\"";
363  DataMap[tag]=cellID;
364  }
365 
366  DataMap["trackLinkCount"] = trackLinkCount;
367  DataMap["numCells"] = numCells;
368 
369  ATH_MSG_DEBUG( dataTypeName() << " retrieved with " << phi.size() << " entries" );
370 
371  //All collections retrieved okay
372  return DataMap;
373 
374  } // retrieve

◆ initialize()

StatusCode JiveXML::xAODJetRetriever::initialize ( )
virtual

Definition at line 41 of file xAODJetRetriever.cxx.

41  {
42  if (m_bTaggerNames.size()!=m_CDIPaths.size()){
43  ATH_MSG_WARNING("Number of btaggers and CDI files do not match. Will not retrieve b-tagging information.");
44  return StatusCode::SUCCESS;
45  } else {
46  m_nTaggers = m_bTaggerNames.size();
47  }
48  for (unsigned int i=0; i<m_nTaggers; i++){
49  std::string taggerName = m_bTaggerNames[i];
51  btagSelTool.setTypeAndName("BTaggingSelectionTool/btagSelTool_"+taggerName);
52  ATH_CHECK(btagSelTool.setProperty("TaggerName", taggerName));
53  ATH_CHECK(btagSelTool.setProperty("JetAuthor", "AntiKt4EMPFlowJets")); // only AntiKt4EMPFlowJets is supported
54  ATH_CHECK(btagSelTool.setProperty("OperatingPoint", "FixedCutBEff_70")); // the working point doesn't matter because we don't cut on the tagger discriminant, but it must exist in CDI.
55  ATH_CHECK(btagSelTool.setProperty("FlvTagCutDefinitionsFileName", m_CDIPaths[i]));
56  ATH_CHECK(btagSelTool.setProperty( "MinPt", 0.0));
57  ATH_CHECK(btagSelTool.initialize());
58  m_btagSelTools.emplace(taggerName, btagSelTool);
59  }
60 
61  return StatusCode::SUCCESS;
62  }

◆ inputHandles()

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

Return this algorithm's input handles.

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

◆ interfaceID()

const InterfaceID & JiveXML::IDataRetriever::interfaceID ( )
inlinestaticinherited

Return the interface identifier.

Definition at line 40 of file IDataRetriever.h.

40 { return IID_IDataRetriever; }

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msgLvl()

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

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

Return this algorithm's output handles.

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

◆ renounce()

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

Definition at line 380 of file AthCommonDataStore.h.

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

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ retrieve()

StatusCode JiveXML::xAODJetRetriever::retrieve ( ToolHandle< IFormatTool > &  FormatTool)
virtual

Retrieve all the data.

For each jet collections retrieve basic parameters.

Parameters
FormatToolthe tool that will create formated output from the DataMap

Implements JiveXML::IDataRetriever.

Definition at line 68 of file xAODJetRetriever.cxx.

68  {
69 
70  ATH_MSG_DEBUG( "in retrieveAll()" );
71 
73  const xAOD::JetContainer* Jets;
74 
75  //obtain the default collection first
76  ATH_MSG_DEBUG( "Trying to retrieve " << dataTypeName() << " (" << m_sgKeyFavourite << ")" );
77  StatusCode sc = evtStore()->retrieve(Jets, m_sgKeyFavourite);
78  if (sc.isFailure() ) {
79  ATH_MSG_WARNING( "Collection " << m_sgKeyFavourite << " not found in SG " );
80  }else{
82  if ( FormatTool->AddToEvent(dataTypeName(), m_sgKeyFavourite+"_xAOD", &data).isFailure()){
83  ATH_MSG_WARNING( "Collection " << m_sgKeyFavourite << " not found in SG " );
84  }else{
85  ATH_MSG_DEBUG( dataTypeName() << " (" << m_sgKeyFavourite << ") Jet retrieved" );
86  }
87  }
88 
89  if ( m_otherKeys.empty() ) {
90  //obtain all other collections from StoreGate
91  if (( evtStore()->retrieve(iterator, end)).isFailure()){
92  ATH_MSG_WARNING( "Unable to retrieve iterator for Jet collection" );
93  return StatusCode::SUCCESS;
94  }
95 
96  for (; iterator!=end; ++iterator) {
97 
98  std::string::size_type position = iterator.key().find("HLT",0);
99  if ( m_doWriteHLT ){ position = 99; } // override SG key find
100  if ( position != 0 ){ // SG key doesn't contain HLTAutoKey
101  if (iterator.key()!=m_sgKeyFavourite) {
102  ATH_MSG_DEBUG( "Trying to retrieve all " << dataTypeName() << " (" << iterator.key() << ")" );
103  DataMap data = getData(&(*iterator), iterator.key());
104  if ( FormatTool->AddToEvent(dataTypeName(), iterator.key()+"_xAOD", &data).isFailure()){
105  ATH_MSG_WARNING( "Collection " << iterator.key() << " not found in SG " );
106  }else{
107  ATH_MSG_DEBUG( dataTypeName() << " (" << iterator.key() << ") AODJet retrieved" );
108  }
109  }
110  }
111  }
112  }else {
113  //obtain all collections with the given keys
114  for (auto jetkey : m_otherKeys) {
115  if (jetkey==m_sgKeyFavourite) { continue; } // skip if already retrieved
116  if ( !evtStore()->contains<xAOD::JetContainer>(jetkey)){ continue; } // skip if not in SG
117  StatusCode sc = evtStore()->retrieve( Jets, jetkey );
118  if (!sc.isFailure()) {
119  ATH_MSG_DEBUG( "Trying to retrieve selected " << dataTypeName() << " (" << jetkey << ")" );
120  DataMap data = getData(Jets, jetkey);
121  if ( FormatTool->AddToEvent(dataTypeName(), jetkey+"_xAOD", &data).isFailure()){
122  ATH_MSG_WARNING( "Collection " << jetkey << " not found in SG " );
123  }else{
124  ATH_MSG_DEBUG( dataTypeName() << " (" << jetkey << ") retrieved" );
125  }
126  }
127  }
128  }
129  //All collections retrieved okay
130  return StatusCode::SUCCESS;
131  }

◆ sysInitialize()

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

Perform system initialization for an algorithm.

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

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

◆ sysStart()

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

Handle START transition.

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

◆ updateVHKA()

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

Definition at line 308 of file AthCommonDataStore.h.

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

Member Data Documentation

◆ m_bTaggerNames

Gaudi::Property<std::vector<std::string> > JiveXML::xAODJetRetriever::m_bTaggerNames
private
Initial value:
{
this, "BTaggerNames", {}, "Names of the b-taggers to be retrieved"}

Definition at line 63 of file xAODJetRetriever.h.

◆ m_btagSelTools

std::unordered_map<std::string, asg::AnaToolHandle<IBTaggingSelectionTool> > JiveXML::xAODJetRetriever::m_btagSelTools
private

Definition at line 68 of file xAODJetRetriever.h.

◆ m_CDIPaths

Gaudi::Property<std::vector<std::string> > JiveXML::xAODJetRetriever::m_CDIPaths
private
Initial value:
{
this, "CDIPaths", {}, "Paths to the CDI files storing the b-tagger properties"}

Definition at line 65 of file xAODJetRetriever.h.

◆ m_detStore

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

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_doWriteHLT

Gaudi::Property<bool> JiveXML::xAODJetRetriever::m_doWriteHLT
private
Initial value:
{
this, "DoWriteHLT", false, "Write out HLTAutokey object information. False by default."}

Definition at line 57 of file xAODJetRetriever.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_nTaggers

unsigned int JiveXML::xAODJetRetriever::m_nTaggers =0
private

Definition at line 69 of file xAODJetRetriever.h.

◆ m_otherKeys

Gaudi::Property<std::vector<std::string> > JiveXML::xAODJetRetriever::m_otherKeys
private
Initial value:
{
this, "OtherJetCollections", {}, "Other collections to be retrieved. If list left empty, all available retrieved"}

Definition at line 55 of file xAODJetRetriever.h.

◆ m_sgKeyFavourite

Gaudi::Property<std::string> JiveXML::xAODJetRetriever::m_sgKeyFavourite
private
Initial value:
{
this, "FavouriteJetCollection", "AntiKt4TopoEMJets", "Collection to be first in output, shown in Atlantis without switching"}

Definition at line 53 of file xAODJetRetriever.h.

◆ m_tracksName

Gaudi::Property<std::string> JiveXML::xAODJetRetriever::m_tracksName
private
Initial value:
{
this, "TracksName", "InDetTrackParticles_xAOD", "Name of the track container to be retrieved"}

Definition at line 61 of file xAODJetRetriever.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.

◆ m_writeJetQuality

Gaudi::Property<bool> JiveXML::xAODJetRetriever::m_writeJetQuality
private
Initial value:
{
this, "WriteJetQuality", false, "Write out extended jet quality information. False by default."}

Definition at line 59 of file xAODJetRetriever.h.


The documentation for this class was generated from the following files:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
asg::AnaToolHandle::initialize
StatusCode initialize()
initialize the tool
xAOD::CaloCluster_v1::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
Definition: CaloCluster_v1.cxx:256
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
et
Extra patterns decribing particle interation process.
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
JiveXML::xAODJetRetriever::m_sgKeyFavourite
Gaudi::Property< std::string > m_sgKeyFavourite
Definition: xAODJetRetriever.h:53
asg::AnaToolHandle< IBTaggingSelectionTool >
JiveXML::xAODJetRetriever::m_nTaggers
unsigned int m_nTaggers
Definition: xAODJetRetriever.h:69
test_pyathena.px
px
Definition: test_pyathena.py:18
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
xAOD::FlowElement_v1::Charged
@ Charged
Definition: FlowElement_v1.h:38
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
Base_Fragment.mass
mass
Definition: Sherpa_i/share/common/Base_Fragment.py:59
xAOD::et
et
Definition: TrigEMCluster_v1.cxx:25
ObjectType
ObjectType
Definition: BaseObject.h:11
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
xAOD::PFO_v1::track
const TrackParticle * track(unsigned int index) const
Retrieve a const pointer to a Rec::TrackParticle.
Definition: PFO_v1.cxx:691
Jets
Definition: Jets.py:1
JiveXML::DataVect
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
Definition: DataType.h:58
DataType
OFFLINE_FRAGMENTS_NAMESPACE::PointerType DataType
Definition: RoIBResultByteStreamTool.cxx:25
asg::AnaToolHandle::setTypeAndName
void setTypeAndName(const std::string &val_typeAndName)
set the value of type and name
test_pyathena.pt
pt
Definition: test_pyathena.py:11
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
JiveXML::xAODJetRetriever::m_btagSelTools
std::unordered_map< std::string, asg::AnaToolHandle< IBTaggingSelectionTool > > m_btagSelTools
Definition: xAODJetRetriever.h:68
JiveXML::xAODJetRetriever::getData
const DataMap getData(const xAOD::JetContainer *, const std::string &jetkey)
Retrieve basic parameters, mainly four-vectors, for each collection.
Definition: xAODJetRetriever.cxx:138
JiveXML::xAODJetRetriever::m_doWriteHLT
Gaudi::Property< bool > m_doWriteHLT
Definition: xAODJetRetriever.h:57
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
asg::AnaToolHandle::setProperty
StatusCode setProperty(const std::string &property, const T2 &value)
set the given property of the tool.
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition: Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition: Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
xAOD::FlowElement_v1::PFlow
@ PFlow
Definition: FlowElement_v1.h:45
xAOD::FlowElement_v1::isCharged
bool isCharged() const
Definition: FlowElement_v1.cxx:56
AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
histSizes.code
code
Definition: histSizes.py:129
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
JiveXML::xAODJetRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: xAODJetRetriever.cxx:68
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
JiveXML::xAODJetRetriever::m_tracksName
Gaudi::Property< std::string > m_tracksName
Definition: xAODJetRetriever.h:61
xAOD::CaloCluster_v1::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
Definition: CaloCluster_v1.cxx:251
lumiFormat.i
int i
Definition: lumiFormat.py:85
xAOD::JetAttribute::EMFrac
@ EMFrac
Definition: JetAttributes.h:112
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
xAOD::FlowElement
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Definition: FlowElement.h:16
JiveXML::xAODJetRetriever::m_otherKeys
Gaudi::Property< std::vector< std::string > > m_otherKeys
Definition: xAODJetRetriever.h:55
xAOD::FlowElement_v1::signalType
signal_t signalType() const
TRT::Track::d0
@ d0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:62
Amg::pz
@ pz
Definition: GeoPrimitives.h:40
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
xAODType::ParticleFlow
@ ParticleFlow
The object is a particle-flow object.
Definition: ObjectType.h:41
xAOD::JetAttribute::JVF
@ JVF
Definition: JetAttributes.h:99
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::AuxElement::index
size_t index() const
Return the index of this element within its container.
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
xAOD::CaloCluster_v1::getCellLinks
const CaloClusterCellLink * getCellLinks() const
Get a pointer to the CaloClusterCellLink object (const version)
Definition: CaloCluster_v1.cxx:905
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
xAOD::PFO_v1::isCharged
bool isCharged() const
is a charged PFO
Definition: PFO_v1.cxx:251
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
xAOD::FlowElement_v1::chargedObject
const xAOD::IParticle * chargedObject(std::size_t i) const
Definition: FlowElement_v1.cxx:127
Amg::py
@ py
Definition: GeoPrimitives.h:39
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
xAOD::PFO_v1
Class describing a particle flow object.
Definition: PFO_v1.h:35
JiveXML::xAODJetRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: xAODJetRetriever.h:48
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
charge
double charge(const T &p)
Definition: AtlasPID.h:756
xAOD::JetAttribute::Charge
@ Charge
Definition: JetAttributes.h:182
CP::CorrectionCode::Ok
@ Ok
The correction was done successfully.
Definition: CorrectionCode.h:38
DeMoScan.index
string index
Definition: DeMoScan.py:364
a
TList * a
Definition: liststreamerinfos.cxx:10
xAOD::TauJetParameters::numCells
@ numCells
Definition: TauDefs.h:171
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CP::CorrectionCode
Return value from object correction CP tools.
Definition: CorrectionCode.h:31
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
xAOD::JetAttribute::Jvt
@ Jvt
Definition: JetAttributes.h:101
JiveXML::xAODJetRetriever::m_CDIPaths
Gaudi::Property< std::vector< std::string > > m_CDIPaths
Definition: xAODJetRetriever.h:65
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
test_pyathena.counter
counter
Definition: test_pyathena.py:15
xAOD::JetAttribute::GhostTrack
@ GhostTrack
Definition: JetAttributes.h:252
SG::ConstIterator
Definition: SGIterator.h:163
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
JiveXML::xAODJetRetriever::m_bTaggerNames
Gaudi::Property< std::vector< std::string > > m_bTaggerNames
Definition: xAODJetRetriever.h:63
fitman.k
k
Definition: fitman.py:528
python.handimod.cc
int cc
Definition: handimod.py:523
xAOD::FlowElement_v1
A detector object made of other lower level object(s)
Definition: FlowElement_v1.h:25