BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnStsVectorFinderV9 Class Reference

#include <BmnStsVectorFinderV9.h>

Inheritance diagram for BmnStsVectorFinderV9:
Collaboration diagram for BmnStsVectorFinderV9:

Classes

struct  hitinfo
struct  candvec

Public Member Functions

 BmnStsVectorFinderV9 ()
 Default constructor.
 ~BmnStsVectorFinderV9 ()
 Destructor.
virtual InitStatus Init ()
 Virtual method Init.
virtual void Exec (Option_t *opt)
 Virtual method Exec.
virtual void FinishEvent ()
 Virtual method FinishEvent.
virtual void Finish ()
 Virtual method Finish.
void SetMatBudgetFileName (TString s)
void SetNofSiStations (int nsi)
int GetNofSiStations () const
void SetOutBranch (TString outBranch)
void SetExactSel (int trID)
TClonesArray * GetVectorArray ()
void SetKillHitsTxP (int ikill=1)
void SetTracksToKill (TClonesArray *tracks)

Private Member Functions

void ReadTxInfo (TString fileName)
Int_t ExcludeHits (Int_t minHits, TClonesArray *trArray)
std::set< Int_t > GetHitId (CbmStsHit *hit, Int_t &idmaxP)
std::set< Int_t > GetHitIdBmn (CbmStsHit *hit, Int_t &idmaxP)
std::set< Int_t > GetHitId (Int_t hitInd, Int_t &idmaxP)
void FillHitInfo ()
void BuildDoublets ()
int FindBin (int ista, Float_t binw, Float_t tx)
Float_t BinCenterTx (int ista, int ibin, Float_t binw)
void DTxWindow (int ista2, Float_t tx, int idu, Float_t curvCut, Float_t *dtx)
Bool_t CheckVarx (Double_t dx, Double_t dz, Double_t tx, Double_t distxz, Double_t &varx)
void BuildTriplets ()
void BuildTracks ()
void ExtendTrack (candvec cand)
Double_t FitTrack (candvec &cand)
Double_t FilterHit (candvec &cand, CbmStsTrack &track)
void MakeStsTrack (candvec &cand, std::string &hitcode, CbmStsTrack &track)
void ExtendTracks (Int_t ista)
TVector3 Parabola (TVector3 &pos0, TVector3 &pos1, TVector3 &pos2, int ix=0)
void FitTracks ()
void RemoveDoubles ()
Bool_t AreTracksDoubles (CbmStsTrack &tr1, CbmStsTrack &tr2)
void RemoveFakes ()
void ExcludeFakes ()
Double_t DxVsMom (Int_t ista, candvec &aaa)
Double_t Proxim (Double_t ang1, Double_t ang2)
Double_t LinearFit (candvec &cand, candvec &cand2, CbmStsTrack *tr, Int_t newtr, Double_t &ty)
Double_t Curv3 (candvec &cand1, candvec &cand2, candvec &cand3, int newtr3)
std::set< int > KalmanWindow (candvec &cand, int hitIndx)
std::string MakeCode (candvec &cand)
void PrintHits (candvec &cand)
void InitTMVA3 ()
Float_t TMVAOutput3 (candvec &aaa1, candvec &aaa2, int mult2)
void InitTMVA2 ()
Float_t TMVAOutput2 (candvec &aaa1)
void InitTMVAtracks ()
void TMVAOutputTra ()
void GoToTarget ()
void KillHitsTxP ()
 BmnStsVectorFinderV9 (const BmnStsVectorFinderV9 &)
 Entire SILICON detector.
BmnStsVectorFinderV9 & operator= (const BmnStsVectorFinderV9 &)

Private Attributes

TClonesArray * fClusArray [4]
 Input / output array of CbmStsHits.
TClonesArray * fHitArray
TClonesArray * fTrackArray
TClonesArray * fDigiMatches
TClonesArray * fStsPoints
TClonesArray * fSilPoints
TClonesArray * fVspPoints
TClonesArray * fVectorArray
int fEvent
Int_t fPass
Int_t fNsta
Int_t fNbranches
Int_t fExact
Int_t fExactSel
Int_t discarded
int fOut
TVector3 fXyzv
Double_t fBy
std::multimap< Double_t, Int_t > fmapTx [19]
std::multimap< Double_t, Int_t > fmapTy [19]
std::multimap< Double_t, Int_t > fmapX [19]
std::multimap< Double_t, Int_t > fmapY [19]
std::vector< candvec > fSeedVec [19]
std::vector< candvec > fCandVec [19]
std::set< string > fCandCodes [19]
std::vector< candvec > fCandVec2 [19]
std::unordered_map< std::string, int > fMap2Out
std::unordered_map< std::string, int > fMap3Out
std::ofstream fStream2out
std::ofstream fStream3out
std::unordered_multimap< int, int > fMap2 [19]
std::vector< candvec > fCandVec3 [19]
std::unordered_multimap< int, int > fMap3 [19]
std::unordered_map< std::string, int > fMapCode3 [19]
std::multimap< Double_t, CbmStsTrack > fTracks
std::unordered_map< Int_t, hitinfo > fmapHits
std::unordered_multimap< Int_t, Int_t > fHit2id
std::unordered_multimap< Int_t, Int_t > fClusMaps [2]
int fNskips [20]
vector< int > fNhitsMin
vector< Double_t > fdTanX
vector< Double_t > fdTanY
vector< Double_t > fdTanY3
vector< Double_t > fdTanXB0
vector< Double_t > fPhiXZ
vector< Double_t > fTanXmax
vector< Double_t > fZmean
vector< Double_t > fPTcut
vector< Double_t > fCurvSta
BmnStsKFTrackFitter fitter
std::set< string > fCandSet [19]
std::unordered_multimap< int, int > fTxBins [19]
std::unordered_map< int, std::unordered_map< int, std::vector< Float_t > > > fStatData
Float_t fTxStep
Float_t fTxBinw
TString fMatBudgetFileName
int fUseTMVA
int fTMVAtracks
int fNSi
Float_t fVarTMVA [20]
std::map< int, TMVA::Reader * > fReadersTMVA3
TMVA::Reader * fReaderTMVA2
std::map< int, TMVA::Reader * > fTmvaReaders
TString fGemConfigFile
TString fSilConfigFile
TString fOutBranch
int fKillHitsTxP
TClonesArray * fTracksToKill
BmnToCbmHitConverter * fHitConverter
BmnGemStripStationSet * fGemStationSet
BmnSiliconStationSet * fSilStationSet
 Entire GEM detector.

