CbmRoot
Loading...
Searching...
No Matches
cbm::algo::evbuild::V0TriggerConfig Class Reference

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.
 

Detailed Description

Configuration of the V0 trigger class (trigger on displaced vertices)

Author
Volker Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Since
19.04.2024

Definition at line 22 of file V0TriggerConfig.h.

Constructor & Destructor Documentation

◆ V0TriggerConfig() [1/2]

cbm::algo::evbuild::V0TriggerConfig::V0TriggerConfig ( )
inline

Default constructor.

Definition at line 26 of file V0TriggerConfig.h.

◆ V0TriggerConfig() [2/2]

cbm::algo::evbuild::V0TriggerConfig::V0TriggerConfig ( YAML::Node config)

Constructor with parameters.

Parameters
cutTimeMaximum time difference of tracks [ns]
cutZMinimum z position at closest approach
cutDistMaximum 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().

◆ ~V0TriggerConfig()

cbm::algo::evbuild::V0TriggerConfig::~V0TriggerConfig ( )
default

Destructor.

Member Function Documentation

◆ GetDoubleRequired()

double cbm::algo::evbuild::V0TriggerConfig::GetDoubleRequired ( const YAML::Node & config,
const char * key )
private

Flag whether a configuration was set.

Definition at line 35 of file V0TriggerConfig.cxx.

Referenced by V0TriggerConfig().

◆ IsSet()

bool cbm::algo::evbuild::V0TriggerConfig::IsSet ( ) const
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().

◆ PairDeltaT_max()

double cbm::algo::evbuild::V0TriggerConfig::PairDeltaT_max ( ) const
inline

Maximum time difference of tracks.

Definition at line 71 of file V0TriggerConfig.h.

References fPairDeltaT_max.

Referenced by cbm::algo::evbuild::V0Trigger::operator()().

◆ PairDist_max()

double cbm::algo::evbuild::V0TriggerConfig::PairDist_max ( ) const
inline

Maximum distance at closest approach.

Definition at line 74 of file V0TriggerConfig.h.

References fPairDist_max.

Referenced by cbm::algo::evbuild::V0Trigger::operator()().

◆ PairZ_max()

double cbm::algo::evbuild::V0TriggerConfig::PairZ_max ( ) const
inline

Maximum z of PCA.

Definition at line 80 of file V0TriggerConfig.h.

References fPairZ_max.

Referenced by cbm::algo::evbuild::V0Trigger::operator()().

◆ PairZ_min()

double cbm::algo::evbuild::V0TriggerConfig::PairZ_min ( ) const
inline

Minimum z of PCA.

Definition at line 77 of file V0TriggerConfig.h.

References fPairZ_min.

Referenced by cbm::algo::evbuild::V0Trigger::operator()().

◆ ToYaml()

YAML::Node cbm::algo::evbuild::V0TriggerConfig::ToYaml ( ) const

◆ TrackEndZ_min()

double cbm::algo::evbuild::V0TriggerConfig::TrackEndZ_min ( ) const
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().

◆ TrackImpactX_max()

double cbm::algo::evbuild::V0TriggerConfig::TrackImpactX_max ( ) const
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().

◆ TrackImpactX_min()

double cbm::algo::evbuild::V0TriggerConfig::TrackImpactX_min ( ) const
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().

◆ TrackImpactY_max()

double cbm::algo::evbuild::V0TriggerConfig::TrackImpactY_max ( ) const
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().

◆ TrackImpactY_min()

double cbm::algo::evbuild::V0TriggerConfig::TrackImpactY_min ( ) const
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().

◆ TrackStartZ_max()

double cbm::algo::evbuild::V0TriggerConfig::TrackStartZ_max ( ) const
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().

◆ TrackStartZ_min()

double cbm::algo::evbuild::V0TriggerConfig::TrackStartZ_min ( ) const
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().

Member Data Documentation

◆ fIsSet

bool cbm::algo::evbuild::V0TriggerConfig::fIsSet {false}
private

Maximum z of PCA.

Definition at line 105 of file V0TriggerConfig.h.

Referenced by IsSet(), and V0TriggerConfig().

◆ fPairDeltaT_max

double cbm::algo::evbuild::V0TriggerConfig::fPairDeltaT_max {0.}
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().

◆ fPairDist_max

double cbm::algo::evbuild::V0TriggerConfig::fPairDist_max {0.}
private

Maximum time difference of tracks.

Definition at line 101 of file V0TriggerConfig.h.

Referenced by PairDist_max(), ToYaml(), and V0TriggerConfig().

◆ fPairZ_max

double cbm::algo::evbuild::V0TriggerConfig::fPairZ_max {0.}
private

Minimum z of PCA.

Definition at line 103 of file V0TriggerConfig.h.

Referenced by PairZ_max(), ToYaml(), and V0TriggerConfig().

◆ fPairZ_min

double cbm::algo::evbuild::V0TriggerConfig::fPairZ_min {0.}
private

Maximum distance at closest approach.

Definition at line 102 of file V0TriggerConfig.h.

Referenced by PairZ_min(), ToYaml(), and V0TriggerConfig().

◆ fTrackEndZ_min

double cbm::algo::evbuild::V0TriggerConfig::fTrackEndZ_min {0.}
private

Maximum z at first track measurement.

Definition at line 93 of file V0TriggerConfig.h.

Referenced by ToYaml(), TrackEndZ_min(), and V0TriggerConfig().

◆ fTrackImpactX_max

double cbm::algo::evbuild::V0TriggerConfig::fTrackImpactX_max {0.}
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().

◆ fTrackImpactX_min

double cbm::algo::evbuild::V0TriggerConfig::fTrackImpactX_min {0.}
private

Minimum z at last track measurement.

Definition at line 94 of file V0TriggerConfig.h.

Referenced by ToYaml(), TrackImpactX_min(), and V0TriggerConfig().

◆ fTrackImpactY_max

double cbm::algo::evbuild::V0TriggerConfig::fTrackImpactY_max {0.}
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().

◆ fTrackImpactY_min

double cbm::algo::evbuild::V0TriggerConfig::fTrackImpactY_min {0.}
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().

◆ fTrackStartZ_max

double cbm::algo::evbuild::V0TriggerConfig::fTrackStartZ_max {0.}
private

Minimum z at first track measurement.

Definition at line 92 of file V0TriggerConfig.h.

Referenced by ToYaml(), TrackStartZ_max(), and V0TriggerConfig().

◆ fTrackStartZ_min

double cbm::algo::evbuild::V0TriggerConfig::fTrackStartZ_min {0.}
private

Definition at line 91 of file V0TriggerConfig.h.

Referenced by ToYaml(), TrackStartZ_min(), and V0TriggerConfig().


The documentation for this class was generated from the following files: