Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
REveTypes.cxx
Go to the documentation of this file.
1// @(#)root/eve7:$Id$
2// Authors: Matevz Tadel & Alja Mrak-Tadel: 2020
3
4/*************************************************************************
5 * Copyright (C) 1995-2020, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#include <ROOT/REveTypes.hxx>
13#include <ROOT/RLogger.hxx>
14#include <iostream>
15
16using namespace ROOT::Experimental;
17namespace REX = ROOT::Experimental;
18
19/**
20 * \defgroup REve Event display with ROOT7
21 * \brief Modern version of "Event display" using ROOT7
22 */
23
24/** \class REveException
25\ingroup REve
26Exception class thrown by Eve classes and macros.
27*/
28
29////////////////////////////////////////////////////////////////////////////////
30
31bool REX::operator==(const TString& t, const std::string& s)
32{ return (s == t.Data()); }
33
34bool REX::operator==(const std::string& s, const TString& t)
35{ return (s == t.Data()); }
36
37// Exc + ops
38
39REveException REX::operator+(const REveException &s1, const std::string &s2)
40{ REveException r(s1); r.append(s2); return r; }
41
43{ REveException r(s1); r.append(s2.Data()); return r; }
44
46{ REveException r(s1); r.append(s2); return r; }
47
49{ REveException r(s1); r.append(std::to_string(x)); return r; }
50
52{
53 static RLogChannel sLog("ROOT.Eve");
54 return sLog;
55}
56
#define s1(x)
Definition RSha256.hxx:91
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
REveException Exception-type thrown by Eve classes.
Definition REveTypes.hxx:41
A log configuration for a channel, e.g.
Definition RLogger.hxx:101
Basic string class.
Definition TString.h:139
const char * Data() const
Definition TString.h:376
Double_t x[n]
Definition legend1.C:17
ELogLevel operator+(ELogLevel severity, int offset)
Definition RLogger.hxx:45
RLogChannel & REveLog()
Log channel for Eve diagnostics.
Definition REveTypes.cxx:51
bool operator==(const RConcurrentHashColl::HashValue &lhs, const RConcurrentHashColl::HashValue &rhs)