Detailed Description

Definition at line 34 of file BmnStsVectorFinderV9.h.

Constructor & Destructor Documentation

◆ BmnStsVectorFinderV9() [1/2]

BmnStsVectorFinderV9::BmnStsVectorFinderV9 ( )

Definition at line 48 of file BmnStsVectorFinderV9.cxx.

References discarded, fClusArray, fEvent, fExact, fExactSel, fGemConfigFile, fHitArray, fHitConverter, fKillHitsTxP, fMatBudgetFileName, fNbranches, fNSi, fNsta, fOut, fOutBranch, fPass, fSilConfigFile, fTMVAtracks, fTrackArray, fTracksToKill, and fUseTMVA.

Referenced by BmnStsVectorFinderV9(), KillHitsTxP(), and operator=().

Here is the caller graph for this function:

◆ ~BmnStsVectorFinderV9()

BmnStsVectorFinderV9::~BmnStsVectorFinderV9 ( )

Definition at line 86 of file BmnStsVectorFinderV9.cxx.

◆ BmnStsVectorFinderV9() [2/2]

BmnStsVectorFinderV9::BmnStsVectorFinderV9 ( const BmnStsVectorFinderV9 & )
private

References BmnStsVectorFinderV9().

Here is the call graph for this function:

Member Function Documentation

◆ AreTracksDoubles()

Bool_t BmnStsVectorFinderV9::AreTracksDoubles ( CbmStsTrack & tr1,
CbmStsTrack & tr2 )
private

Searching common hits in 2 tracks to determine doubles tr1 contains fewer hits than tr2

Definition at line 2320 of file BmnStsVectorFinderV9.cxx.

References fHitArray, CbmStsTrack::GetNStsHits(), TArray::GetSize(), CbmStsHit::GetStationNr(), CbmStsTrack::GetStsHitIndex(), CbmStsTrack::GetStsHits(), i, and TMath::Min().

Referenced by RemoveDoubles().

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

◆ BinCenterTx()

Float_t BmnStsVectorFinderV9::BinCenterTx ( int ista,
int ibin,
Float_t binw )
private

Definition at line 1085 of file BmnStsVectorFinderV9.cxx.

References fTanXmax.

Referenced by BuildDoublets(), and FillHitInfo().

Here is the caller graph for this function:

◆ BuildDoublets()

void BmnStsVectorFinderV9::BuildDoublets ( )
private

Definition at line 874 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), BinCenterTx(), BmnStsVectorFinderV9::candvec::code, Curv3(), DTxWindow(), fBy, fCandVec, fCandVec2, fCandVec3, fCurvSta, fdTanXB0, fdTanY, fExact, fHitArray, fMap2, fMap2Out, fMap3, fMapCode3, fmapHits, fmapTx, fmapTy, fmapX, fNbranches, fNSi, fNsta, fOut, fPass, fPTcut, fTxBins, fTxBinw, fUseTMVA, fZmean, GetHitId(), BmnStsVectorFinderV9::candvec::idmaxP, BmnStsVectorFinderV9::candvec::lengxz, BmnStsVectorFinderV9::candvec::momxz, BmnStsVectorFinderV9::candvec::nskips, PrintHits(), TMath::Sqrt(), BmnStsVectorFinderV9::candvec::stahit, TMVAOutput2(), BmnStsVectorFinderV9::candvec::tx, and BmnStsVectorFinderV9::candvec::ty.

Referenced by Exec().

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

◆ BuildTracks()

void BmnStsVectorFinderV9::BuildTracks ( )
private

!! AZ-280323 - no jumps over stations at 1'st pass !!!

Definition at line 1458 of file BmnStsVectorFinderV9.cxx.

References ExtendTrack(), fCandVec3, fMap3, fNhitsMin, fNsta, fPass, TMath::Min(), BmnStsVectorFinderV9::candvec::nskips, and BmnStsVectorFinderV9::candvec::stahit.

Referenced by Exec().

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

◆ BuildTriplets()

void BmnStsVectorFinderV9::BuildTriplets ( )
private

hitMap -— aaa1.stahit

hit->SetDx(0.05); //AZ-110123 - early estimate

if (hit->GetStationNr() <= fNSi) hit->SetDx(0.02); //AZ-040123 - early estimate

