CbmRoot
Loading...
Searching...
No Matches
V0FinderTask Class Reference

A class to find V0 candidates in mCBM. More...

#include <CbmKFV0FinderTask.h>

Inheritance diagram for V0FinderTask:
[legend]
Collaboration diagram for V0FinderTask:
[legend]

Classes

struct  DcaVector
 A vector representation of DCA to target. More...
 
struct  ParticleInfo
 Extra information on KFParticle, required by the V0 analysis. More...
 
struct  TrackInfo
 Extra information on track, required by the V0 analysis. More...
 

Public Types

enum class  ECounter : uint8_t {
  TracksTotal , TracksSelected , TracksInfiniteParam , TracksWoTofHits ,
  TracksWNegativeTofHitTime , TracksWoStsHits , TracksWoPid , TracksWoMomentum ,
  TracksWAtLeastOneTofHit , TracksWAtLeastTwoTofHits , TracksWithUnphysicalBeta , TracksW2Sts2Tof ,
  Pions , Protons , EventsTotal , EventsWoTzero ,
  EventsLambdaCand , KfpEventsLambdaCand , KfpLambdaCandidates , END
}
 
enum class  EPidApproach : uint8_t { Topo , Mc }
 PID approach used. More...
 
enum class  EProcessingMode : uint8_t { TimeBased , EventBased }
 Data processing mode. More...
 
enum class  EPvUsageMode : uint8_t {
  Target , Reconstructed , ReconstructSingle , ReconstructMultiple ,
  Mc
}
 Primary vertex finding/handling mode. More...
 
using Cutter_t = V0FinderCutter<EV0Type::Lambda>
 

Public Member Functions

 V0FinderTask (int verbose=1)
 Constructor.
 
 V0FinderTask (const V0FinderTask &)=delete
 
 V0FinderTask (V0FinderTask &&)=delete
 
 ~V0FinderTask ()=default
 Destructor.
 
V0FinderTaskoperator= (const V0FinderTask &)=delete
 
V0FinderTaskoperator= (V0FinderTask &&)=delete
 
void Exec (Option_t *) override
 Executes the task.
 
void Finish () override
 Action on the end of the run.
 
InitStatus Init () override
 Initializes the task.
 
KFParticleFinder * GetKFParticleFinder ()
 Mutable access to the KfParticleFinder of the run topology reconstructor.
 
const KFParticleFinder * GetKFParticleFinder () const
 Constant access to the KfParticleFinder of the run topology reconstructor.
 
const auto & GetTrackDcaToOrigin () const
 Gets DCA to origin.
 
std::shared_ptr< const KFParticleTopoReconstructor > GetTopoReconstructor () const
 Accessor to the topology reconstructor.
 
std::shared_ptr< const Cutter_tGetCutter () const
 Accessor to the cutter.
 
const std::vector< DcaVector > & GetTrackDca () const
 Accessor to the track DCA.
 
const std::vector< TrackInfo > & GetTrackInfo () const
 Accessor to the track extra info.
 
const std::vector< ParticleInfo > & GetParticleInfo () const
 Accessor to the particle extra info.
 
void SetConfigName (const TString &fileName)
 Sets name of the configuration file.
 
void SetCutsConfigName (const TString &fileName)
 Sets name of the configuration file for cuts.
 
void SetProcessingMode (EProcessingMode mode)
 Sets processing mode (time-based/event-based)
 
void SetPidApproach (EPidApproach pid)
 Sets PID approach.
 
void SetPvFindingMode (EPvUsageMode mode)
 Sets PV finding mode.
 
void SetUseMc (bool bUseMc)
 Sets the MC flag (if MC information required)
 
void SetMinPionDca (double dca)
 Sets minimal pion DCA to primary vertex.
 
void SetMinProtonDca (double dca)
 Sets minimal proton DCA to primary vertex.
 
void SetQaOutputFileName (const TString &fileName)
 Sets a file name for the QA.
 
void SetQpAssignedUncertainty (double uncertainty)
 Assignes an uncertainty to the momentum measurement.
 
void SetTzeroOffset (double offset)
 Sets an offset to t0.
 
void SetMixedEventMode (bool bMixedEvent)
 Special settings in the mixed-event analysis mode.
 
void AddDecayToReconstructionList (int pdg)
 Adds particle to reconstruction list.
 

Static Public Member Functions

