The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
EventContext.cpp
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3* *
4* This software is distributed under the terms of the Apache version 2 licence, *
5* copied verbatim in the file "LICENSE". *
6* *
7* In applying this licence, CERN does not waive the privileges and immunities *
8* granted to it by virtue of its status as an Intergovernmental Organization *
9* or submit itself to any jurisdiction. *
10\***********************************************************************************/
12
13std::ostream& operator<<( std::ostream& os, const EventContext& ctx ) { return os << fmt::format( "{}", ctx ); }
14
15std::ostream& operator<<( std::ostream& os, const EventContext* c ) {
16 if ( c ) { return os << fmt::format( "{}", *c ); }
17 return os << "INVALID";
18}
std::ostream & operator<<(std::ostream &os, const EventContext &ctx)
EventContext()=default