ATLAS Offline Software
ElectronRetriever.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_ELECTRONRETRIEVER_H
6 #define JIVEXML_ELECTRONRETRIEVER_H
7 
8 
9 
10 
11 #include "JiveXML/IDataRetriever.h"
13 
15 #include "JiveXML/DataType.h" //DataMap typedef
16 #include <string>
17 class ElectronContainer;
18 
19 namespace JiveXML{
20 
34  class ElectronRetriever : virtual public IDataRetriever,
35  public AthAlgTool {
36 
37  public:
38 
40  ElectronRetriever(const std::string& type,const std::string& name,const IInterface* parent);
41 
43  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
44  const DataMap getData(const ElectronContainer*);
45 
47  virtual std::string dataTypeName() const { return m_typeName; };
48 
49  private:
51  const std::string m_typeName;
52 
53  std::string m_sgKey;
54  };
55 }
56 #endif
DataType.h
ElectronContainer.h
JiveXML::ElectronRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: ElectronRetriever.cxx:38
JiveXML::ElectronRetriever::ElectronRetriever
ElectronRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: ElectronRetriever.cxx:23
JiveXML::ElectronRetriever::getData
const DataMap getData(const ElectronContainer *)
Retrieve basic parameters, mainly four-vectors, for each collection.
Definition: ElectronRetriever.cxx:84
JiveXML::ElectronRetriever::m_sgKey
std::string m_sgKey
Definition: ElectronRetriever.h:53
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
JiveXML::ElectronRetriever
Retrieves all Electron objects (ElectronAODCollection etc.)
Definition: ElectronRetriever.h:35
JiveXML::ElectronRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: ElectronRetriever.h:47
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
JiveXML::ElectronRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: ElectronRetriever.h:47
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
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
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ElectronContainer
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/ElectronContainer.h:32
AthAlgTool
Definition: AthAlgTool.h:26
IDataRetriever.h