static std::string ToString (EProcessingMode mode)
 String representation of processing mode.
 
static std::string ToString (EPidApproach pid)
 String representation of PID approach.
 
static std::string ToString (EPvUsageMode pvMode)
 String representation of the PV finding mode.
 
static std::string ToString (const FairTrackParam *pParam)
 String representation of.
 
static bool CheckTrackParam (const FairTrackParam *pParam)
 Checks track parameter validity.
 

Static Public Attributes

static constexpr int kPrimaryPdg {321}
 PID hypothesis of primary tracks (kaons?)
 
static constexpr int kUndefPdg {-2}
 Undefined value, such tracks will be skipped.
 
static constexpr float kChi2PvPrimThrsh {3.}
 Chi2 threshold of assigning tracks as primaries in PV reco.
 
static constexpr double kPionMass {0.13957039}
 Pion mass [GeV/c2].
 
static constexpr double kProtonMass {0.938272088}
 Proton mass [GeV/c2].
 
static constexpr double kSpeedOfLight {29.9792458}
 Speed of light [cm/ns].
 

Private Member Functions

void ApplyConfiguration ()
 Applies configuration from fsConfigName.
 
template<int PdgCode>
void AssignMomentum (CbmGlobalTrack *pTrack, double beta)
 Assigns momentum to a global track.
 
void AssignMomentum (CbmGlobalTrack *pTrack, double qp, double qpVar)
 Assigns momentum to a global track.
 
DcaVector EstimateDcaToOrigin (const CbmStsTrack *pTrack) const
 Estimates distance to the origin.
 
double EstimateBeta (const CbmTofHit *pTofHit) const
 Estimates beta of the track, using one TOF hit.
 
TrackInfo CollectTrackInfo (const CbmGlobalTrack *pTrack) const
 Fill track extra info.
 
KFPTrackVector MakeKfpTrackVector (const std::vector< const CbmGlobalTrack * > &vpTracks, const std::vector< int > &vTrackIds, const std::vector< float > &vChi2ToPv, bool bAtFirstPoint) const
 Makes a KF-particle track vector.
 
KFVertex MakeKfpPrimaryVertex (float x, float y, float z) const
 Makes a KF vertex.
 
cbm::algo::kfp::ETrackPid InferTrackPidTopo (double dca) const
 Infers PID hypothesis for a track using track topology.
 
template<bool UseEvent>
bool ProcessEvent (const CbmEvent *pEvent)
 Processes one event.
 
double ShiftTofHitsToTzero (const CbmEvent *pEvent)
 Shifts TOF hits to the t0 estimation.
 
void StoreParticles (const CbmEvent *pEvent)
 Stores particles, reconstructed in event to the run topology reconstructor.
 
 ClassDefOverride (V0FinderTask, 0)
 

Private Attributes

double fTzeroOffset {0.}
 Offset for T0.
 
double fMinPionDca {1.5}
 Minimum DCA to PV for pions.
 
double fMinProtonDca {0.5}
 Minimum DCA to PV for protons.
 
double fQpAssignedUncertainty {0.1}
 Assigned relative uncertainty for q/p estimation.
 
int fPrimaryAssignedPdg {321}
 Assigned PDG hypothesis for primary particles.
 
double fMinBetaProton {0.}
 Minimal proton velocity (beta) [c].
 
double fMaxBetaProton {1.}
 Maximal proton velocity (beta) [c].
 
double fMinBetaPion {0.}
 Minimal proton velocity (beta) [c].
 
double fMaxBetaPion {1.}
 Maximal proton velocity (beta) [c].
 
std::shared_ptr< Cutter_tfpCutter {std::make_shared<Cutter_t>()}
 
TClonesArray * fpBrRecoEvents {nullptr}
 
TClonesArray * fpBrGlobalTracks {nullptr}
 
TClonesArray * fpBrStsTracks {nullptr}
 
TClonesArray * fpBrTrdTracks {nullptr}
 
TClonesArray * fpBrTofTracks {nullptr}
 
TClonesArray * fpBrStsHits {nullptr}
 
TClonesArray * fpBrTrdHits {nullptr}
 
TClonesArray * fpBrTofHits {nullptr}
 
CbmVertexfpBrPrimaryVertex {nullptr}
 
std::vector< CbmEventTriggers > * fpBrEventTriggers {nullptr}
 
std::vector< DcaVectorfvTrackDca
 Track DCA vector [n global tracks].
 
