DAS  3.0
Das Analysis System
AnomalousEvent

Description

Generic exception for problematic event (during event loop).

#include <exceptions.h>

+ Inheritance diagram for AnomalousEvent:
+ Collaboration diagram for AnomalousEvent:

Public Member Functions

template<typename TTreePtr >
 AnomalousEvent (const char *error, const TTreePtr &tree)
 
template<typename TTreePtr >
 AnomalousEvent (const char *error, const TTreePtr &tree)
 

Constructor & Destructor Documentation

◆ AnomalousEvent() [1/2]

AnomalousEvent ( const char *  error,
const TTreePtr &  tree 
)
inline

Constructor for bad input tree.

Parameters
errorerror message
treepointer to `TTree`
70  : runtime_error(
71  intercept_printf([error,&tree]() {
72  printf("%s%s%s\n", bold, error, normal);
73  tree->Show();
74  })
75  )
76  { }

◆ AnomalousEvent() [2/2]

AnomalousEvent ( const char *  error,
const TTreePtr &  tree 
)
inline

Constructor for bad input tree.

Parameters
errorerror message
treepointer to `TTree`
70  : runtime_error(
71  intercept_printf([error,&tree]() {
72  printf("%s%s%s\n", bold, error, normal);
73  tree->Show();
74  })
75  )
76  { }

The documentation for this struct was generated from the following file:
normal
static const char * normal
Definition: colours.h:8
Darwin::Exceptions::intercept_printf
std::string intercept_printf(std::function< void()> const lambda=[]() { printf(__func__);})
Definition: exceptions.h:33
Step::bold
static const char * bold
Definition: Step.h:35