|
BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
|
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) |
Definition at line 46 of file BmnRecoTools.h.
| BmnRecoTools::BmnRecoTools | ( | ) |
Definition at line 5 of file BmnRecoTools.cxx.
|
virtual |
Definition at line 7 of file BmnRecoTools.cxx.
|
static |
Definition at line 259 of file BmnRecoTools.cxx.
References TMath::Cos(), TGraph::GetPoint(), i, TGraph::SetPoint(), TMath::Sin(), x, and y.
|
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().
|
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().
Definition at line 113 of file BmnRecoTools.cxx.
References i.
Referenced by run_sim_prefilter().
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().
|
static |
digs from tracks
Definition at line 282 of file BmnRecoTools.cxx.
References TObjArray::At(), TH1::Fill(), TH1::GetBinContent(), TClonesArray::GetClass(), BmnCSCHit::GetClusterSizeInLowerLayer(), BmnGemStripHit::GetClusterSizeInLowerLayer(), BmnSiliconHit::GetClusterSizeInLowerLayer(), TTree::GetEntries(), TObjArray::GetEntriesFast(), TTree::GetEntry(), TCollection::GetName(), BmnStripDigit::GetStripSignal(), BmnCSCHit::GetStripTotalSignalInLowerLayer(), BmnGemStripHit::GetStripTotalSignalInLowerLayer(), BmnSiliconHit::GetStripTotalSignalInLowerLayer(), i, nBins, TH1::Scale(), TH1::SetBinContent(), TAttLine::SetLineColor(), TF1::SetNpx(), TObjArray::UncheckedAt(), and x.
Referenced by SignalNormalizationUtils::SignalNormalizationUtils(), BmnEmbedding::Embed(), rescaleAmplitude(), and SignalNormalizationUtils::SetMcDataSet().
|
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().
|
static |