Project
Loading...
Searching...
No Matches
o2::vertexing::PVertexer Class Reference

#include <PVertexer.h>

Public Types

enum class  FitStatus : int {
  Failure , PoolEmpty , NotEnoughTracks , IterateFurther ,
  OK
}
 

Public Member Functions

 PVertexer ()
 
void init ()
 
void end ()
 
template<typename TR >
int process (const TR &tracks, const gsl::span< o2d::GlobalTrackID > gids, const gsl::span< InteractionCandidate > intCand, std::vector< PVertex > &vertices, std::vector< o2d::VtxTrackIndex > &vertexTrackIDs, std::vector< V2TRef > &v2tRefs, const gsl::span< const o2::MCCompLabel > lblTracks, std::vector< o2::MCEventLabel > &lblVtx)
 
template<typename TR >
int process (const TR &tracks, const gsl::span< o2d::GlobalTrackID > gids, const gsl::span< o2::InteractionRecord > intRec, std::vector< PVertex > &vertices, std::vector< o2d::VtxTrackIndex > &vertexTrackIDs, std::vector< V2TRef > &v2tRefs, const gsl::span< const o2::MCCompLabel > lblTracks, std::vector< o2::MCEventLabel > &lblVtx)
 
int processFromExternalPool (const std::vector< TrackVF > &pool, std::vector< PVertex > &vertices, std::vector< o2d::VtxTrackIndex > &vertexTrackIDs, std::vector< V2TRef > &v2tRefs)
 
bool findVertex (const VertexingInput &input, PVertex &vtx)
 
void setStartIR (const o2::InteractionRecord &ir)
 set InteractionRecods for the beginning of the TF
 
void setTukey (float t)
 
float getTukey () const
 
bool setCompatibleIR (PVertex &vtx)
 
void setBunchFilling (const o2::BunchFilling &bf)
 
void setBz (float bz)
 
void setValidateWithIR (bool v)
 
bool getValidateWithIR () const
 
void setTrackSources (GTrackID::mask_t s)
 
auto & getTracksPool () const
 
auto & getTimeZClusters () const
 
auto & getMeanVertex () const
 
void setMeanVertex (const o2d::MeanVertexObject *v)
 
void setITSROFrameLength (float v)
 
template<typename TR >
bool prepareVertexRefit (const TR &tracks, const o2d::VertexBase &vtxSeed)
 
PVertex refitVertex (const std::vector< bool > useTrack, const o2d::VertexBase &vtxSeed)
 
auto getNTZClusters () const
 
auto getTotTrials () const
 
auto getMaxTrialsPerCluster () const
 
auto getLongestClusterMult () const
 
auto getLongestClusterTimeMS () const
 
auto getNKilledBCValid () const
 
auto getNKilledIntCand () const
 
auto getNKilledDebris () const
 
auto getNKilledQuality () const
 
auto getNKilledITSOnly () const
 
auto getNIniFound () const
 
TStopwatch & getTimeDBScan ()
 
TStopwatch & getTimeVertexing ()
 
TStopwatch & getTimeDebris ()
 
TStopwatch & getTimeMADSel ()
 
TStopwatch & getTimeReAttach ()
 
void setPoolDumpDirectory (const std::string &d)
 
void printInpuTracksStatus (const VertexingInput &input) const
 

Detailed Description

Definition at line 50 of file PVertexer.h.

Member Enumeration Documentation

◆ FitStatus

Enumerator
Failure 
PoolEmpty 
NotEnoughTracks 
IterateFurther 
OK 

Definition at line 54 of file PVertexer.h.

Constructor & Destructor Documentation

◆ PVertexer()

PVertexer::PVertexer ( )

Definition at line 32 of file PVertexer.cxx.

Member Function Documentation

◆ end()

void PVertexer::end ( )

Definition at line 859 of file PVertexer.cxx.

◆ findVertex()

bool PVertexer::findVertex ( const VertexingInput input,
PVertex vtx 
)

Definition at line 244 of file PVertexer.cxx.

◆ getLongestClusterMult()

auto o2::vertexing::PVertexer::getLongestClusterMult ( ) const
inline

Definition at line 120 of file PVertexer.h.

◆ getLongestClusterTimeMS()

auto o2::vertexing::PVertexer::getLongestClusterTimeMS ( ) const
inline

Definition at line 121 of file PVertexer.h.

◆ getMaxTrialsPerCluster()

auto o2::vertexing::PVertexer::getMaxTrialsPerCluster ( ) const
inline

Definition at line 119 of file PVertexer.h.

◆ getMeanVertex()

auto & o2::vertexing::PVertexer::getMeanVertex ( ) const
inline

Definition at line 95 of file PVertexer.h.

◆ getNIniFound()

auto o2::vertexing::PVertexer::getNIniFound ( ) const
inline

Definition at line 127 of file PVertexer.h.

◆ getNKilledBCValid()

auto o2::vertexing::PVertexer::getNKilledBCValid ( ) const
inline

Definition at line 122 of file PVertexer.h.

◆ getNKilledDebris()

auto o2::vertexing::PVertexer::getNKilledDebris ( ) const
inline

Definition at line 124 of file PVertexer.h.

◆ getNKilledIntCand()

auto o2::vertexing::PVertexer::getNKilledIntCand ( ) const
inline

Definition at line 123 of file PVertexer.h.

◆ getNKilledITSOnly()

auto o2::vertexing::PVertexer::getNKilledITSOnly ( ) const
inline

Definition at line 126 of file PVertexer.h.

◆ getNKilledQuality()

auto o2::vertexing::PVertexer::getNKilledQuality ( ) const
inline

Definition at line 125 of file PVertexer.h.

