|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Go to the source code of this file.
Functions | |
| void | ShowSignalInLayer (BmnVSPModule *module, BmnVSPLayer &layer, Int_t ilayer, Int_t imodule, Int_t istation) |
| void | ShowStripNumbersOfClustersInModule (BmnVSPModule *module, Int_t layer_type, Int_t module_num, Int_t station_num) |
| void | ShowStripNumbersOfClustersInModule_FromBranches (Int_t event_num, Int_t module_num, Int_t station_num) |
| void | ShowReadoutPlane (BmnVSPModule *module, Int_t imodule, Int_t istation) |
| void | PaintBin (TCanvas *c, TH1F *h, Int_t bin, Double_t bin_height, Int_t fcolor, Int_t bcolor) |
| void | DrawMCMatches (TCanvas *c, TH1F *h, Int_t strip_num, BmnVSPLayer &layer) |
| void | DrawStripHits (TCanvas *c, TH1F *h, BmnVSPLayer &layer) |
| void | DrawMCStripLines (TCanvas *c, TH1F *h, BmnVSPModule *module, Int_t layer_num) |
| void | LoadDataFromMCPoints (BmnVSPStationSet *station_set, BmnVSPTransform *transf_set, Int_t event_num) |
| void | LoadDataFromDigits (BmnVSPStationSet *station_set, BmnVSPTransform *transf_set, Int_t event_num) |
| void | VSPClusterAnalyser () |
| void DrawMCMatches | ( | TCanvas * | c, |
| TH1F * | h, | ||
| Int_t | strip_num, | ||
| BmnVSPLayer & | layer ) |
Definition at line 671 of file VSPClusterAnalyser.C.
References TCanvas::cd(), TObject::Draw(), TH1::FindBin(), TString::Format(), TH1::GetBinCenter(), TH1::GetBinContent(), BmnVSPLayer::GetStripMatch(), TText::SetText(), TAttText::SetTextAlign(), TAttText::SetTextFont(), and TAttText::SetTextSize().
Referenced by ShowSignalInLayer().
| void DrawMCStripLines | ( | TCanvas * | c, |
| TH1F * | h, | ||
| BmnVSPModule * | module, | ||
| Int_t | layer_num ) |
Definition at line 748 of file VSPClusterAnalyser.C.
References TCanvas::cd(), BmnVSPLayer::ConvertPointToStripPosition(), TObject::Draw(), TH1::FindBin(), TString::Format(), TH1::GetBinContent(), TColor::GetColor(), TH1::GetMinimum(), BmnVSPModule::GetNStripLayers(), BmnVSPLayer::GetZoneID(), BmnVSPLayer::IsPointInsideStripLayer(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TText::SetText(), TAttText::SetTextAlign(), TAttText::SetTextColor(), TAttText::SetTextFont(), TAttText::SetTextSize(), x, and y.
Referenced by ShowSignalInLayer().
| void DrawStripHits | ( | TCanvas * | c, |
| TH1F * | h, | ||
| BmnVSPLayer & | layer ) |
Definition at line 705 of file VSPClusterAnalyser.C.
References TCanvas::cd(), TObject::Draw(), TH1::FindBin(), TString::Format(), TH1::GetBinContent(), TColor::GetColor(), TH1::GetMinimum(), BmnVSPLayer::GetNStripHits(), BmnVSPLayer::GetStripHitPos(), BmnVSPLayer::GetStripHitTotalSignal(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TText::SetText(), TAttText::SetTextAlign(), TAttText::SetTextColor(), TAttText::SetTextFont(), and TAttText::SetTextSize().
Referenced by ShowSignalInLayer().
| void LoadDataFromDigits | ( | BmnVSPStationSet * | station_set, |
| BmnVSPTransform * | transf_set, | ||
| Int_t | event_num ) |
Definition at line 900 of file VSPClusterAnalyser.C.
References TObjArray::At(), TDirectoryFile::Get(), TTree::GetBranch(), TObjArray::GetEntries(), TTree::GetEntry(), BmnStripDigit::GetModule(), BmnVSPStation::GetModule(), BmnStripDigit::GetStation(), BmnVSPStationSet::GetStation(), BmnStripDigit::GetStripLayer(), BmnStripDigit::GetStripNumber(), BmnStripDigit::GetStripSignal(), BmnVSPStationSet::Reset(), TBranch::SetAutoDelete(), TTree::SetBranchAddress(), and BmnVSPModule::SetStripSignalInLayerByZoneId().
| void LoadDataFromMCPoints | ( | BmnVSPStationSet * | station_set, |
| BmnVSPTransform * | transf_set, | ||
| Int_t | event_num ) |
Definition at line 826 of file VSPClusterAnalyser.C.
References BmnVSPStationSet::AddPointToDetector(), BmnVSPTransform::ApplyInverseTransforms(), TObjArray::At(), TDirectoryFile::Get(), TTree::GetBranch(), TObjArray::GetEntries(), TTree::GetEntry(), BmnVSPStationSet::Reset(), TBranch::SetAutoDelete(), TTree::SetBranchAddress(), ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::X(), x, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::Y(), y, ROOT::Math::PositionVector3D< class CoordSystem, class Tag >::Z(), and z.
Referenced by VSPClusterAnalyser().
Definition at line 644 of file VSPClusterAnalyser.C.
References TCanvas::cd(), TBox::Draw(), fabs(), TH1::GetBinContent(), TH1::GetBinLowEdge(), TH1::GetBinWidth(), TH1::GetMinimum(), TAttFill::SetFillColorAlpha(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), and TAttLine::SetLineWidth().
Referenced by ShowSignalInLayer().
| void ShowReadoutPlane | ( | BmnVSPModule * | module, |
| Int_t | imodule, | ||
| Int_t | istation ) |
Definition at line 424 of file VSPClusterAnalyser.C.
References BmnVSPLayer::CalculateStripEquationB(), TCanvas::cd(), TH1::Draw(), TMarker::Draw(), TObject::Draw(), fabs(), TString::Format(), BmnVSPLayer::GetAngleRad(), TColor::GetColor(), BmnVSPLayer::GetFirstStripNumber(), BmnVSPLayer::GetNStripHits(), BmnVSPLayer::GetPitch(), BmnVSPLayer::GetStripHitPos(), BmnVSPLayer::GetStripNumberingOrder(), BmnVSPLayer::GetType(), TH1::GetXaxis(), BmnVSPLayer::GetXLeftStripBorderPoint(), BmnVSPLayer::GetXMaxLayer(), BmnVSPLayer::GetXMinLayer(), BmnVSPLayer::GetXRightStripBorderPoint(), TH1::GetYaxis(), BmnVSPLayer::GetYMaxLayer(), BmnVSPLayer::GetYMinLayer(), LeftToRight, TMath::PiOver2(), TAttFill::SetFillColor(), TPad::SetGrid(), TAttAxis::SetLabelOffset(), TAttAxis::SetLabelSize(), TAttLine::SetLineColor(), TAttLine::SetLineColorAlpha(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TH1::SetStats(), TText::SetText(), TAttText::SetTextAlign(), TAttText::SetTextColorAlpha(), TAttText::SetTextFont(), TAttText::SetTextSize(), TNamed::SetTitle(), TMath::Tan(), and TCanvas::Update().
Referenced by VSPClusterAnalyser().
| void ShowSignalInLayer | ( | BmnVSPModule * | module, |
| BmnVSPLayer & | layer, | ||
| Int_t | ilayer, | ||
| Int_t | imodule, | ||
| Int_t | istation ) |
Definition at line 84 of file VSPClusterAnalyser.C.
References TCanvas::cd(), TH1::Draw(), TLegend::Draw(), TObject::Draw(), DrawMCMatches(), DrawMCStripLines(), DrawStripHits(), TH1::Fill(), TH1::FindBin(), TH1::FindObject(), StripCluster::GetClusterSize(), TColor::GetColor(), BmnVSPLayer::GetFirstStripNumber(), BmnVSPLayer::GetLastStripNumber(), BmnVSPLayer::GetNStrips(), BmnVSPLayer::GetStripClusters(), BmnVSPLayer::GetStripSignal(), TH1::GetXaxis(), TH1::GetYaxis(), TString::Itoa(), PaintBin(), TH1F::Reset(), TAttFill::SetFillColor(), TPad::SetGrid(), TAttAxis::SetLabelOffset(), TAttAxis::SetLabelSize(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TLine::SetNDC(), TText::SetNDC(), TPaveStats::SetOptStat(), TAttText::SetTextAlign(), TAttText::SetTextColor(), TAttText::SetTextFont(), TAttText::SetTextSize(), TPave::SetX1NDC(), TPave::SetX2NDC(), TPave::SetY1NDC(), TPave::SetY2NDC(), signal(), StripCluster::Signals, StripCluster::Strips, and TCanvas::Update().
Referenced by VSPClusterAnalyser().
| void ShowStripNumbersOfClustersInModule | ( | BmnVSPModule * | module, |
| Int_t | layer_type, | ||
| Int_t | module_num, | ||
| Int_t | station_num ) |
Definition at line 255 of file VSPClusterAnalyser.C.
References TCanvas::cd(), TH1::Draw(), TH1::Fill(), TString::Format(), StripCluster::GetClusterSize(), TColor::GetColor(), BmnVSPLayer::GetFirstStripNumber(), BmnVSPLayer::GetLastStripNumber(), BmnVSPLayer::GetStripClusters(), BmnVSPLayer::GetType(), TH1::GetXaxis(), TH1::GetYaxis(), TAttFill::SetFillColor(), TPad::SetGrid(), TAttAxis::SetLabelOffset(), TAttAxis::SetLabelSize(), TAttLine::SetLineColor(), signal(), StripCluster::Signals, and StripCluster::Strips.
Referenced by VSPClusterAnalyser().
| void ShowStripNumbersOfClustersInModule_FromBranches | ( | Int_t | event_num, |
| Int_t | module_num, | ||
| Int_t | station_num ) |
Definition at line 316 of file VSPClusterAnalyser.C.
References TObjArray::At(), TCanvas::cd(), TH1::Draw(), TH1::Fill(), TString::Format(), TDirectoryFile::Get(), TTree::GetBranch(), StripCluster::GetClusterSize(), TColor::GetColor(), TObjArray::GetEntries(), TTree::GetEntry(), StripCluster::GetModule(), StripCluster::GetStation(), StripCluster::GetType(), TH1::GetXaxis(), TH1::GetYaxis(), TBranch::SetAutoDelete(), TTree::SetBranchAddress(), TAttFill::SetFillColor(), TPad::SetGrid(), TAttAxis::SetLabelOffset(), TAttAxis::SetLabelSize(), TAttLine::SetLineColor(), signal(), StripCluster::Signals, and StripCluster::Strips.
Referenced by VSPClusterAnalyser().
| void VSPClusterAnalyser | ( | ) |
Definition at line 32 of file VSPClusterAnalyser.C.
References BmnVSPStation::GetModule(), BmnVSPStationSet::GetStation(), BmnVSPModule::GetStripLayers(), LoadDataFromMCPoints(), BmnVSPTransform::LoadFromXMLFile(), BmnVSPStationSet::ProcessPointsInDetector(), ShowReadoutPlane(), ShowSignalInLayer(), ShowStripNumbersOfClustersInModule(), and ShowStripNumbersOfClustersInModule_FromBranches().