std::vector< TrackInfofvTrackInfo
 Track info vector [n global tracks].
 
std::vector< ParticleInfofvParticleInfo
 Extra information on particles [n particles in TS].
 
std::unique_ptr< CbmVertexfpOrigin
 Origin (e.g., can be either reconstructed PV or target)
 
std::shared_ptr< KFParticleTopoReconstructor > fpTopoReconstructorTs {std::make_shared<KFParticleTopoReconstructor>()}
 Main topology reconstructor.
 
std::unique_ptr< KFParticleTopoReconstructor > fpTopoReconstructorEvent
 
EProcessingMode fProcessingMode {EProcessingMode::TimeBased}
 Processing mode.
 
EPidApproach fPidApproach {EPidApproach::Topo}
 PID approach used.
 
EPvUsageMode fPvUsageMode {EPvUsageMode::Target}
 Primary vertex mode.
 
bool fbMixedEventMode {false}
 Run in a mix-event mode.
 
bool fbUseMc {false}
 Run using MC-information.
 
bool fbUsePvChi2Selection {false}
 Select.
 
cbm::core::EnumArray< ECounter, size_t > fCounters {{0}}
 Counters per run.
 
TString fsQaOutputName {"./V0FinderQa.root"}
 Output QA name.
 
TString fsConfigName {""}
 Name of the config.
 
TString fsCutsConfigName {""}
 Name of the config.
 

Detailed Description

A class to find V0 candidates in mCBM.

Definition at line 43 of file CbmKFV0FinderTask.h.

Member Typedef Documentation

◆ Cutter_t

Definition at line 45 of file CbmKFV0FinderTask.h.

Member Enumeration Documentation

◆ ECounter

enum class cbm::kfp::V0FinderTask::ECounter : uint8_t
strong
Enumerator
TracksTotal 
TracksSelected 
TracksInfiniteParam 
TracksWoTofHits 
TracksWNegativeTofHitTime 
TracksWoStsHits 
TracksWoPid 
TracksWoMomentum 
TracksWAtLeastOneTofHit 
TracksWAtLeastTwoTofHits 
TracksWithUnphysicalBeta 
TracksW2Sts2Tof 
Pions 
Protons 
EventsTotal 
EventsWoTzero 
EventsLambdaCand 
KfpEventsLambdaCand 
KfpLambdaCandidates 
END 

Definition at line 49 of file CbmKFV0FinderTask.h.

◆ EPidApproach

enum class cbm::kfp::V0FinderTask::EPidApproach : uint8_t
strong

PID approach used.

Enumerator
Topo 
Mc 

Definition at line 75 of file CbmKFV0FinderTask.h.

◆ EProcessingMode

enum class cbm::kfp::V0FinderTask::EProcessingMode : uint8_t
strong

Data processing mode.

Enumerator
TimeBased 
EventBased 

Definition at line 83 of file CbmKFV0FinderTask.h.

◆ EPvUsageMode

enum class cbm::kfp::V0FinderTask::EPvUsageMode : uint8_t
strong

Primary vertex finding/handling mode.

Enumerator
Target 
Reconstructed 
ReconstructSingle 
ReconstructMultiple 
Mc 

Definition at line 91 of file CbmKFV0FinderTask.h.

Constructor & Destructor Documentation

◆ V0FinderTask() [1/3]

cbm::kfp::V0FinderTask::V0FinderTask ( int verbose = 1)
inlineexplicit

Constructor.

Parameters
verboseVerbosity of the task

Definition at line 127 of file CbmKFV0FinderTask.h.

◆ V0FinderTask() [2/3]

cbm::kfp::V0FinderTask::V0FinderTask ( const V0FinderTask & )
delete

◆ V0FinderTask() [3/3]

cbm::kfp::V0FinderTask::V0FinderTask ( V0FinderTask && )
delete

◆ ~V0FinderTask()

cbm::kfp::V0FinderTask::~V0FinderTask ( )
default

Destructor.

Member Function Documentation

◆ AddDecayToReconstructionList()

void cbm::kfp::V0FinderTask::AddDecayToReconstructionList ( int pdg)
inline

Adds particle to reconstruction list.

Parameters
pdgA PDG code of the particle to be reconstructed

Definition at line 235 of file CbmKFV0FinderTask.h.

◆ ApplyConfiguration()

