CbmRoot
|
Configuration of the V0 trigger class (trigger on displaced vertices) More...
#include <V0TriggerConfig.h>
Public Member Functions | |
V0TriggerConfig () | |
Default constructor. | |
V0TriggerConfig (YAML::Node config) | |
Constructor with parameters. | |
~V0TriggerConfig ()=default | |
Destructor. | |
double | TrackStartZ_min () const |
Minimum z at first track measurement. | |
double | TrackStartZ_max () const |
Maximum z at first track measurement. | |
double | TrackEndZ_min () const |
Minimum z at last track measurement. | |
double | TrackImpactX_min () const |
Minimum x of track impact in target plane. | |
double | TrackImpactX_max () const |
Maximum x of track impact in target plane. | |
double | TrackImpactY_min () const |
Minimum y of track impact in target plane. | |
double | TrackImpactY_max () const |
Maximum y of track impact in target plane. | |
double | PairDeltaT_max () const |
Maximum time difference of tracks. | |
double | PairDist_max () const |
Maximum distance at closest approach. | |
double | PairZ_min () const |
Minimum z of PCA. | |
double | PairZ_max () const |
Maximum z of PCA. | |
bool | IsSet () const |
Check whether config was set. | |
YAML::Node | ToYaml () const |
Save to YAML. | |
Private Member Functions | |
double | GetDoubleRequired (const YAML::Node &config, const char *key) |
Flag whether a configuration was set. | |
Private Attributes | |
double | fTrackStartZ_min {0.} |
double | fTrackStartZ_max {0.} |
Minimum z at first track measurement. | |
double | fTrackEndZ_min {0.} |
Maximum z at first track measurement. | |
double | fTrackImpactX_min {0.} |
Minimum z at last track measurement. | |
double | fTrackImpactX_max {0.} |
Minimum x of excluded track impact in target plane. | |
double | fTrackImpactY_min {0.} |
Maximum x of excluded track impact in target plane. | |
double | fTrackImpactY_max {0.} |
Minimum y of excluded track impact in target plane. | |
double | fPairDeltaT_max {0.} |
Maximum y of excluded track impact in target plane. | |
double | fPairDist_max {0.} |
Maximum time difference of tracks. | |
double | fPairZ_min {0.} |
Maximum distance at closest approach. | |
double | fPairZ_max {0.} |
Minimum z of PCA. | |
bool | fIsSet {false} |
Maximum z of PCA. | |
Configuration of the V0 trigger class (trigger on displaced vertices)
Definition at line 22 of file V0TriggerConfig.h.
|
inline |
Default constructor.
Definition at line 26 of file V0TriggerConfig.h.
cbm::algo::evbuild::V0TriggerConfig::V0TriggerConfig | ( | YAML::Node | config | ) |
Constructor with parameters.
cutTime | Maximum time difference of tracks [ns] |
cutZ | Minimum z position at closest approach |
cutDist | Maximum distance at closest approach |
Constructor from YAML
Definition at line 12 of file V0TriggerConfig.cxx.
References fIsSet, fPairDeltaT_max, fPairDist_max, fPairZ_max, fPairZ_min, fTrackEndZ_min, fTrackImpactX_max, fTrackImpactX_min, fTrackImpactY_max, fTrackImpactY_min, fTrackStartZ_max, fTrackStartZ_min, and GetDoubleRequired().
|
default |
Destructor.
|
private |
Flag whether a configuration was set.
Definition at line 35 of file V0TriggerConfig.cxx.
Referenced by V0TriggerConfig().
|
inline |
Check whether config was set.
Definition at line 83 of file V0TriggerConfig.h.
References fIsSet.
Referenced by cbm::algo::evbuild::EventbuildChain::Run(), and cbm::algo::evbuild::EventbuildChain::Status().
|
inline |
Maximum time difference of tracks.
Definition at line 71 of file V0TriggerConfig.h.
References fPairDeltaT_max.
Referenced by cbm::algo::evbuild::V0Trigger::operator()().
|
inline |
Maximum distance at closest approach.
Definition at line 74 of file V0TriggerConfig.h.
References fPairDist_max.
Referenced by cbm::algo::evbuild::V0Trigger::operator()().
|
inline |
Maximum z of PCA.
Definition at line 80 of file V0TriggerConfig.h.
References fPairZ_max.
Referenced by cbm::algo::evbuild::V0Trigger::operator()().
|
inline |
Minimum z of PCA.
Definition at line 77 of file V0TriggerConfig.h.
References fPairZ_min.
Referenced by cbm::algo::evbuild::V0Trigger::operator()().
YAML::Node cbm::algo::evbuild::V0TriggerConfig::ToYaml | ( | ) | const |
Save to YAML.
Definition at line 45 of file V0TriggerConfig.cxx.
References fPairDeltaT_max, fPairDist_max, fPairZ_max, fPairZ_min, fTrackEndZ_min, fTrackImpactX_max, fTrackImpactX_min, fTrackImpactY_max, fTrackImpactY_min, fTrackStartZ_max, and fTrackStartZ_min.
Referenced by cbm::algo::evbuild::Config::ToYaml().
|
inline |
Minimum z at last track measurement.
Definition at line 56 of file V0TriggerConfig.h.
References fTrackEndZ_min.
Referenced by cbm::algo::evbuild::V0Trigger::Select().
|
inline |
Maximum x of track impact in target plane.
Definition at line 62 of file V0TriggerConfig.h.
References fTrackImpactX_max.
Referenced by cbm::algo::evbuild::V0Trigger::IsPrimary().
|
inline |
Minimum x of track impact in target plane.
Definition at line 59 of file V0TriggerConfig.h.
References fTrackImpactX_min.
Referenced by cbm::algo::evbuild::V0Trigger::IsPrimary().
|
inline |
Maximum y of track impact in target plane.
Definition at line 68 of file V0TriggerConfig.h.
References fTrackImpactY_max.
Referenced by cbm::algo::evbuild::V0Trigger::IsPrimary().
|
inline |
Minimum y of track impact in target plane.
Definition at line 65 of file V0TriggerConfig.h.
References fTrackImpactY_min.
Referenced by cbm::algo::evbuild::V0Trigger::IsPrimary().
|
inline |
Maximum z at first track measurement.
Definition at line 53 of file V0TriggerConfig.h.
References fTrackStartZ_max.
Referenced by cbm::algo::evbuild::V0Trigger::Select().
|
inline |
Minimum z at first track measurement.
Definition at line 50 of file V0TriggerConfig.h.
References fTrackStartZ_min.
Referenced by cbm::algo::evbuild::V0Trigger::Select().
|
private |
Maximum z of PCA.
Definition at line 105 of file V0TriggerConfig.h.
Referenced by IsSet(), and V0TriggerConfig().
|
private |
Maximum y of excluded track impact in target plane.
Definition at line 100 of file V0TriggerConfig.h.
Referenced by PairDeltaT_max(), ToYaml(), and V0TriggerConfig().
|
private |
Maximum time difference of tracks.
Definition at line 101 of file V0TriggerConfig.h.
Referenced by PairDist_max(), ToYaml(), and V0TriggerConfig().
|
private |
Minimum z of PCA.
Definition at line 103 of file V0TriggerConfig.h.
Referenced by PairZ_max(), ToYaml(), and V0TriggerConfig().
|
private |
Maximum distance at closest approach.
Definition at line 102 of file V0TriggerConfig.h.
Referenced by PairZ_min(), ToYaml(), and V0TriggerConfig().
|
private |
Maximum z at first track measurement.
Definition at line 93 of file V0TriggerConfig.h.
Referenced by ToYaml(), TrackEndZ_min(), and V0TriggerConfig().
|
private |
Minimum x of excluded track impact in target plane.
Definition at line 95 of file V0TriggerConfig.h.
Referenced by ToYaml(), TrackImpactX_max(), and V0TriggerConfig().
|
private |
Minimum z at last track measurement.
Definition at line 94 of file V0TriggerConfig.h.
Referenced by ToYaml(), TrackImpactX_min(), and V0TriggerConfig().
|
private |
Minimum y of excluded track impact in target plane.
Definition at line 97 of file V0TriggerConfig.h.
Referenced by ToYaml(), TrackImpactY_max(), and V0TriggerConfig().
|
private |
Maximum x of excluded track impact in target plane.
Definition at line 96 of file V0TriggerConfig.h.
Referenced by ToYaml(), TrackImpactY_min(), and V0TriggerConfig().
|
private |
Minimum z at first track measurement.
Definition at line 92 of file V0TriggerConfig.h.
Referenced by ToYaml(), TrackStartZ_max(), and V0TriggerConfig().
|
private |
Definition at line 91 of file V0TriggerConfig.h.
Referenced by ToYaml(), TrackStartZ_min(), and V0TriggerConfig().