Loading [MathJax]/jax/input/TeX/config.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
xAODTauRetriever.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JIVEXML_XAODTAURETRIEVER_H
6 #define JIVEXML_XAODTAURETRIEVER_H
7 
8 #include <string>
9 #include <vector>
10 #include <map>
11 
12 #include "JiveXML/IDataRetriever.h"
15 
16 namespace JiveXML{
17 
35  class xAODTauRetriever : virtual public IDataRetriever,
36  public AthAlgTool {
37 
38  public:
39 
41  xAODTauRetriever(const std::string& type,const std::string& name,const IInterface* parent);
42 
43  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
47  const std::vector<std::string> getKeys();
49  virtual std::string dataTypeName() const { return m_typeName; };
50 
51  private:
52 
54  const std::string m_typeName = "TauJet";
55 
56  Gaudi::Property<bool> m_doWriteHLT {this, "DoWriteHLT", false, "Write out other collections that have HLT in the name"};
57  Gaudi::Property<bool> m_doWriteAllCollections {this, "DoWriteAllCollections", false, "Write out all Cluster collections"};
58  Gaudi::Property<std::vector<std::string>> m_otherKeys {this, "OtherTauCollections", {}, "Other collections to be retrieved. If DoWriteAllCollections is set to true all available Tau collections will be retrieved"};
59  Gaudi::Property<std::string> m_priorityKey {this,"PriorityTauCollection","TauJets", "Name of the priority Tau container that will be written out first"};
60  Gaudi::Property<std::string> m_tracksName {this, "TracksName", "InDetTrackParticles_xAOD", "Name of track container"};
61 
62  };
63 }
64 #endif
JiveXML::xAODTauRetriever
Retrieves all Tau objects (TauAODCollection etc.)
Definition: xAODTauRetriever.h:36
JiveXML::xAODTauRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: xAODTauRetriever.h:54
JiveXML::xAODTauRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
For each Tau collections retrieve basic parameters.
Definition: xAODTauRetriever.cxx:28
JiveXML::xAODTauRetriever::getData
const DataMap getData(const xAOD::TauJetContainer *)
Return the name of the data type that is generated by this retriever.
Definition: xAODTauRetriever.cxx:60
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
JiveXML::xAODTauRetriever::m_doWriteAllCollections
Gaudi::Property< bool > m_doWriteAllCollections
Definition: xAODTauRetriever.h:57
JiveXML::xAODTauRetriever::m_tracksName
Gaudi::Property< std::string > m_tracksName
Definition: xAODTauRetriever.h:60
JiveXML::xAODTauRetriever::m_priorityKey
Gaudi::Property< std::string > m_priorityKey
Definition: xAODTauRetriever.h:59
JiveXML::xAODTauRetriever::m_otherKeys
Gaudi::Property< std::vector< std::string > > m_otherKeys
Definition: xAODTauRetriever.h:58
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition: IDataRetriever.h:25
JiveXML::xAODTauRetriever::m_doWriteHLT
Gaudi::Property< bool > m_doWriteHLT
Definition: xAODTauRetriever.h:56
TauJetContainer.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
JiveXML::xAODTauRetriever::xAODTauRetriever
xAODTauRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: xAODTauRetriever.cxx:21
JiveXML::xAODTauRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type that is generated by this retriever.
Definition: xAODTauRetriever.h:49
AthAlgTool
Definition: AthAlgTool.h:26
JiveXML::xAODTauRetriever::getKeys
const std::vector< std::string > getKeys()
Gets the StoreGate keys for the desired containers.
Definition: xAODTauRetriever.cxx:173
IDataRetriever.h