◆ getNTZClusters()

auto o2::vertexing::PVertexer::getNTZClusters ( ) const
inline

Definition at line 117 of file PVertexer.h.

◆ getTimeDBScan()

TStopwatch & o2::vertexing::PVertexer::getTimeDBScan ( )
inline

Definition at line 129 of file PVertexer.h.

◆ getTimeDebris()

TStopwatch & o2::vertexing::PVertexer::getTimeDebris ( )
inline

Definition at line 131 of file PVertexer.h.

◆ getTimeMADSel()

TStopwatch & o2::vertexing::PVertexer::getTimeMADSel ( )
inline

Definition at line 132 of file PVertexer.h.

◆ getTimeReAttach()

TStopwatch & o2::vertexing::PVertexer::getTimeReAttach ( )
inline

Definition at line 133 of file PVertexer.h.

◆ getTimeVertexing()

TStopwatch & o2::vertexing::PVertexer::getTimeVertexing ( )
inline

Definition at line 130 of file PVertexer.h.

◆ getTimeZClusters()

auto & o2::vertexing::PVertexer::getTimeZClusters ( ) const
inline

Definition at line 93 of file PVertexer.h.

◆ getTotTrials()

auto o2::vertexing::PVertexer::getTotTrials ( ) const
inline

Definition at line 118 of file PVertexer.h.

◆ getTracksPool()

auto & o2::vertexing::PVertexer::getTracksPool ( ) const
inline

Definition at line 92 of file PVertexer.h.

◆ getTukey()

float PVertexer::getTukey ( ) const

Definition at line 793 of file PVertexer.cxx.

◆ getValidateWithIR()

bool o2::vertexing::PVertexer::getValidateWithIR ( ) const
inline

Definition at line 89 of file PVertexer.h.

◆ init()

void PVertexer::init ( )

Definition at line 816 of file PVertexer.cxx.

◆ prepareVertexRefit()

template<typename TR >
bool o2::vertexing::PVertexer::prepareVertexRefit ( const TR &  tracks,
const o2d::VertexBase vtxSeed 
)

Definition at line 359 of file PVertexer.h.

◆ printInpuTracksStatus()

void PVertexer::printInpuTracksStatus ( const VertexingInput input) const

Definition at line 1337 of file PVertexer.cxx.

◆ process() [1/2]

template<typename TR >
int o2::vertexing::PVertexer::process ( const TR &  tracks,
const gsl::span< o2d::GlobalTrackID gids,
const gsl::span< InteractionCandidate intCand,
std::vector< PVertex > &  vertices,
std::vector< o2d::VtxTrackIndex > &  vertexTrackIDs,
std::vector< V2TRef > &  v2tRefs,
const gsl::span< const o2::MCCompLabel lblTracks,
std::vector< o2::MCEventLabel > &  lblVtx 
)

Definition at line 333 of file PVertexer.h.

◆ process() [2/2]

template<typename TR >
int o2::vertexing::PVertexer::process ( const TR &  tracks,
const gsl::span< o2d::GlobalTrackID gids,
const gsl::span< o2::InteractionRecord intRec,
std::vector< PVertex > &  vertices,
std::vector< o2d::VtxTrackIndex > &  vertexTrackIDs,
std::vector< V2TRef > &  v2tRefs,
const gsl::span< const o2::MCCompLabel lblTracks,
std::vector< o2::MCEventLabel > &  lblVtx 
)

Definition at line 343 of file PVertexer.h.

◆ processFromExternalPool()

int PVertexer::processFromExternalPool ( const std::vector< TrackVF > &  pool,
std::vector< PVertex > &  vertices,
std::vector< o2d::VtxTrackIndex > &  vertexTrackIDs,
std::vector< V2TRef > &  v2tRefs 
)

Definition at line 1365 of file PVertexer.cxx.

◆ refitVertex()

PVertex PVertexer::refitVertex ( const std::vector< bool >  useTrack,
const o2d::VertexBase vtxSeed 
)

Definition at line 1304 of file PVertexer.cxx.

◆ setBunchFilling()

void PVertexer::setBunchFilling ( const o2::BunchFilling bf)

Definition at line 950 of file PVertexer.cxx.

◆ setBz()

void o2::vertexing::PVertexer::setBz ( float  bz)
inline

Definition at line 87 of file PVertexer.h.

◆ setCompatibleIR()

bool PVertexer::setCompatibleIR ( PVertex vtx)

Definition at line 977 of file PVertexer.cxx.

◆ setITSROFrameLength()

void o2::vertexing::PVertexer::setITSROFrameLength ( float  v)
inline

Definition at line 106 of file PVertexer.h.

◆ setMeanVertex()

void o2::vertexing::PVertexer::setMeanVertex ( const o2d::MeanVertexObject v)
inline

Definition at line 96 of file PVertexer.h.

◆ setPoolDumpDirectory()

void o2::vertexing::PVertexer::setPoolDumpDirectory ( const std::string &  d)
inline

Definition at line 135 of file PVertexer.h.

◆ setStartIR()

void o2::vertexing::PVertexer::setStartIR ( const o2::InteractionRecord ir)
inline

set InteractionRecods for the beginning of the TF

Definition at line 75 of file PVertexer.h.

◆ setTrackSources()

void PVertexer::setTrackSources ( GTrackID::mask_t  s)

Definition at line 1383 of file PVertexer.cxx.

◆ setTukey()

void o2::vertexing::PVertexer::setTukey ( float  t)
inline

Definition at line 77 of file PVertexer.h.

◆ setValidateWithIR()

void o2::vertexing::PVertexer::setValidateWithIR ( bool  v)
inline

Definition at line 88 of file PVertexer.h.


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