Definition at line 1165 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), BmnStsVectorFinderV9::candvec::chi2, Curv3(), discarded, dist(), fBy, fCandVec2, fCandVec3, fdTanXB0, fExact, fHitArray, fMap2, fMap3, fMap3Out, fMapCode3, fmapHits, fNbranches, fNSi, fNsta, fOut, fPass, fPTcut, fUseTMVA, fXyzv, CbmStsHit::GetStationNr(), CbmStsTrack::GetStsHits(), BmnStsVectorFinderV9::candvec::idmaxP, LinearFit(), BmnStsVectorFinderV9::candvec::momxz, BmnStsVectorFinderV9::candvec::nskips, Parabola(), TArrayI::Set(), TMath::Sqrt(), BmnStsVectorFinderV9::candvec::stahit, TMVAOutput3(), BmnStsVectorFinderV9::candvec::tx, and BmnStsVectorFinderV9::candvec::ty.

Referenced by Exec().

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

◆ CheckVarx()

Bool_t BmnStsVectorFinderV9::CheckVarx ( Double_t dx,
Double_t dz,
Double_t tx,
Double_t distxz,
Double_t & varx )
private

Definition at line 1154 of file BmnStsVectorFinderV9.cxx.

◆ Curv3()

Double_t BmnStsVectorFinderV9::Curv3 ( candvec & cand1,
candvec & cand2,
candvec & cand3,
int newtr3 )
private

Definition at line 2797 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), TMath::ACos(), TMath::Cross(), fmapHits, fXyzv, BmnStsVectorFinderV9::candvec::lengxz, TVector3::Mag(), TVector3::SetXYZ(), TVector3::SetY(), TMath::Sign(), TMath::Sin(), and BmnStsVectorFinderV9::candvec::stahit.

Referenced by BuildDoublets(), and BuildTriplets().

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

◆ DTxWindow()

void BmnStsVectorFinderV9::DTxWindow ( int ista2,
Float_t tx,
int idu,
Float_t curvCut,
Float_t * dtx )
private

Definition at line 1094 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), d, ff, FindBin(), fStatData, fTxStep, TMath::Max(), TMath::Min(), Parabola(), TMath::Sign(), and TMath::Sqrt().

Referenced by BuildDoublets().

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

◆ DxVsMom()

Double_t BmnStsVectorFinderV9::DxVsMom ( Int_t ista,
candvec & aaa )
private

Definition at line 2695 of file BmnStsVectorFinderV9.cxx.

References TMath::Log10(), and TMath::Power().

Here is the call graph for this function:

◆ ExcludeFakes()

void BmnStsVectorFinderV9::ExcludeFakes ( )
private

◆ ExcludeHits()

Int_t BmnStsVectorFinderV9::ExcludeHits ( Int_t minHits,
TClonesArray * trArray )
private

Definition at line 524 of file BmnStsVectorFinderV9.cxx.

References TClonesArray::Compress(), fCandVec3, fClusMaps, fHitArray, fMap2, fMap3, fMapCode3, fmapHits, fNhitsMin, fPass, CbmStsHit::GetDigi(), TObjArray::GetEntriesFast(), CbmStsTrack::GetNStsHits(), CbmStsHit::GetStationNr(), CbmStsTrack::GetStsHitIndex(), MakeCode(), TClonesArray::Remove(), and TObjArray::UncheckedAt().

Referenced by Exec().

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

◆ Exec()

◆ ExtendTrack()

void BmnStsVectorFinderV9::ExtendTrack ( candvec cand)
private

!!AZ-289323 - no jumps over station at 1'st pass

!! Check triplet slopes and curvatures

!!AZ-280323 - jumps over stations

!!AZ-280323 - jumps over stations

!! Extension found

!!AZ-280323 - update number of jumps

Definition at line 1499 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), ExtendTrack(), fBy, fCandCodes, fCandVec, fCandVec2, fCandVec3, fExact, FitTrack(), fMap2, fMapCode3, fNhitsMin, fNSi, fNsta, fPass, BmnStsVectorFinderV9::candvec::idmaxP, BmnStsVectorFinderV9::candvec::momxz, BmnStsVectorFinderV9::candvec::nskips, TMath::Sqrt(), and BmnStsVectorFinderV9::candvec::stahit.

Referenced by BuildTracks(), and ExtendTrack().

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

◆ ExtendTracks()

void BmnStsVectorFinderV9::ExtendTracks ( Int_t ista)
private

Definition at line 1919 of file BmnStsVectorFinderV9.cxx.

◆ FillHitInfo()

void BmnStsVectorFinderV9::FillHitInfo ( )
private

!! For debug

!!

Definition at line 715 of file BmnStsVectorFinderV9.cxx.

References TMath::ATan2(), BinCenterTx(), fBy, fCandVec, fCandVec2, fCandVec3, fExact, fExactSel, fHitArray, FindBin(), fMap2, fMap3, fMapCode3, fmapHits, fmapTx, fmapTy, fmapX, fmapY, fNsta, fPass, fPhiXZ, fSeedVec, fStatData, fTxBins, fTxBinw, fTxStep, fXyzv, fZmean, GetHitId(), and CbmStsHit::GetStationNr().

Referenced by Exec().

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

◆ FilterHit()

Double_t BmnStsVectorFinderV9::FilterHit ( candvec & cand,
CbmStsTrack & track )
private

Definition at line 1804 of file BmnStsVectorFinderV9.cxx.

References CbmKFHit::Filter(), fitter, CbmKFTrack::GetHit(), CbmStsTrack::GetParamLast(), CbmKFTrack::GetRefChi2(), CbmKFTrack::GetTrackParam(), CbmKF::Instance(), nhits, CbmStsTrack::SetChi2(), CbmStsTrack::SetNDF(), CbmKFTrack::SetStsTrack(), and BmnStsVectorFinderV9::candvec::stahit.

