BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnDataFilters.h File Reference
#include "BmnDetectorModel.h"
#include "CbmStsHit.h"
#include "CbmStsTrack.h"
#include <functional>
Include dependency graph for BmnDataFilters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::function< Bool_t(const CbmStsHit &)> HitFilter_t
typedef std::function< Bool_t(const CbmStsTrack &, Int_t usableHits)> TrackFilter_t

Functions

Bool_t BmnAcceptHit (const CbmStsHit &hit, const BmnDetectorModel &model)
Bool_t BmnAcceptTrack (const CbmStsTrack &track, Int_t usableHits, Bool_t wholeTrackOnly=kTRUE)
HitFilter_t BmnDefaultHitFilter (const BmnDetectorModel &model)
TrackFilter_t BmnDefaultTrackFilter (Bool_t wholeTrackOnly=kTRUE)

Variables

constexpr Int_t BMN_MIN_HITS_PER_TRACK {5}
constexpr Double_t BMN_MAX_CHI2_PER_NDF {5.0}
constexpr const char * BMN_TRACKS_CUT_STR {"at least 5 hits, max Chi2/NDF = 5.0"}
constexpr const char * BMN_HITS_CUT_STR {"no hit cuts applied"}
constexpr const char * BMN_VERTEX_CUT_STR {"one SiBT hit per station, then the residual test in Align()"}

Typedef Documentation

◆ HitFilter_t

typedef std::function<Bool_t(const CbmStsHit&)> HitFilter_t

Definition at line 56 of file BmnDataFilters.h.

◆ TrackFilter_t

typedef std::function<Bool_t(const CbmStsTrack&, Int_t usableHits)> TrackFilter_t

Definition at line 57 of file BmnDataFilters.h.

Function Documentation

◆ BmnAcceptHit()

Bool_t BmnAcceptHit ( const CbmStsHit & hit,
const BmnDetectorModel & model )
inline

Definition at line 34 of file BmnDataFilters.h.

References BmnDetectorModel::IgnoreHit().

Referenced by BmnDefaultHitFilter(), and vertex().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BmnAcceptTrack()

Bool_t BmnAcceptTrack ( const CbmStsTrack & track,
Int_t usableHits,
Bool_t wholeTrackOnly = kTRUE )
inline

Definition at line 39 of file BmnDataFilters.h.

References BMN_MAX_CHI2_PER_NDF, BMN_MIN_HITS_PER_TRACK, CbmStsTrack::GetChi2(), CbmStsTrack::GetNDF(), and CbmStsTrack::GetNStsHits().

Referenced by BmnDefaultTrackFilter(), and vertex().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BmnDefaultHitFilter()

HitFilter_t BmnDefaultHitFilter ( const BmnDetectorModel & model)
inline

Definition at line 59 of file BmnDataFilters.h.

References BmnAcceptHit().

Referenced by BmnAligner::BmnAligner(), histo(), histoGL(), review(), and tracks3d().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BmnDefaultTrackFilter()

TrackFilter_t BmnDefaultTrackFilter ( Bool_t wholeTrackOnly = kTRUE)
inline

Definition at line 64 of file BmnDataFilters.h.

References BmnAcceptTrack().

Referenced by BmnAligner::BmnAligner(), histo(), histoGL(), review(), and tracks3d().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ BMN_HITS_CUT_STR

const char* BMN_HITS_CUT_STR {"no hit cuts applied"}
inlineconstexpr

Definition at line 28 of file BmnDataFilters.h.

Referenced by BmnAligner::BmnAligner().

◆ BMN_MAX_CHI2_PER_NDF

Double_t BMN_MAX_CHI2_PER_NDF {5.0}
inlineconstexpr

Definition at line 25 of file BmnDataFilters.h.

Referenced by BmnAcceptTrack().

◆ BMN_MIN_HITS_PER_TRACK

Int_t BMN_MIN_HITS_PER_TRACK {5}
inlineconstexpr

Definition at line 24 of file BmnDataFilters.h.

Referenced by BmnAcceptTrack().

◆ BMN_TRACKS_CUT_STR

const char* BMN_TRACKS_CUT_STR {"at least 5 hits, max Chi2/NDF = 5.0"}
inlineconstexpr

Definition at line 27 of file BmnDataFilters.h.

Referenced by BmnAligner::BmnAligner(), and vertex().

◆ BMN_VERTEX_CUT_STR

const char* BMN_VERTEX_CUT_STR {"one SiBT hit per station, then the residual test in Align()"}
inlineconstexpr

Definition at line 29 of file BmnDataFilters.h.

Referenced by BmnAligner::BmnAligner().