17#include "GaudiKernel/MsgStream.h"
28 const std::string& name,
32 declareInterface<AthTileTripReader>(
this);
35 m_tripFile=
"/cvmfs/atlas.cern.ch/repo/sw/database/GroupData/TileTripReader/CompleteTripList_2015-2018.root",
36 "Path to the trip list file");
49 MsgStream mslog( msgSvc(), name() );
53 fname = gSystem->ExpandPathName(
m_tripFile.c_str() );
64 return StatusCode::FAILURE;
66 MSG::Level cLevel=mslog.currentLevel();
67 if(cLevel<=MSG::DEBUG)
71 return StatusCode::SUCCESS;
77 return StatusCode::FAILURE;
79 return StatusCode::SUCCESS;
84 StatusCode
sc=
evtStore()->retrieve(evt,
"ByteStreamEventInfo");
86 ATH_MSG_ERROR (
"ERROR! Could not retrieve event info from store gate!");
106 StatusCode
sc=
evtStore()->retrieve(evt,
"ByteStreamEventInfo");
108 ATH_MSG_ERROR (
"ERROR! Could not retrieve event info from store gate!");
125 StatusCode
sc=
evtStore()->retrieve(evt,
"ByteStreamEventInfo");
127 ATH_MSG_ERROR (
"ERROR! Could not retrieve event info from store gate!");
#define ATH_MSG_WARNING(x)
Helpers for checking error return status codes and reporting errors.
std::string PathResolverFindXMLFile(const std::string &logical_file_name)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
virtual ~AthTileTripReader()
float calculate(const INavigable4Momentum *part)
AthTileTripReader(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode finalize() override
virtual StatusCode initialize() override
Root::TTileTripReader * m_tripReader
asg::AcceptData accept(const INavigable4Momentum *part=0)
@ Tile
The Tile calorimeter.
EventInfo_v1 EventInfo
Definition of the latest event info version.