Referenced by FitTrack().

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

◆ FindBin()

int BmnStsVectorFinderV9::FindBin ( int ista,
Float_t binw,
Float_t tx )
private

Definition at line 1076 of file BmnStsVectorFinderV9.cxx.

References fTanXmax.

Referenced by DTxWindow(), FillHitInfo(), and ReadTxInfo().

Here is the caller graph for this function:

◆ Finish()

void BmnStsVectorFinderV9::Finish ( )
virtual

Definition at line 1958 of file BmnStsVectorFinderV9.cxx.

References fStream2out, fStream3out, and workTime.

◆ FinishEvent()

void BmnStsVectorFinderV9::FinishEvent ( )
virtual

Definition at line 1937 of file BmnStsVectorFinderV9.cxx.

References fEvent, fMap2Out, fMap3Out, fStream2out, and fStream3out.

◆ FitTrack()

Double_t BmnStsVectorFinderV9::FitTrack ( candvec & cand)
private

Definition at line 1744 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), BmnStsVectorFinderV9::candvec::chi2, fCandSet, FilterHit(), fitter, fNhitsMin, fPass, fTracks, CbmStsTrack::GetChi2(), CbmStsTrack::GetNDF(), CbmStsTrack::GetNStsHits(), CbmStsTrack::GetParamLast(), MakeStsTrack(), TMath::Max(), TMath::Min(), nhits, BmnStsVectorFinderV9::candvec::param, and PrintHits().

Referenced by ExtendTrack().

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

◆ FitTracks()

void BmnStsVectorFinderV9::FitTracks ( )
private

hit->SetDx(0.05); //AZ-110123 - early estimate

hit->SetDy(0.1234);

if (dx < 0.02) hit->SetDx(0.02); //AZ-040123 - early estimate for Si

Definition at line 2007 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), TMath::Exp(), fCandSet, fCandVec, fHit2id, fHitArray, fitter, fNhitsMin, fNsta, fPass, fTracks, fXyzv, CbmStsTrack::GetChi2(), CbmStsSector::GetDx(), CbmStsTrack::GetFlag(), CbmStsTrack::GetNDF(), CbmStsTrack::GetNStsHits(), CbmStsTrack::GetParamFirst(), CbmStsStation::GetSector(), TArray::GetSize(), CbmStsDigiScheme::GetStationByNr(), CbmStsHit::GetStationNr(), CbmStsTrack::GetStsHits(), i, CbmStsDigiScheme::Instance(), TMath::Min(), nhits, TArrayI::Set(), TMath::Sqrt(), and BmnStsVectorFinderV9::candvec::stahit.

Referenced by Exec().

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

◆ GetHitId() [1/2]

set< Int_t > BmnStsVectorFinderV9::GetHitId ( CbmStsHit * hit,
Int_t & idmaxP )
private

Definition at line 610 of file BmnStsVectorFinderV9.cxx.

References fClusArray, fDigiMatches, fStsPoints, CbmStsCluster::GetDigi(), CbmStsHit::GetDigi(), GetHitIdBmn(), CbmStsCluster::GetNDigis(), CbmStsDigiMatch::GetRefIndex(), and TVector3::Mag().

Referenced by BuildDoublets(), Exec(), FillHitInfo(), and GetHitId().

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

◆ GetHitId() [2/2]

std::set< Int_t > BmnStsVectorFinderV9::GetHitId ( Int_t hitInd,
Int_t & idmaxP )
inlineprivate

Definition at line 113 of file BmnStsVectorFinderV9.h.

References fHitArray, and GetHitId().

Here is the call graph for this function:

◆ GetHitIdBmn()

set< Int_t > BmnStsVectorFinderV9::GetHitIdBmn ( CbmStsHit * hit,
Int_t & idmaxP )
private

Definition at line 687 of file BmnStsVectorFinderV9.cxx.

References fSilPoints, fStsPoints, fVspPoints, CbmStsHit::GetSystemId(), kGEM, and kVSP.

Referenced by GetHitId().

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

◆ GetNofSiStations()

int BmnStsVectorFinderV9::GetNofSiStations ( ) const
inline

Definition at line 100 of file BmnStsVectorFinderV9.h.

References fNSi.

◆ GetVectorArray()

TClonesArray * BmnStsVectorFinderV9::GetVectorArray ( )
inline

Definition at line 103 of file BmnStsVectorFinderV9.h.

References fVectorArray.

Referenced by KillHitsTxP().

Here is the caller graph for this function:

◆ GoToTarget()

void BmnStsVectorFinderV9::GoToTarget ( )
private

Definition at line 3364 of file BmnStsVectorFinderV9.cxx.

References fEvent, fitter, fPass, fVectorArray, fXyzv, and CbmStsTrack::GetParamFirst().

Here is the call graph for this function:

◆ Init()

InitStatus BmnStsVectorFinderV9::Init ( )
virtual

◆ InitTMVA2()

void BmnStsVectorFinderV9::InitTMVA2 ( )
private

Definition at line 3058 of file BmnStsVectorFinderV9.cxx.

References TMVA::Reader::AddVariable(), TMVA::Reader::BookMVA(), fReaderTMVA2, and fVarTMVA.

Referenced by Init().

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

◆ InitTMVA3()

void BmnStsVectorFinderV9::InitTMVA3 ( )
private

Definition at line 2936 of file BmnStsVectorFinderV9.cxx.

References TMVA::Reader::AddVariable(), TMVA::Reader::BookMVA(), fReadersTMVA3, and fVarTMVA.

