ATLAS Offline Software
xAODJetRetriever.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JIVEXML_XAODJETRETRIEVER_H
6 #define JIVEXML_XAODJETRETRIEVER_H
7 
8 #include <string>
9 #include <vector>
10 #include <map>
11 
12 #include "JiveXML/IDataRetriever.h"
14 
15 #include "xAODJet/JetContainer.h"
16 
17 namespace JiveXML{
18 
32  class xAODJetRetriever : virtual public IDataRetriever,
33  public AthAlgTool {
34 
35  public:
36 
38  xAODJetRetriever(const std::string& type,const std::string& name,const IInterface* parent);
39 
41  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
42  const DataMap getData(const xAOD::JetContainer*);
43 
45  virtual std::string dataTypeName() const { return m_typeName; };
46 
47  private:
49  const std::string m_typeName;
50 
51  std::string m_sgKey;
52  std::string m_sgKeyFavourite;
53  std::string m_tracksName;
54  std::vector<std::string> m_otherKeys;
57 
58  };
59 }
60 #endif
JiveXML::xAODJetRetriever::m_doWriteHLT
bool m_doWriteHLT
Definition: xAODJetRetriever.h:55
JiveXML::xAODJetRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: xAODJetRetriever.h:45
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
JiveXML::xAODJetRetriever
Retrieves all Jet objects (JetAODCollection etc.)
Definition: xAODJetRetriever.h:33
JiveXML::xAODJetRetriever::xAODJetRetriever
xAODJetRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: xAODJetRetriever.cxx:38
JiveXML::xAODJetRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: xAODJetRetriever.cxx:64
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
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
JiveXML::xAODJetRetriever::m_sgKey
std::string m_sgKey
Definition: xAODJetRetriever.h:51
JiveXML::xAODJetRetriever::getData
const DataMap getData(const xAOD::JetContainer *)
Retrieve basic parameters, mainly four-vectors, for each collection.
Definition: xAODJetRetriever.cxx:134
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:21
JiveXML::xAODJetRetriever::m_otherKeys
std::vector< std::string > m_otherKeys
Definition: xAODJetRetriever.h:54
JiveXML::xAODJetRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: xAODJetRetriever.h:45
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
JetContainer.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::xAODJetRetriever::m_sgKeyFavourite
std::string m_sgKeyFavourite
Definition: xAODJetRetriever.h:52
AthAlgTool
Definition: AthAlgTool.h:26
JiveXML::xAODJetRetriever::m_writeJetQuality
bool m_writeJetQuality
Definition: xAODJetRetriever.h:56
IDataRetriever.h
JiveXML::xAODJetRetriever::m_tracksName
std::string m_tracksName
Definition: xAODJetRetriever.h:53