ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
15#include "JiveXML/DataType.h" //DataMap typedef
16#include <string>
18
19namespace 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
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual std::string dataTypeName() const
Return the name of the data type.
ElectronRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
const DataMap getData(const ElectronContainer *)
Retrieve basic parameters, mainly four-vectors, for each collection.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
const std::string m_typeName
The data type that is generated by this retriever.
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
std::map< std::string, DataVect > DataMap
Definition DataType.h:59