ATLAS Offline Software
TrackParticleRetriever.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_TRACKPARTICLERETRIEVER_H
6 #define JIVEXML_TRACKPARTICLERETRIEVER_H
7 
10 #include "GaudiKernel/ToolHandle.h"
11 
12 //Forward declarations
13 
14 namespace JiveXML{
15 
34  class TrackParticleRetriever : virtual public IDataRetriever,
35  public AthAlgTool {
36 
37  public:
38 
40  TrackParticleRetriever(const std::string& type,const std::string& name,const IInterface* parent);
41 
43  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
44 
46  virtual std::string dataTypeName() const { return m_typeName; };
47 
48  private:
50  const std::string m_typeName;
51 
52  //@name Property members
54  std::string m_PriorityTrackCollection;
57  std::vector<std::string> m_OtherTrackCollections;
61  };
62 
63 }
64 #endif
JiveXML::TrackParticleRetriever::TrackParticleRetriever
TrackParticleRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: TrackParticleRetriever.cxx:24
JiveXML::TrackParticleRetriever::m_PriorityTrackCollection
std::string m_PriorityTrackCollection
First track collections to retrieve, shown as default in Atlantis.
Definition: TrackParticleRetriever.h:55
JiveXML::TrackParticleRetriever
Retrieves all TrackParticle (AOD) Collection objects This is a chopped version of the full (RDO/ESD) ...
Definition: TrackParticleRetriever.h:35
JiveXML::TrackParticleRetriever::m_doWriteHLT
bool m_doWriteHLT
Wether to write HLTAutoKey objects.
Definition: TrackParticleRetriever.h:59
JiveXML::TrackParticleRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: TrackParticleRetriever.cxx:100
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:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
JiveXML::TrackParticleRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: TrackParticleRetriever.h:46
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::TrackParticleRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: TrackParticleRetriever.h:46
JiveXML::TrackParticleRetriever::m_OtherTrackCollections
std::vector< std::string > m_OtherTrackCollections
Track collections to retrieve in the sequence they are given, all if empty.
Definition: TrackParticleRetriever.h:57
AthAlgTool
Definition: AthAlgTool.h:26
IDataRetriever.h