Referenced by Init().

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

◆ InitTMVAtracks()

void BmnStsVectorFinderV9::InitTMVAtracks ( )
private

Definition at line 3149 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), TMVA::Reader::AddVariable(), TMVA::Reader::BookMVA(), fTmvaReaders, fVarTMVA, and nhits.

Referenced by Init().

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

◆ KalmanWindow()

set< int > BmnStsVectorFinderV9::KalmanWindow ( candvec & cand,
int hitIndx )
private

Definition at line 2863 of file BmnStsVectorFinderV9.cxx.

References fHitArray, fitter, fmapHits, fmapX, fmapY, CbmStsHit::GetStationNr(), MakeStsTrack(), TMath::Sqrt(), and z.

Here is the call graph for this function:

◆ KillHitsTxP()

void BmnStsVectorFinderV9::KillHitsTxP ( )
private

Definition at line 3394 of file BmnStsVectorFinderV9.cxx.

References BmnStsVectorFinderV9(), TMath::Abs(), CbmKFTrackInterface::Extrapolate(), fHitArray, fHitConverter, fTracksToKill, CbmStsTrack::GetNStsHits(), CbmStsTrack::GetStsHitIndex(), CbmKFTrack::GetTrackParam(), GetVectorArray(), nhits, and SetTracksToKill().

Referenced by Exec().

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

◆ LinearFit()

Double_t BmnStsVectorFinderV9::LinearFit ( candvec & cand,
candvec & cand2,
CbmStsTrack * tr,
Int_t newtr,
Double_t & ty )
private

Linear LS fit of 3 points (in R-Y plane): y = a + b * l, l is a track projection length on X-Z plane

Definition at line 2734 of file BmnStsVectorFinderV9.cxx.

References fHitArray, CbmStsTrack::GetStsHitIndex(), i, BmnStsVectorFinderV9::candvec::lengxz, and y.

Referenced by BuildTriplets().

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

◆ MakeCode()

std::string BmnStsVectorFinderV9::MakeCode ( candvec & cand)
private

Definition at line 2900 of file BmnStsVectorFinderV9.cxx.

References BmnStsVectorFinderV9::candvec::stahit.

Referenced by ExcludeHits().

Here is the caller graph for this function:

◆ MakeStsTrack()

void BmnStsVectorFinderV9::MakeStsTrack ( candvec & cand,
std::string & hitcode,
CbmStsTrack & track )
private

hitMap -— cand.stahit

hit->SetDx(0.05); //AZ-110123 - early estimate

if (dx < 0.02) hit->SetDx(0.02); //AZ-040123 - early estimate for Si

Definition at line 1874 of file BmnStsVectorFinderV9.cxx.

References BmnStsVectorFinderV9::candvec::chi2, BmnStsVectorFinderV9::candvec::code, fHitArray, fNSi, CbmStsSector::GetDx(), CbmStsStation::GetSector(), CbmStsDigiScheme::GetStationByNr(), CbmStsHit::GetStationNr(), CbmStsTrack::GetStsHits(), CbmStsDigiScheme::Instance(), BmnStsVectorFinderV9::candvec::param, TArrayI::Set(), CbmStsTrack::SetChi2(), CbmStsTrack::SetParamFirst(), CbmStsTrack::SetParamLast(), TMath::Sqrt(), and BmnStsVectorFinderV9::candvec::stahit.

Referenced by FitTrack(), and KalmanWindow().

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

◆ operator=()

BmnStsVectorFinderV9 & BmnStsVectorFinderV9::operator= ( const BmnStsVectorFinderV9 & )
private

References BmnStsVectorFinderV9().

Here is the call graph for this function:

◆ Parabola()

TVector3 BmnStsVectorFinderV9::Parabola ( TVector3 & pos0,
TVector3 & pos1,
TVector3 & pos2,
int ix = 0 )
private

Definition at line 1970 of file BmnStsVectorFinderV9.cxx.

References fXyzv, x, and y.

Referenced by BuildTriplets(), and DTxWindow().

Here is the caller graph for this function:

◆ PrintHits()

void BmnStsVectorFinderV9::PrintHits ( candvec & cand)
private

Definition at line 2912 of file BmnStsVectorFinderV9.cxx.

References fHit2id, fHitArray, fmapHits, and BmnStsVectorFinderV9::candvec::stahit.

Referenced by BuildDoublets(), and FitTrack().

Here is the caller graph for this function:

◆ Proxim()

Double_t BmnStsVectorFinderV9::Proxim ( Double_t ang1,
Double_t ang2 )
private

Adjust angle phi to be "around" phi0 - to avoid discontinuity around +- Pi

Definition at line 2722 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), TMath::Pi(), and TMath::Sign().

Here is the call graph for this function:

◆ ReadTxInfo()

void BmnStsVectorFinderV9::ReadTxInfo ( TString fileName)
private

Definition at line 325 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), TObjArray::Delete(), FindBin(), fStatData, fTanXmax, fTxStep, TObjArray::GetEntriesFast(), TString::ReadLine(), TString::Tokenize(), and TObjArray::UncheckedAt().

Referenced by Init().

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

◆ RemoveDoubles()

void BmnStsVectorFinderV9::RemoveDoubles ( )
private

Definition at line 2271 of file BmnStsVectorFinderV9.cxx.

References AreTracksDoubles(), fTracks, and fVectorArray.

Referenced by Exec().

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

◆ RemoveFakes()

void BmnStsVectorFinderV9::RemoveFakes ( )
private

