Helper class that stores the information an Observer stores: i.e.
More...
#include <ObserverInfo.h>
Helper class that stores the information an Observer stores: i.e.
all the responses of the subfilters contained in a Filter.
Definition at line 24 of file ObserverInfo.h.
◆ addFilterInfo()
add a new filter info:
- Parameters
-
info | the filterinfo to be added |
Definition at line 86 of file ObserverInfo.h.
std::vector< FilterInfo > m_filterInfos
stores the information for each Filter
◆ getFilterAccepted()
bool getFilterAccepted |
( |
std::string const & |
key | ) |
|
|
inline |
returns if the filter was accepted
- Parameters
-
key | name under which filter was stored |
Definition at line 70 of file ObserverInfo.h.
◆ getFilterInfo()
FilterInfo getFilterInfo |
( |
std::string const & |
key | ) |
|
|
inline |
returns the filter info with the requested key
- Parameters
-
key | name of the key for that filter |
Definition at line 43 of file ObserverInfo.h.
◆ getFilterName()
std::string getFilterName |
( |
int |
i | ) |
|
|
inline |
function to access the filter infos directly, as inderect access seems not to work within the Draw of root:
- Parameters
-
i | the index under which the filter was stored in m_filterinfos |
Definition at line 54 of file ObserverInfo.h.
◆ getFilterResult()
double getFilterResult |
( |
std::string const & |
key | ) |
|
|
inline |
returns the requested filter result
- Parameters
-
key | the key under which the filter was stored |
Definition at line 62 of file ObserverInfo.h.
◆ getFilterUsed()
double getFilterUsed |
( |
std::string const & |
key | ) |
|
|
inline |
returns if the filter was used
- Parameters
-
key | key under which filter was stored |
Definition at line 78 of file ObserverInfo.h.
◆ getHit()
◆ setHits()
sets the hits the filter has been evaluated with
- Parameters
-
newHits | vector of spacepoint which have been used in this filter |
Definition at line 103 of file ObserverInfo.h.
◆ setMainMCParticleID()
void setMainMCParticleID |
( |
int |
id | ) |
|
|
inline |
◆ setMainPurity()
void setMainPurity |
( |
double |
val | ) |
|
|
inline |
sets the purity
- Parameters
-
val | new value of the purity |
Definition at line 119 of file ObserverInfo.h.
The documentation for this class was generated from the following files: