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`
55  : runtime_error(
56  intercept_printf([error,&tree]() {
57  printf("%s%s%s\n", bold, error, normal);
58  tree->Show();
59  })
60  )
61  { }

◆ AnomalousEvent() [2/2]

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

Constructor for bad input tree.

Parameters
errorerror message
treepointer to `TTree`
55  : runtime_error(
56  intercept_printf([error,&tree]() {
57  printf("%s%s%s\n", bold, error, normal);
58  tree->Show();
59  })
60  )
61  { }

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:25
Step::bold
static const char * bold
Definition: Step.h:35