void V0FinderTask::ApplyConfiguration ( )
private

Applies configuration from fsConfigName.

Definition at line 54 of file CbmKFV0FinderTask.cxx.

◆ AssignMomentum() [1/2]

template<int PdgCode>
void V0FinderTask::AssignMomentum ( CbmGlobalTrack * pTrack,
double beta )
private

Assigns momentum to a global track.

Template Parameters
pdgPID hypothesis
Parameters
pTrackPointer to a global track
betaSpeed of particle

Definition at line 127 of file CbmKFV0FinderTask.cxx.

◆ AssignMomentum() [2/2]

void V0FinderTask::AssignMomentum ( CbmGlobalTrack * pTrack,
double qp,
double qpVar )
private

Assigns momentum to a global track.

Parameters
pTrackpointer to track
qpq/p value
qpVarq/p variance

Definition at line 147 of file CbmKFV0FinderTask.cxx.

◆ CheckTrackParam()

bool V0FinderTask::CheckTrackParam ( const FairTrackParam * pParam)
static

Checks track parameter validity.

Parameters
pParamPointer to a track parameter
Returns
true The parameters are ok
false The parameters are invalid

Definition at line 286 of file CbmKFV0FinderTask.cxx.

◆ ClassDefOverride()

cbm::kfp::V0FinderTask::ClassDefOverride ( V0FinderTask ,
0  )
private

◆ CollectTrackInfo()

V0FinderTask::TrackInfo V0FinderTask::CollectTrackInfo ( const CbmGlobalTrack * pTrack) const
private

Fill track extra info.

Parameters
pTrackPointer to global track
Returns
The trackInfo object, which contains extra information, estimated from hits

Definition at line 311 of file CbmKFV0FinderTask.cxx.

◆ EstimateBeta()

double cbm::kfp::V0FinderTask::EstimateBeta ( const CbmTofHit * pTofHit) const
private

Estimates beta of the track, using one TOF hit.

Parameters
pTofHitPointer to a TOF hit
Returns
Value of beta [c]
Note
Value of beta can be either negative or larger then 1 due to TOF/BMON miscallibration

◆ EstimateDcaToOrigin()

V0FinderTask::DcaVector V0FinderTask::EstimateDcaToOrigin ( const CbmStsTrack * pTrack) const
private

Estimates distance to the origin.

Parameters
pStsTrackSTS track
Returns
Vector of the DCA {abs, ex, ey}

Definition at line 346 of file CbmKFV0FinderTask.cxx.

◆ Exec()

void V0FinderTask::Exec ( Option_t * )
override

Executes the task.

Definition at line 393 of file CbmKFV0FinderTask.cxx.

◆ Finish()

void V0FinderTask::Finish ( )
override

Action on the end of the run.

Definition at line 427 of file CbmKFV0FinderTask.cxx.

◆ GetCutter()

std::shared_ptr< const Cutter_t > cbm::kfp::V0FinderTask::GetCutter ( ) const
inline

Accessor to the cutter.

Definition at line 166 of file CbmKFV0FinderTask.h.

◆ GetKFParticleFinder() [1/2]

KFParticleFinder * cbm::kfp::V0FinderTask::GetKFParticleFinder ( )
inline

Mutable access to the KfParticleFinder of the run topology reconstructor.

Definition at line 154 of file CbmKFV0FinderTask.h.

◆ GetKFParticleFinder() [2/2]

const KFParticleFinder * cbm::kfp::V0FinderTask::GetKFParticleFinder ( ) const
inline

Constant access to the KfParticleFinder of the run topology reconstructor.

Definition at line 157 of file CbmKFV0FinderTask.h.

◆ GetParticleInfo()

const std::vector< ParticleInfo > & cbm::kfp::V0FinderTask::GetParticleInfo ( ) const
inline

Accessor to the particle extra info.

Returns a vector, which is parallel to stored KFParticle objects.

Definition at line 179 of file CbmKFV0FinderTask.h.

◆ GetTopoReconstructor()

std::shared_ptr< const KFParticleTopoReconstructor > cbm::kfp::V0FinderTask::GetTopoReconstructor ( ) const
inline

Accessor to the topology reconstructor.

Definition at line 163 of file CbmKFV0FinderTask.h.

◆ GetTrackDca()

const std::vector< DcaVector > & cbm::kfp::V0FinderTask::GetTrackDca ( ) const
inline

