ATLAS Offline Software
BJetRetriever.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JIVEXML_BJETRETRIEVER_H
6 #define JIVEXML_BJETRETRIEVER_H
7 
8 
9 
10 #include "JiveXML/IDataRetriever.h"
12 #include <string>
13 #include <vector>
14 class JetCollection;
15 
16 namespace JiveXML{
17 
32  class BJetRetriever : virtual public IDataRetriever,
33  public AthAlgTool {
34 
35  public:
36 
38  BJetRetriever(const std::string& type,const std::string& name,const IInterface* parent);
39 
41  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
42  const DataMap getData(const JetCollection*);
43 
45  virtual std::string dataTypeName() const { return m_typeName; };
46 
47  private:
49  const std::string m_typeName;
50 
51  std::string m_sgKeyFavourite;
52  std::vector<std::string> m_otherKeys;
53  bool m_doWriteHLT{};
54  float m_weightCut{};
55  };
56 }
57 #endif
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
JiveXML::BJetRetriever
Retrieves Jet objects, filter from weight for BJet (JetEvent/Jet)
Definition: BJetRetriever.h:33
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
JiveXML::BJetRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: BJetRetriever.h:45
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::BJetRetriever::m_otherKeys
std::vector< std::string > m_otherKeys
Definition: BJetRetriever.h:52
JiveXML::BJetRetriever::BJetRetriever
BJetRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: BJetRetriever.cxx:19
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
JiveXML::BJetRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: BJetRetriever.h:45
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
JiveXML::BJetRetriever::m_doWriteHLT
bool m_doWriteHLT
Definition: BJetRetriever.h:53
JiveXML::BJetRetriever::getData
const DataMap getData(const JetCollection *)
Retrieve basic parameters, mainly four-vectors.
Definition: BJetRetriever.cxx:116
JiveXML::BJetRetriever::m_sgKeyFavourite
std::string m_sgKeyFavourite
Definition: BJetRetriever.h:51
JetCollection
Container for Jets
Definition: JetCollection.h:30
JiveXML::BJetRetriever::m_weightCut
float m_weightCut
Definition: BJetRetriever.h:54
AthAlgTool
Definition: AthAlgTool.h:26
IDataRetriever.h
JiveXML::BJetRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: BJetRetriever.cxx:40