ATLAS Offline Software
CompositeParticleRetriever.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_COMPOSITEPARTICLERETRIEVER_H
6 #define JIVEXML_COMPOSITEPARTICLERETRIEVER_H
7 
8 #include <string>
9 #include <vector>
10 #include <map>
11 
12 #include "JiveXML/IDataRetriever.h"
14 
16 
17 namespace JiveXML{
18 
32  public AthAlgTool {
33 
34  public:
35 
37  CompositeParticleRetriever(const std::string& type,const std::string& name,const IInterface* parent);
38 
40  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
42 
44  virtual std::string dataTypeName() const { return m_typeName; };
45 
46  private:
48  const std::string m_typeName;
49 
50  std::string m_sgKey;
51  };
52 }
53 #endif
JiveXML::CompositeParticleRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: CompositeParticleRetriever.cxx:40
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
CompositeParticleContainer
Definition: PhysicsAnalysis/AnalysisCommon/ParticleEvent/ParticleEvent/CompositeParticleContainer.h:36
JiveXML::CompositeParticleRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: CompositeParticleRetriever.h:44
JiveXML::CompositeParticleRetriever::CompositeParticleRetriever
CompositeParticleRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: CompositeParticleRetriever.cxx:24
JiveXML::CompositeParticleRetriever
Retrieves all CompositeParticle objects (AllObjects)
Definition: CompositeParticleRetriever.h:32
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
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
JiveXML::CompositeParticleRetriever::getData
const DataMap getData(const CompositeParticleContainer *)
Retrieve basic parameters, mainly four-vectors, for each collection.
Definition: CompositeParticleRetriever.cxx:87
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
IDataRetriever.h
JiveXML::CompositeParticleRetriever::m_sgKey
std::string m_sgKey
Definition: CompositeParticleRetriever.h:50
JiveXML::CompositeParticleRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: CompositeParticleRetriever.h:44