Accessor to the track DCA.

Definition at line 169 of file CbmKFV0FinderTask.h.

◆ GetTrackDcaToOrigin()

const auto & cbm::kfp::V0FinderTask::GetTrackDcaToOrigin ( ) const
inline

Gets DCA to origin.

Definition at line 160 of file CbmKFV0FinderTask.h.

◆ GetTrackInfo()

const std::vector< TrackInfo > & cbm::kfp::V0FinderTask::GetTrackInfo ( ) const
inline

Accessor to the track extra info.

Returns a vector, which is parallel to stored CbmGlobalTrack objects.

Definition at line 174 of file CbmKFV0FinderTask.h.

◆ InferTrackPidTopo()

cbm::algo::kfp::ETrackPid V0FinderTask::InferTrackPidTopo ( double dca) const
private

Infers PID hypothesis for a track using track topology.

Parameters
dcaAn absolute value of DCA to the PV estimation
Returns
Pid of the track

Definition at line 453 of file CbmKFV0FinderTask.cxx.

◆ Init()

InitStatus V0FinderTask::Init ( )
override

Initializes the task.

Definition at line 471 of file CbmKFV0FinderTask.cxx.

◆ MakeKfpPrimaryVertex()

KFVertex V0FinderTask::MakeKfpPrimaryVertex ( float x,
float y,
float z ) const
private

Makes a KF vertex.

Parameters
xx-coordinate of PV [cm]
yy-coordinate of PV [cm]
zz-coordinate of PV [cm]

Definition at line 733 of file CbmKFV0FinderTask.cxx.

◆ MakeKfpTrackVector()

KFPTrackVector V0FinderTask::MakeKfpTrackVector ( const std::vector< const CbmGlobalTrack * > & vpTracks,
const std::vector< int > & vTrackIds,
const std::vector< float > & vChi2ToPv,
bool bAtFirstPoint ) const
private

Makes a KF-particle track vector.

Parameters
vpTracksVector of pointers to global tracks
vTrackIdsVector of track indices
vChi2ToPvVector of chi2 of assigning a track as primary
bAtFirstPointtrue: the first track point is used, false: the last track point is used
Note
No track selection is performed

Definition at line 598 of file CbmKFV0FinderTask.cxx.

◆ operator=() [1/2]

V0FinderTask & cbm::kfp::V0FinderTask::operator= ( const V0FinderTask & )
delete

◆ operator=() [2/2]

V0FinderTask & cbm::kfp::V0FinderTask::operator= ( V0FinderTask && )
delete

◆ ProcessEvent()

template<bool UseEvent>
bool V0FinderTask::ProcessEvent ( const CbmEvent * pEvent)
private

Processes one event.

Template Parameters
UseEventExplicit flag of using the CbmEvent pointer to access data
Parameters
pEventPointer to event
Returns
true Event is accepted for V0 reconstruction
false Event is rejected for V0 reconstruction
Note
In the event-based mode, the ProcessEvent(nullptr) must be called explicitly

Definition at line 165 of file CbmKFV0FinderTask.cxx.

◆ SetConfigName()

void cbm::kfp::V0FinderTask::SetConfigName ( const TString & fileName)
inline

Sets name of the configuration file.

Parameters
fileNameName of the config file

Definition at line 185 of file CbmKFV0FinderTask.h.

◆ SetCutsConfigName()

void cbm::kfp::V0FinderTask::SetCutsConfigName ( const TString & fileName)
inline

Sets name of the configuration file for cuts.

Parameters
fileNameName of the config file for cuts

Definition at line 189 of file CbmKFV0FinderTask.h.

◆ SetMinPionDca()

void cbm::kfp::V0FinderTask::SetMinPionDca ( double dca)
inline

Sets minimal pion DCA to primary vertex.

Parameters
dcaDCA [cm]

Definition at line 205 of file CbmKFV0FinderTask.h.

◆ SetMinProtonDca()

void cbm::kfp::V0FinderTask::SetMinProtonDca ( double dca)
inline

Sets minimal proton DCA to primary vertex.

Parameters
dcaDCA [cm]

Definition at line 209 of file CbmKFV0FinderTask.h.

◆ SetMixedEventMode()

void cbm::kfp::V0FinderTask::SetMixedEventMode ( bool bMixedEvent)
inline

Special settings in the mixed-event analysis mode.

Parameters
bMixedEventFlag: true - run in the mixed-event mode

