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

Trigger class for secondary two-track vertices in mCBM. More...

#include <V0Trigger.h>

Public Types

typedef std::pair< std::vector< double >, V0TriggerMoniDataResult
 
typedef cbm::algo::ca::Track Track
 
typedef cbm::algo::ca::Vector< cbm::algo::ca::TrackTrackVector
 
typedef cbm::algo::kf::TrackParamS TrackParam
 

Public Member Functions

 V0Trigger ()=default
 Constructor.
 
Result operator() (const TrackVector &tracks, const V0TriggerConfig &config) const
 Execution.
 
std::string ToString () const
 Info to string.
 

Private Member Functions

std::pair< double, double > CalcPCA (const TrackParam &track1, const TrackParam &track2) const
 Calculation of closest approach of two tracks (straight lines)
 
bool Select (const Track &track, const V0TriggerConfig &config) const
 Check track cuts.
 
bool IsPrimary (const TrackParam &track, const V0TriggerConfig &config) const
 Check if track is a priomary.
 

Detailed Description

Trigger class for secondary two-track vertices in mCBM.

Author
Volker Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Date
1 February 2024

The class takes an array of tracks and searches for track pairs close in time and with a point of closest approach (PCA) outside of the target area. Tracks are assumed to be straight lines, in the absence of a magnetic field as in mCBM. The class returns a list of trigger times corresponding to track pairs satisfying the selection criteria: Maximum time difference, minimum z of PCA, maximum distance at PCA.

Definition at line 42 of file V0Trigger.h.

Member Typedef Documentation

◆ Result

Definition at line 45 of file V0Trigger.h.

◆ Track

◆ TrackParam

◆ TrackVector

Constructor & Destructor Documentation

◆ V0Trigger()

cbm::algo::evbuild::V0Trigger::V0Trigger ( )
default

Constructor.

Member Function Documentation

◆ CalcPCA()

std::pair< double, double > cbm::algo::evbuild::V0Trigger::CalcPCA ( const TrackParam & track1,
const TrackParam & track2 ) const
private

Calculation of closest approach of two tracks (straight lines)

Parameters
track1Parameters of first track
track2Parameters of second track
Returns
(z position, distance)

The closest approach is defined at the z position where the transverse distance of the tracks (in the x-y plane) is minimal. This is not strictly the minimal distance in 3-d space, which is mathematically and computationally more involved. It should be a good criterion for the purpose of finding displaced vertices.

Definition at line 65 of file V0Trigger.cxx.

References cbm::algo::kf::TrackParamBase< T >::GetTx(), cbm::algo::kf::TrackParamBase< T >::GetTy(), cbm::algo::kf::TrackParamBase< T >::GetX(), cbm::algo::kf::TrackParamBase< T >::GetY(), cbm::algo::kf::TrackParamBase< T >::GetZ(), and sqrt().

Referenced by operator()().

◆ IsPrimary()

bool cbm::algo::evbuild::V0Trigger::IsPrimary ( const TrackParam & track,
const V0TriggerConfig & config ) const
private

◆ operator()()

V0Trigger::Result cbm::algo::evbuild::V0Trigger::operator() ( const TrackVector & tracks,
const V0TriggerConfig & config ) const

Execution.

Parameters
tracksInput track vector
configTrigger configuration
Returns
Vector of trigger times and monitoring data

Definition at line 16 of file V0Trigger.cxx.

References CalcPCA(), L_, cbm::algo::evbuild::V0TriggerConfig::PairDeltaT_max(), cbm::algo::evbuild::V0TriggerConfig::PairDist_max(), cbm::algo::evbuild::V0TriggerConfig::PairZ_max(), cbm::algo::evbuild::V0TriggerConfig::PairZ_min(), Select(), and tracks.

◆ Select()

◆ ToString()

std::string cbm::algo::evbuild::V0Trigger::ToString ( ) const

Info to string.

Definition at line 131 of file V0Trigger.cxx.

Referenced by cbm::algo::evbuild::EventbuildChain::Status().


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