Definition at line 2391 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), fHitArray, fTracks, CbmStsTrack::GetNStsHits(), CbmStsTrack::GetParamFirst(), CbmStsHit::GetStationNr(), CbmStsTrack::GetStsHitIndex(), nhits, and CbmStsTrack::SetFlag().

Here is the call graph for this function:

◆ SetExactSel()

void BmnStsVectorFinderV9::SetExactSel ( int trID)
inline

Definition at line 102 of file BmnStsVectorFinderV9.h.

References fExactSel.

◆ SetKillHitsTxP()

void BmnStsVectorFinderV9::SetKillHitsTxP ( int ikill = 1)
inline

Definition at line 104 of file BmnStsVectorFinderV9.h.

References fKillHitsTxP.

◆ SetMatBudgetFileName()

void BmnStsVectorFinderV9::SetMatBudgetFileName ( TString s)
inline

Definition at line 98 of file BmnStsVectorFinderV9.h.

References fMatBudgetFileName.

Referenced by rc_rlerr(), run_reco_aln(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), and run_reco_noa().

Here is the caller graph for this function:

◆ SetNofSiStations()

void BmnStsVectorFinderV9::SetNofSiStations ( int nsi)
inline

Definition at line 99 of file BmnStsVectorFinderV9.h.

References fNSi.

Referenced by rc_rlerr(), run_reco_aln(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), and run_reco_noa().

Here is the caller graph for this function:

◆ SetOutBranch()

void BmnStsVectorFinderV9::SetOutBranch ( TString outBranch)
inline

Definition at line 101 of file BmnStsVectorFinderV9.h.

References fOutBranch.

◆ SetTracksToKill()

void BmnStsVectorFinderV9::SetTracksToKill ( TClonesArray * tracks)
inline

Definition at line 105 of file BmnStsVectorFinderV9.h.

References fTracksToKill.

Referenced by KillHitsTxP().

Here is the caller graph for this function:

◆ TMVAOutput2()

Float_t BmnStsVectorFinderV9::TMVAOutput2 ( candvec & aaa1)
private

hitMap -— aaa.stahit

Definition at line 3112 of file BmnStsVectorFinderV9.cxx.

References fHitArray, fPass, fReaderTMVA2, fVarTMVA, CbmStsHit::GetSignalDiv(), BmnStsVectorFinderV9::candvec::lengxz, BmnStsVectorFinderV9::candvec::momxz, BmnStsVectorFinderV9::candvec::stahit, and BmnStsVectorFinderV9::candvec::ty.

Referenced by BuildDoublets().

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

◆ TMVAOutput3()

Float_t BmnStsVectorFinderV9::TMVAOutput3 ( candvec & aaa1,
candvec & aaa2,
int mult2 )
private

hitMap -— aaa.stahit

Definition at line 3003 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), fHitArray, fPass, fReadersTMVA3, fVarTMVA, CbmStsHit::GetSignalDiv(), GetY(), TMath::Log(), BmnStsVectorFinderV9::candvec::momxz, TMath::Sqrt(), and BmnStsVectorFinderV9::candvec::stahit.

Referenced by BuildTriplets().

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

◆ TMVAOutputTra()

void BmnStsVectorFinderV9::TMVAOutputTra ( )
private

Definition at line 3232 of file BmnStsVectorFinderV9.cxx.

References TMath::Abs(), CbmKFTrackInterface::Extrapolate(), fHitArray, fTmvaReaders, fVarTMVA, fVectorArray, CbmStsTrack::GetChi2(), CbmStsHit::GetDigi(), CbmStsTrack::GetNDF(), CbmStsTrack::GetNStsHits(), CbmStsTrack::GetParamFirst(), CbmStsHit::GetSignalDiv(), CbmStsHit::GetStationNr(), CbmStsTrack::GetStsHitIndex(), CbmKFTrack::GetTrackParam(), TMath::Log(), TMath::Max(), nhit, TVector3::Phi(), CbmStsTrack::SetB(), TMath::Sqrt(), TVector3::X(), and TVector3::Z().

Referenced by Exec().

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

Member Data Documentation

◆ discarded

Int_t BmnStsVectorFinderV9::discarded
private

Definition at line 163 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), BuildTriplets(), and Exec().

◆ fBy

Double_t BmnStsVectorFinderV9::fBy
private

Definition at line 166 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), BuildTriplets(), ExtendTrack(), FillHitInfo(), and Init().

◆ fCandCodes

std::set<string> BmnStsVectorFinderV9::fCandCodes[19]
private

Definition at line 171 of file BmnStsVectorFinderV9.h.

Referenced by Exec(), and ExtendTrack().

◆ fCandSet

std::set<string> BmnStsVectorFinderV9::fCandSet[19]
private

Definition at line 204 of file BmnStsVectorFinderV9.h.

Referenced by Exec(), FitTrack(), and FitTracks().

◆ fCandVec

std::vector<candvec> BmnStsVectorFinderV9::fCandVec[19]
private

Definition at line 170 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), ExtendTrack(), FillHitInfo(), and FitTracks().

◆ fCandVec2

std::vector<candvec> BmnStsVectorFinderV9::fCandVec2[19]
private

Definition at line 175 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), BuildTriplets(), ExtendTrack(), and FillHitInfo().

◆ fCandVec3

std::vector<candvec> BmnStsVectorFinderV9::fCandVec3[19]
private

◆ fClusArray

TClonesArray* BmnStsVectorFinderV9::fClusArray[4]
private

Definition at line 155 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), GetHitId(), and Init().

◆ fClusMaps

std::unordered_multimap<Int_t, Int_t> BmnStsVectorFinderV9::fClusMaps[2]
private

Definition at line 195 of file BmnStsVectorFinderV9.h.

Referenced by ExcludeHits(), and Exec().

◆ fCurvSta

vector<Double_t> BmnStsVectorFinderV9::fCurvSta
private

Definition at line 200 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), and Init().

◆ fDigiMatches

TClonesArray * BmnStsVectorFinderV9::fDigiMatches
private

Definition at line 155 of file BmnStsVectorFinderV9.h.

Referenced by GetHitId(), and Init().

◆ fdTanX

vector<Double_t> BmnStsVectorFinderV9::fdTanX
private

Definition at line 200 of file BmnStsVectorFinderV9.h.

Referenced by Init().

◆ fdTanXB0

vector<Double_t> BmnStsVectorFinderV9::fdTanXB0
private

Definition at line 200 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), BuildTriplets(), and Init().

◆ fdTanY

vector<Double_t> BmnStsVectorFinderV9::fdTanY
private

Definition at line 200 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), and Init().

◆ fdTanY3

vector<Double_t> BmnStsVectorFinderV9::fdTanY3
private

Definition at line 200 of file BmnStsVectorFinderV9.h.

Referenced by Init().

◆ fEvent

int BmnStsVectorFinderV9::fEvent
private

Definition at line 157 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), FinishEvent(), and GoToTarget().

◆ fExact

Int_t BmnStsVectorFinderV9::fExact
private

◆ fExactSel

Int_t BmnStsVectorFinderV9::fExactSel
private

Definition at line 162 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), FillHitInfo(), and SetExactSel().

◆ fGemConfigFile

TString BmnStsVectorFinderV9::fGemConfigFile
private

Definition at line 224 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), and Init().

◆ fGemStationSet

BmnGemStripStationSet* BmnStsVectorFinderV9::fGemStationSet
private

Definition at line 230 of file BmnStsVectorFinderV9.h.

Referenced by ExcludeFakes(), and Init().

◆ fHit2id

std::unordered_multimap<Int_t, Int_t> BmnStsVectorFinderV9::fHit2id
private

Definition at line 195 of file BmnStsVectorFinderV9.h.

Referenced by Exec(), FitTracks(), and PrintHits().

◆ fHitArray

◆ fHitConverter

BmnToCbmHitConverter* BmnStsVectorFinderV9::fHitConverter
private

Definition at line 229 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), and KillHitsTxP().

◆ fitter

BmnStsKFTrackFitter BmnStsVectorFinderV9::fitter
private

◆ fKillHitsTxP

int BmnStsVectorFinderV9::fKillHitsTxP
private

Definition at line 227 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), Exec(), and SetKillHitsTxP().

◆ fMap2

std::unordered_multimap<int, int> BmnStsVectorFinderV9::fMap2[19]
private

◆ fMap2Out

std::unordered_map<std::string, int> BmnStsVectorFinderV9::fMap2Out
private

Definition at line 176 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), Exec(), and FinishEvent().

◆ fMap3

std::unordered_multimap<int, int> BmnStsVectorFinderV9::fMap3[19]
private

◆ fMap3Out

std::unordered_map<std::string, int> BmnStsVectorFinderV9::fMap3Out
private

Definition at line 178 of file BmnStsVectorFinderV9.h.

Referenced by BuildTriplets(), Exec(), and FinishEvent().

◆ fMapCode3

std::unordered_map<std::string, int> BmnStsVectorFinderV9::fMapCode3[19]
private

◆ fmapHits

std::unordered_map<Int_t, hitinfo> BmnStsVectorFinderV9::fmapHits
private

◆ fmapTx

std::multimap<Double_t, Int_t> BmnStsVectorFinderV9::fmapTx[19]
private

Definition at line 168 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), and FillHitInfo().

◆ fmapTy

std::multimap<Double_t, Int_t> BmnStsVectorFinderV9::fmapTy[19]
private

Definition at line 168 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), and FillHitInfo().

◆ fmapX

std::multimap<Double_t, Int_t> BmnStsVectorFinderV9::fmapX[19]
private

Definition at line 168 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), FillHitInfo(), and KalmanWindow().

◆ fmapY

std::multimap<Double_t, Int_t> BmnStsVectorFinderV9::fmapY[19]
private

Definition at line 168 of file BmnStsVectorFinderV9.h.

Referenced by FillHitInfo(), and KalmanWindow().

◆ fMatBudgetFileName

TString BmnStsVectorFinderV9::fMatBudgetFileName
private

Definition at line 212 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), Init(), and SetMatBudgetFileName().

◆ fNbranches

Int_t BmnStsVectorFinderV9::fNbranches
private

Definition at line 160 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), BuildDoublets(), and BuildTriplets().

◆ fNhitsMin

vector<int> BmnStsVectorFinderV9::fNhitsMin
private

◆ fNSi

◆ fNskips

int BmnStsVectorFinderV9::fNskips[20]
private

Definition at line 198 of file BmnStsVectorFinderV9.h.

Referenced by Exec().

◆ fNsta

Int_t BmnStsVectorFinderV9::fNsta
private

◆ fOut

int BmnStsVectorFinderV9::fOut
private

Definition at line 164 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), BuildDoublets(), BuildTriplets(), and Init().

◆ fOutBranch

TString BmnStsVectorFinderV9::fOutBranch
private

Definition at line 226 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), Init(), and SetOutBranch().

◆ fPass

◆ fPhiXZ

vector<Double_t> BmnStsVectorFinderV9::fPhiXZ
private

Definition at line 200 of file BmnStsVectorFinderV9.h.

Referenced by FillHitInfo(), and Init().

◆ fPTcut

vector<Double_t> BmnStsVectorFinderV9::fPTcut
private

Definition at line 200 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), BuildTriplets(), and Init().

◆ fReadersTMVA3

std::map<int, TMVA::Reader*> BmnStsVectorFinderV9::fReadersTMVA3
private

Definition at line 219 of file BmnStsVectorFinderV9.h.

Referenced by InitTMVA3(), and TMVAOutput3().

◆ fReaderTMVA2

TMVA::Reader* BmnStsVectorFinderV9::fReaderTMVA2
private

Definition at line 220 of file BmnStsVectorFinderV9.h.

Referenced by InitTMVA2(), and TMVAOutput2().

◆ fSeedVec

std::vector<candvec> BmnStsVectorFinderV9::fSeedVec[19]
private

Definition at line 169 of file BmnStsVectorFinderV9.h.

Referenced by FillHitInfo().

◆ fSilConfigFile

TString BmnStsVectorFinderV9::fSilConfigFile
private

Definition at line 225 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), and Init().

◆ fSilPoints

TClonesArray * BmnStsVectorFinderV9::fSilPoints
private

Definition at line 155 of file BmnStsVectorFinderV9.h.

Referenced by GetHitIdBmn(), and Init().

◆ fSilStationSet

BmnSiliconStationSet* BmnStsVectorFinderV9::fSilStationSet
private

Definition at line 231 of file BmnStsVectorFinderV9.h.

Referenced by ExcludeFakes(), and Init().

◆ fStatData

std::unordered_map<int, std::unordered_map<int, std::vector<Float_t> > > BmnStsVectorFinderV9::fStatData
private

Definition at line 208 of file BmnStsVectorFinderV9.h.

Referenced by DTxWindow(), FillHitInfo(), and ReadTxInfo().

◆ fStream2out

std::ofstream BmnStsVectorFinderV9::fStream2out
private

Definition at line 180 of file BmnStsVectorFinderV9.h.

Referenced by Finish(), FinishEvent(), and Init().

◆ fStream3out

std::ofstream BmnStsVectorFinderV9::fStream3out
private

Definition at line 181 of file BmnStsVectorFinderV9.h.

Referenced by Finish(), FinishEvent(), and Init().

◆ fStsPoints

TClonesArray * BmnStsVectorFinderV9::fStsPoints
private

Definition at line 155 of file BmnStsVectorFinderV9.h.

Referenced by GetHitId(), GetHitIdBmn(), and Init().

◆ fTanXmax

vector<Double_t> BmnStsVectorFinderV9::fTanXmax
private

Definition at line 200 of file BmnStsVectorFinderV9.h.

Referenced by BinCenterTx(), FindBin(), Init(), and ReadTxInfo().

◆ fTmvaReaders

std::map<int, TMVA::Reader*> BmnStsVectorFinderV9::fTmvaReaders
private

Definition at line 221 of file BmnStsVectorFinderV9.h.

Referenced by InitTMVAtracks(), and TMVAOutputTra().

◆ fTMVAtracks

int BmnStsVectorFinderV9::fTMVAtracks
private

Definition at line 215 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), Exec(), and Init().

◆ fTrackArray

TClonesArray * BmnStsVectorFinderV9::fTrackArray
private

Definition at line 155 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), Exec(), and Init().

◆ fTracks

std::multimap<Double_t, CbmStsTrack> BmnStsVectorFinderV9::fTracks
private

Definition at line 191 of file BmnStsVectorFinderV9.h.

Referenced by Exec(), FitTrack(), FitTracks(), RemoveDoubles(), and RemoveFakes().

◆ fTracksToKill

TClonesArray* BmnStsVectorFinderV9::fTracksToKill
private

Definition at line 228 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), KillHitsTxP(), and SetTracksToKill().

◆ fTxBins

std::unordered_multimap<int, int> BmnStsVectorFinderV9::fTxBins[19]
private

Definition at line 207 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), and FillHitInfo().

◆ fTxBinw

Float_t BmnStsVectorFinderV9::fTxBinw
private

Definition at line 210 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), FillHitInfo(), and Init().

◆ fTxStep

Float_t BmnStsVectorFinderV9::fTxStep
private

Definition at line 209 of file BmnStsVectorFinderV9.h.

Referenced by DTxWindow(), FillHitInfo(), and ReadTxInfo().

◆ fUseTMVA

int BmnStsVectorFinderV9::fUseTMVA
private

Definition at line 214 of file BmnStsVectorFinderV9.h.

Referenced by BmnStsVectorFinderV9(), BuildDoublets(), BuildTriplets(), and Init().

◆ fVarTMVA

Float_t BmnStsVectorFinderV9::fVarTMVA[20]
private

◆ fVectorArray

TClonesArray* BmnStsVectorFinderV9::fVectorArray
private

◆ fVspPoints

TClonesArray * BmnStsVectorFinderV9::fVspPoints
private

Definition at line 155 of file BmnStsVectorFinderV9.h.

Referenced by GetHitIdBmn(), and Init().

◆ fXyzv

TVector3 BmnStsVectorFinderV9::fXyzv
private

◆ fZmean

vector<Double_t> BmnStsVectorFinderV9::fZmean
private

Definition at line 200 of file BmnStsVectorFinderV9.h.

Referenced by BuildDoublets(), FillHitInfo(), and Init().


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