Definition at line 228 of file CbmKFV0FinderTask.h.

◆ SetPidApproach()

void cbm::kfp::V0FinderTask::SetPidApproach ( EPidApproach pid)
inline

Sets PID approach.

Definition at line 195 of file CbmKFV0FinderTask.h.

◆ SetProcessingMode()

void cbm::kfp::V0FinderTask::SetProcessingMode ( EProcessingMode mode)
inline

Sets processing mode (time-based/event-based)

Definition at line 192 of file CbmKFV0FinderTask.h.

◆ SetPvFindingMode()

void cbm::kfp::V0FinderTask::SetPvFindingMode ( EPvUsageMode mode)
inline

Sets PV finding mode.

Definition at line 198 of file CbmKFV0FinderTask.h.

◆ SetQaOutputFileName()

void cbm::kfp::V0FinderTask::SetQaOutputFileName ( const TString & fileName)
inline

Sets a file name for the QA.

Parameters
fileNameName of file

Definition at line 213 of file CbmKFV0FinderTask.h.

◆ SetQpAssignedUncertainty()

void cbm::kfp::V0FinderTask::SetQpAssignedUncertainty ( double uncertainty)
inline

Assignes an uncertainty to the momentum measurement.

Parameters
uncertaintyRelative uncertainty ( = sqrt(var(q/p)) / (q/p))

Definition at line 217 of file CbmKFV0FinderTask.h.

◆ SetTzeroOffset()

void cbm::kfp::V0FinderTask::SetTzeroOffset ( double offset)
inline

Sets an offset to t0.

Parameters
offsetAn offset [ns]

Definition at line 221 of file CbmKFV0FinderTask.h.

◆ SetUseMc()

void cbm::kfp::V0FinderTask::SetUseMc ( bool bUseMc)
inline

Sets the MC flag (if MC information required)

Definition at line 201 of file CbmKFV0FinderTask.h.

◆ ShiftTofHitsToTzero()

double V0FinderTask::ShiftTofHitsToTzero ( const CbmEvent * pEvent)
private

Shifts TOF hits to the t0 estimation.

Parameters
pEventPointer to the event
Returns
value of estimated t0 [ns]

Definition at line 748 of file CbmKFV0FinderTask.cxx.

◆ StoreParticles()

void V0FinderTask::StoreParticles ( const CbmEvent * pEvent)
private

Stores particles, reconstructed in event to the run topology reconstructor.

Parameters
pEventPointer to the event
Note
Fills also the vector of ParticleInfo

Definition at line 779 of file CbmKFV0FinderTask.cxx.

◆ ToString() [1/4]

std::string V0FinderTask::ToString ( const FairTrackParam * pParam)
static

String representation of.

Parameters
pParamParameters of the track

Definition at line 855 of file CbmKFV0FinderTask.cxx.

◆ ToString() [2/4]

std::string V0FinderTask::ToString ( EPidApproach pid)
static

String representation of PID approach.

Parameters
pidPID approach

Definition at line 830 of file CbmKFV0FinderTask.cxx.

◆ ToString() [3/4]

std::string V0FinderTask::ToString ( EProcessingMode mode)
static

String representation of processing mode.

Parameters
modeData processing mode

Definition at line 819 of file CbmKFV0FinderTask.cxx.

◆ ToString() [4/4]

std::string V0FinderTask::ToString ( EPvUsageMode pvMode)
static

String representation of the PV finding mode.

Parameters
pvModePV finding mode

Definition at line 841 of file CbmKFV0FinderTask.cxx.

Member Data Documentation

◆ fbMixedEventMode

bool cbm::kfp::V0FinderTask::fbMixedEventMode {false}
private

Run in a mix-event mode.

Definition at line 395 of file CbmKFV0FinderTask.h.

◆ fbUseMc

bool cbm::kfp::V0FinderTask::fbUseMc {false}
private

Run using MC-information.

Definition at line 396 of file CbmKFV0FinderTask.h.

◆ fbUsePvChi2Selection

bool cbm::kfp::V0FinderTask::fbUsePvChi2Selection {false}
private

Select.

Definition at line 397 of file CbmKFV0FinderTask.h.

◆ fCounters

cbm::core::EnumArray<ECounter, size_t> cbm::kfp::V0FinderTask::fCounters {{0}}
private

Counters per run.

