helper class to store the information for a Filter
More...
#include <FilterInfo.h>
|
| FilterInfo () |
| default constructor needed by root
|
|
| FilterInfo (const std::string &aname, double aresult, bool accepted, bool used) |
| no setters so use this one to put in the information!
|
|
| ~FilterInfo () |
| destructor
|
|
std::string | getName () |
| getter function to get the name
|
|
double | getResult () |
| returns the result of the filtervariable attached to this filter
|
|
bool | getWasAccepted () |
| returns if the event was accepted
|
|
bool | getWasUsed () |
| returns if filter was evaluated
|
|
|
| ClassDef (FilterInfo, 1) |
| Class definition to make this a ROOT class.
|
|
|
std::string | m_name |
| name of the FilterVariable
|
|
double | m_result |
| the result of the filter variable
|
|
bool | m_wasAccepted |
| stores if filter was accepted
|
|
bool | m_wasUsed |
| stores if filter was evaluated
|
|
helper class to store the information for a Filter
Definition at line 20 of file FilterInfo.h.
◆ FilterInfo() [1/2]
default constructor needed by root
Definition at line 23 of file FilterInfo.h.
23 :
24 m_name(""),
25 m_result(-666.),
26 m_wasAccepted(false),
27 m_wasUsed(false)
28 {
29 };
◆ FilterInfo() [2/2]
FilterInfo |
( |
const std::string & | aname, |
|
|
double | aresult, |
|
|
bool | accepted, |
|
|
bool | used ) |
|
inline |
no setters so use this one to put in the information!
Definition at line 32 of file FilterInfo.h.
32 :
33 m_name(aname),
34 m_result(aresult),
35 m_wasAccepted(accepted),
36 m_wasUsed(used)
37 {
38 };
◆ ~FilterInfo()
◆ getName()
getter function to get the name
Definition at line 44 of file FilterInfo.h.
◆ getResult()
returns the result of the filtervariable attached to this filter
Definition at line 46 of file FilterInfo.h.
◆ getWasAccepted()
returns if the event was accepted
Definition at line 48 of file FilterInfo.h.
48{ return m_wasAccepted; };
◆ getWasUsed()
returns if filter was evaluated
Definition at line 50 of file FilterInfo.h.
◆ m_name
name of the FilterVariable
Definition at line 54 of file FilterInfo.h.
◆ m_result
the result of the filter variable
Definition at line 56 of file FilterInfo.h.
◆ m_wasAccepted
stores if filter was accepted
Definition at line 58 of file FilterInfo.h.
◆ m_wasUsed
stores if filter was evaluated
Definition at line 60 of file FilterInfo.h.
The documentation for this class was generated from the following file: