BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnRecoTools Class Reference

BmnRecoTools - static functions for embedding & reconstruction quality check. More...

#include <BmnRecoTools.h>

Public Member Functions

 BmnRecoTools ()
virtual ~BmnRecoTools ()

Static Public Member Functions

static Bool_t IsReconstructable (TClonesArray *tracks, TClonesArray *gemPoints, TClonesArray *silPoints, TClonesArray *cscPoints, Int_t code, vector< Int_t > &outCodes, Int_t minHits=4)
static vector< TString > GetFileVecFromDir (TString dir)
static void ShowHitMakerEff (TClonesArray *hits, BmnSiliconStationSet set)
static void FillSetStsPoints (TClonesArray *pts, BmnGemStripStationSet *set, vector< vector< vector< TH2 * > > > &hitVec)
static void FillSetStsHits (TClonesArray *pts, TClonesArray *hits, BmnGemStripStationSet *set, vector< vector< vector< TH2 * > > > &hitVec)
static TCutG * Ellipse2CutG (TString name, Double_t x, Double_t y, Double_t rx, Double_t ry=-1.0, Double_t theta=0.0)
static TF1 * GetSignalDistribution (TTree *tree, TClonesArray *ar, TTree *treeDST=nullptr, TClonesArray *gemHits=nullptr, TClonesArray *gemTracks=nullptr, TClonesArray *tracks=nullptr, Double_t lowThr=0, Int_t ClusterSizeThr=0, Int_t nBins=100000)
static TF1 * GetRescaleFunc (TString name, TF1 *mc, TF1 *ex)

Detailed Description

Author
Ilnur Gabdrakhmanov ilnur.nosp@m.@jin.nosp@m.r.ru

Definition at line 46 of file BmnRecoTools.h.

Constructor & Destructor Documentation

◆ BmnRecoTools()

BmnRecoTools::BmnRecoTools ( )

Definition at line 5 of file BmnRecoTools.cxx.

◆ ~BmnRecoTools()

BmnRecoTools::~BmnRecoTools ( )
virtual

Definition at line 7 of file BmnRecoTools.cxx.

Member Function Documentation

◆ Ellipse2CutG()

TCutG * BmnRecoTools::Ellipse2CutG ( TString name,
Double_t x,
Double_t y,
Double_t rx,
Double_t ry = -1.0,
Double_t theta = 0.0 )
static

Definition at line 259 of file BmnRecoTools.cxx.

References TMath::Cos(), TGraph::GetPoint(), i, TGraph::SetPoint(), TMath::Sin(), x, and y.

Here is the call graph for this function:

◆ FillSetStsHits()

void BmnRecoTools::FillSetStsHits ( TClonesArray * pts,
TClonesArray * hits,
BmnGemStripStationSet * set,
vector< vector< vector< TH2 * > > > & hitVec )
static

Definition at line 180 of file BmnRecoTools.cxx.

References dist(), ForwardZAxisEDrift, BmnGemStripModule::GetElectronDriftDirection(), TObjArray::GetEntriesFast(), BmnHit::GetFlag(), BmnGemStripStation::GetModule(), BmnHit::GetModule(), CbmStsPoint::GetModule(), BmnGemStripStationSet::GetStation(), BmnHit::GetStation(), CbmStsPoint::GetStation(), BmnGemStripModule::GetStripLayer(), BmnGemStripModule::GetStripLayers(), CbmStsPoint::GetX(), CbmStsPoint::GetY(), BmnGemStripLayer::IsPointInsideStripLayer(), BmnHit::SetFlag(), TMath::Sq(), thr, TObjArray::UncheckedAt(), x, and y.

Referenced by EmbEffView().

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

◆ FillSetStsPoints()

void BmnRecoTools::FillSetStsPoints ( TClonesArray * pts,
BmnGemStripStationSet * set,
vector< vector< vector< TH2 * > > > & hitVec )
static

Definition at line 137 of file BmnRecoTools.cxx.

References ForwardZAxisEDrift, BmnGemStripModule::GetElectronDriftDirection(), TObjArray::GetEntriesFast(), BmnGemStripStation::GetModule(), CbmStsPoint::GetModule(), BmnGemStripStationSet::GetStation(), CbmStsPoint::GetStation(), BmnGemStripModule::GetStripLayer(), BmnGemStripModule::GetStripLayers(), CbmStsPoint::GetX(), CbmStsPoint::GetY(), BmnGemStripLayer::IsPointInsideStripLayer(), TObjArray::UncheckedAt(), x, and y.

Referenced by EmbEffView().

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

◆ GetFileVecFromDir()

vector< TString > BmnRecoTools::GetFileVecFromDir ( TString dir)
static

Definition at line 113 of file BmnRecoTools.cxx.

References i.

Referenced by run_sim_prefilter().

Here is the caller graph for this function:

◆ GetRescaleFunc()

TF1 * BmnRecoTools::GetRescaleFunc ( TString name,
TF1 * mc,
TF1 * ex )
static

Definition at line 511 of file BmnRecoTools.cxx.

References TF1::Eval(), f, TF1::GetX(), TF1::GetXmax(), TF1::GetXmin(), and x.

Referenced by BmnEmbedding::Embed(), SignalNormalizationUtils::GetRescaleFunction(), and rescaleAmplitude().

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

◆ GetSignalDistribution()

TF1 * BmnRecoTools::GetSignalDistribution ( TTree * tree,
TClonesArray * ar,
TTree * treeDST = nullptr,
TClonesArray * gemHits = nullptr,
TClonesArray * gemTracks = nullptr,
TClonesArray * tracks = nullptr,
Double_t lowThr = 0,
Int_t ClusterSizeThr = 0,
Int_t nBins = 100000 )
static

◆ IsReconstructable()

Bool_t BmnRecoTools::IsReconstructable ( TClonesArray * tracks,
TClonesArray * gemPoints,
TClonesArray * silPoints,
TClonesArray * cscPoints,
Int_t code,
vector< Int_t > & outCodes,
Int_t minHits = 4 )
static

<- found hits for the each offspring

Count GEM points

Count Silicon points

Count CSC points

Definition at line 9 of file BmnRecoTools.cxx.

References TObjArray::GetEntriesFast(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetPdgCode(), BmnSiliconPoint::GetStation(), CbmStsPoint::GetStation(), and TObjArray::UncheckedAt().

Referenced by BmnCheckMCTask::Exec().

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

◆ ShowHitMakerEff()

void BmnRecoTools::ShowHitMakerEff ( TClonesArray * hits,
BmnSiliconStationSet set )
static

References nBins, x, and y.


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