Definition at line 400 of file CbmKFV0FinderTask.h.

◆ fMaxBetaPion

double cbm::kfp::V0FinderTask::fMaxBetaPion {1.}
private

Maximal proton velocity (beta) [c].

Definition at line 357 of file CbmKFV0FinderTask.h.

◆ fMaxBetaProton

double cbm::kfp::V0FinderTask::fMaxBetaProton {1.}
private

Maximal proton velocity (beta) [c].

Definition at line 355 of file CbmKFV0FinderTask.h.

◆ fMinBetaPion

double cbm::kfp::V0FinderTask::fMinBetaPion {0.}
private

Minimal proton velocity (beta) [c].

Definition at line 356 of file CbmKFV0FinderTask.h.

◆ fMinBetaProton

double cbm::kfp::V0FinderTask::fMinBetaProton {0.}
private

Minimal proton velocity (beta) [c].

Definition at line 354 of file CbmKFV0FinderTask.h.

◆ fMinPionDca

double cbm::kfp::V0FinderTask::fMinPionDca {1.5}
private

Minimum DCA to PV for pions.

Definition at line 350 of file CbmKFV0FinderTask.h.

◆ fMinProtonDca

double cbm::kfp::V0FinderTask::fMinProtonDca {0.5}
private

Minimum DCA to PV for protons.

Definition at line 351 of file CbmKFV0FinderTask.h.

◆ fpBrEventTriggers

std::vector<CbmEventTriggers>* cbm::kfp::V0FinderTask::fpBrEventTriggers {nullptr}
private

Definition at line 374 of file CbmKFV0FinderTask.h.

◆ fpBrGlobalTracks

TClonesArray* cbm::kfp::V0FinderTask::fpBrGlobalTracks {nullptr}
private

Definition at line 364 of file CbmKFV0FinderTask.h.

◆ fpBrPrimaryVertex

CbmVertex* cbm::kfp::V0FinderTask::fpBrPrimaryVertex {nullptr}
private

Definition at line 371 of file CbmKFV0FinderTask.h.

◆ fpBrRecoEvents

TClonesArray* cbm::kfp::V0FinderTask::fpBrRecoEvents {nullptr}
private

Definition at line 363 of file CbmKFV0FinderTask.h.

◆ fpBrStsHits

TClonesArray* cbm::kfp::V0FinderTask::fpBrStsHits {nullptr}
private

Definition at line 368 of file CbmKFV0FinderTask.h.

◆ fpBrStsTracks

TClonesArray* cbm::kfp::V0FinderTask::fpBrStsTracks {nullptr}
private

Definition at line 365 of file CbmKFV0FinderTask.h.

◆ fpBrTofHits

TClonesArray* cbm::kfp::V0FinderTask::fpBrTofHits {nullptr}
private

Definition at line 370 of file CbmKFV0FinderTask.h.

◆ fpBrTofTracks

TClonesArray* cbm::kfp::V0FinderTask::fpBrTofTracks {nullptr}
private

Definition at line 367 of file CbmKFV0FinderTask.h.

◆ fpBrTrdHits

TClonesArray* cbm::kfp::V0FinderTask::fpBrTrdHits {nullptr}
private

Definition at line 369 of file CbmKFV0FinderTask.h.

◆ fpBrTrdTracks

TClonesArray* cbm::kfp::V0FinderTask::fpBrTrdTracks {nullptr}
private

Definition at line 366 of file CbmKFV0FinderTask.h.

◆ fpCutter

std::shared_ptr<Cutter_t> cbm::kfp::V0FinderTask::fpCutter {std::make_shared<Cutter_t>()}
private

Definition at line 360 of file CbmKFV0FinderTask.h.

◆ fPidApproach

EPidApproach cbm::kfp::V0FinderTask::fPidApproach {EPidApproach::Topo}
private

PID approach used.

Definition at line 393 of file CbmKFV0FinderTask.h.

◆ fpOrigin

std::unique_ptr<CbmVertex> cbm::kfp::V0FinderTask::fpOrigin
private
Initial value:
{
std::make_unique<CbmVertex>()}

Origin (e.g., can be either reconstructed PV or target)

Definition at line 381 of file CbmKFV0FinderTask.h.

◆ fPrimaryAssignedPdg

int cbm::kfp::V0FinderTask::fPrimaryAssignedPdg {321}
private

Assigned PDG hypothesis for primary particles.

