|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef BEAMEFFECTS_VERTEXPOSITIONFROMFILE_H
6 #define BEAMEFFECTS_VERTEXPOSITIONFROMFILE_H 1
14 #include "GaudiKernel/ServiceHandle.h"
77 #endif //> !BEAMEFECTS_VERTEXPOSITIONFROMFILE_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< std::string > m_runEventNumbersFile
run and event number overrides according to file (to be used optionally in combination with 'set vert...
StatusCode finalize() override final
Athena algtool's Hooks.
std::vector< double > XYZCoordinates
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Name of the EventInfo object in StoreGate.
bool const RAWDATA *ch2 const
VertexPositionFromFile(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
StatusCode initialize() override final
Athena algtool's Hooks.
Support class for PropertyMgr.
virtual ~VertexPositionFromFile()=default
Destructor.
EventCoordinatesMap m_vertexPositionMap
vertex position for (run,event) pairs
std::map< RunEventPair, XYZCoordinates > EventCoordinatesMap
StatusCode readVertexPosFile()
read-in and cache vertex positions from file
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< int > m_vertexPositionEventNum
event number override vector
std::vector< int > m_vertexPositionRunNum
run number override vector
Gaudi::Property< std::string > m_vertexPositionFile
set vertex position by file
=============================================================================
StatusCode readRunEventNumFile()
read-in and cache run/event number overrides locally for vertex positioning
std::pair< int, int > RunEventPair
using typedefs to make code more readable for (run,event) -> (x,y,z) mapping