Definition at line 353 of file CbmKFV0FinderTask.h.

◆ fProcessingMode

EProcessingMode cbm::kfp::V0FinderTask::fProcessingMode {EProcessingMode::TimeBased}
private

Processing mode.

Definition at line 392 of file CbmKFV0FinderTask.h.

◆ fpTopoReconstructorEvent

std::unique_ptr<KFParticleTopoReconstructor> cbm::kfp::V0FinderTask::fpTopoReconstructorEvent
private
Initial value:
{
std::make_unique<KFParticleTopoReconstructor>()}

Definition at line 388 of file CbmKFV0FinderTask.h.

◆ fpTopoReconstructorTs

std::shared_ptr<KFParticleTopoReconstructor> cbm::kfp::V0FinderTask::fpTopoReconstructorTs {std::make_shared<KFParticleTopoReconstructor>()}
private

Main topology reconstructor.

Definition at line 387 of file CbmKFV0FinderTask.h.

◆ fPvUsageMode

EPvUsageMode cbm::kfp::V0FinderTask::fPvUsageMode {EPvUsageMode::Target}
private

Primary vertex mode.

Definition at line 394 of file CbmKFV0FinderTask.h.

◆ fQpAssignedUncertainty

double cbm::kfp::V0FinderTask::fQpAssignedUncertainty {0.1}
private

Assigned relative uncertainty for q/p estimation.

Definition at line 352 of file CbmKFV0FinderTask.h.

◆ fsConfigName

TString cbm::kfp::V0FinderTask::fsConfigName {""}
private

Name of the config.

Definition at line 402 of file CbmKFV0FinderTask.h.

◆ fsCutsConfigName

TString cbm::kfp::V0FinderTask::fsCutsConfigName {""}
private

Name of the config.

Definition at line 403 of file CbmKFV0FinderTask.h.

◆ fsQaOutputName

TString cbm::kfp::V0FinderTask::fsQaOutputName {"./V0FinderQa.root"}
private

Output QA name.

Definition at line 401 of file CbmKFV0FinderTask.h.

◆ fTzeroOffset

double cbm::kfp::V0FinderTask::fTzeroOffset {0.}
private

Offset for T0.

Definition at line 349 of file CbmKFV0FinderTask.h.

◆ fvParticleInfo

std::vector<ParticleInfo> cbm::kfp::V0FinderTask::fvParticleInfo
private

Extra information on particles [n particles in TS].

Definition at line 380 of file CbmKFV0FinderTask.h.

◆ fvTrackDca

std::vector<DcaVector> cbm::kfp::V0FinderTask::fvTrackDca
private

Track DCA vector [n global tracks].

Definition at line 378 of file CbmKFV0FinderTask.h.

◆ fvTrackInfo

std::vector<TrackInfo> cbm::kfp::V0FinderTask::fvTrackInfo
private

Track info vector [n global tracks].

Definition at line 379 of file CbmKFV0FinderTask.h.

◆ kChi2PvPrimThrsh

float cbm::kfp::V0FinderTask::kChi2PvPrimThrsh {3.}
staticconstexpr

Chi2 threshold of assigning tracks as primaries in PV reco.

Definition at line 340 of file CbmKFV0FinderTask.h.

◆ kPionMass

double cbm::kfp::V0FinderTask::kPionMass {0.13957039}
staticconstexpr

Pion mass [GeV/c2].

Definition at line 343 of file CbmKFV0FinderTask.h.

◆ kPrimaryPdg

int cbm::kfp::V0FinderTask::kPrimaryPdg {321}
staticconstexpr

PID hypothesis of primary tracks (kaons?)

Definition at line 338 of file CbmKFV0FinderTask.h.

◆ kProtonMass

double cbm::kfp::V0FinderTask::kProtonMass {0.938272088}
staticconstexpr

Proton mass [GeV/c2].

Definition at line 344 of file CbmKFV0FinderTask.h.

◆ kSpeedOfLight

double cbm::kfp::V0FinderTask::kSpeedOfLight {29.9792458}
staticconstexpr

Speed of light [cm/ns].

Definition at line 345 of file CbmKFV0FinderTask.h.

◆ kUndefPdg

int cbm::kfp::V0FinderTask::kUndefPdg {-2}
staticconstexpr

Undefined value, such tracks will be skipped.

Definition at line 339 of file CbmKFV0FinderTask.h.


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