BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
L1AlgoDraw Class Reference

#include <L1AlgoDraw.h>

Collaboration diagram for L1AlgoDraw:

Classes

struct  Point

Public Member Functions

 L1AlgoDraw ()
void InitL1Draw (L1Algo *algo_)
void DrawMCTracks ()
void DrawRecoTracks ()
void DrawTriplets (vector< L1Triplet > &triplets, const THitI *realIHit)
void DrawDoublets (vector< THitI > *Duplets_hits, map< THitI, THitI > *Duplets_start, const int MaxArrSize, THitI *StsHitsStartIndex, unsigned int *realIHit)
void DrawDoubletsOnSta (int iSta, THitI *Duplets_hits, THitI *Duplets_start, const int MaxArrSize, THitI *StsRestHitsStartIndex, unsigned int *realIHit)
void DrawTarget ()
void DrawInputHits ()
void DrawRestHits (THitI *StsRestHitsStartIndex, THitI *StsRestHitsStopIndex, unsigned int *realIHit)
void DrawInfo ()
void ClearVeiw ()
void SaveCanvas (TString name)
void DrawAsk ()

Private Member Functions

Point GetHitCoor (int ih)
void DrawTriplet (int il, int im, int ir)
void DrawDoublet (int il, int ir)

Private Attributes

L1Algo * algo
vector< fscal > vStsStrips
vector< fscal > vStsStripsB
vector< L1StsHit > vStsHits
int StsHitsStartIndex [20]
int StsHitsStopIndex [20]
int NStations
L1Station vStations [20]
int mcolor [10]
int StaColor
int hitsMStyle
int fakesMStyle
int targetMStyle
double HitSize
int fVerbose
TCanvas * YZ
TCanvas * YX
TCanvas * XZ
TCanvas * XYZ
bool ask

Detailed Description

Definition at line 28 of file L1AlgoDraw.h.

Constructor & Destructor Documentation

◆ L1AlgoDraw()

L1AlgoDraw::L1AlgoDraw ( )

Definition at line 99 of file L1AlgoDraw.h.

References ask, fakesMStyle, fVerbose, HitSize, hitsMStyle, i, CbmL1::Instance(), mcolor, StaColor, targetMStyle, XYZ, XZ, YX, and YZ.

Here is the call graph for this function:

Member Function Documentation

◆ ClearVeiw()

void L1AlgoDraw::ClearVeiw ( )

Definition at line 884 of file L1AlgoDraw.h.

References XYZ, XZ, YX, and YZ.

Referenced by L1Algo::CATrackFinder().

Here is the caller graph for this function:

◆ DrawAsk()

void L1AlgoDraw::DrawAsk ( )

Definition at line 868 of file L1AlgoDraw.h.

References ask.

Referenced by L1Algo::CATrackFinder().

Here is the caller graph for this function:

◆ DrawDoublet()

void L1AlgoDraw::DrawDoublet ( int il,
int ir )
private

Definition at line 538 of file L1AlgoDraw.h.

References TMarker::DrawMarker(), TPolyLine::DrawPolyLine(), GetHitCoor(), HitSize, TAttLine::SetLineColor(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), L1AlgoDraw::Point::x, XZ, L1AlgoDraw::Point::y, YX, YZ, and L1AlgoDraw::Point::z.

Referenced by DrawDoublets(), and DrawDoubletsOnSta().

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

◆ DrawDoublets()

void L1AlgoDraw::DrawDoublets ( vector< THitI > * Duplets_hits,
map< THitI, THitI > * Duplets_start,
const int MaxArrSize,
THitI * StsHitsStartIndex,
unsigned int * realIHit )

Definition at line 467 of file L1AlgoDraw.h.

References DrawDoublet(), NStations, XZ, YX, and YZ.

Here is the call graph for this function:

◆ DrawDoubletsOnSta()

void L1AlgoDraw::DrawDoubletsOnSta ( int iSta,
THitI * Duplets_hits,
THitI * Duplets_start,
const int MaxArrSize,
THitI * StsRestHitsStartIndex,
unsigned int * realIHit )

Definition at line 503 of file L1AlgoDraw.h.

References DrawDoublet(), XZ, YX, and YZ.

Here is the call graph for this function:

◆ DrawInfo()

void L1AlgoDraw::DrawInfo ( )

Definition at line 573 of file L1AlgoDraw.h.

References algo.

◆ DrawInputHits()

void L1AlgoDraw::DrawInputHits ( )

Definition at line 634 of file L1AlgoDraw.h.

References algo, TEllipse::Draw(), TPolyMarker::Draw(), TLatex::DrawLatex(), TLine::DrawLine(), fakesMStyle, HitSize, hitsMStyle, CbmL1::Instance(), mcolor, nhits, NStations, TMath::Pi(), L1Station::Rmax, TVector3::RotateX(), TVector3::RotateY(), TVector3::RotateZ(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TAttText::SetTextAlign(), TAttText::SetTextFont(), TAttText::SetTextSize(), StaColor, StsHitsStartIndex, StsHitsStopIndex, CbmL1::vHitMCRef, vStations, vStsHits, TVector3::x(), x, XYZ, XZ, y, YX, YZ, L1Station::z, TVector3::z(), and z.

Referenced by L1Algo::CATrackFinder().

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

◆ DrawMCTracks()

void L1AlgoDraw::DrawMCTracks ( )

Definition at line 173 of file L1AlgoDraw.h.

References TPolyLine::DrawPolyLine(), fabs(), fVerbose, CbmKF::Instance(), CbmL1::Instance(), L1, CbmL1MCPoint::p, CbmKF::Propagate(), CbmL1MCPoint::px, CbmL1MCPoint::py, CbmL1MCPoint::pz, CbmL1MCPoint::q, TAttLine::SetLineColor(), CbmL1MCPoint::x, XZ, CbmL1MCPoint::y, YX, YZ, and CbmL1MCPoint::z.

Referenced by L1Algo::CATrackFinder().

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

◆ DrawRecoTracks()

void L1AlgoDraw::DrawRecoTracks ( )

Definition at line 322 of file L1AlgoDraw.h.

References algo, TPolyLine::DrawPolyLine(), fVerbose, GetHitCoor(), L1Track::NHits, TMath::Pi(), TVector3::RotateX(), TVector3::RotateY(), TVector3::RotateZ(), TAttLine::SetLineColor(), L1AlgoDraw::Point::x, TVector3::x(), XYZ, XZ, L1AlgoDraw::Point::y, TVector3::y(), YX, YZ, L1AlgoDraw::Point::z, and TVector3::z().

Referenced by L1Algo::CATrackFinder().

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

◆ DrawRestHits()

void L1AlgoDraw::DrawRestHits ( THitI * StsRestHitsStartIndex,
THitI * StsRestHitsStopIndex,
unsigned int * realIHit )

◆ DrawTarget()

void L1AlgoDraw::DrawTarget ( )

Definition at line 580 of file L1AlgoDraw.h.

References TMarker::Draw(), HitSize, TMath::Pi(), TVector3::RotateX(), TVector3::RotateY(), TVector3::RotateZ(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), targetMStyle, TVector3::x(), x, XYZ, XZ, y, YX, YZ, TVector3::z(), and z.

Referenced by L1Algo::CATrackFinder().

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

◆ DrawTriplet()

void L1AlgoDraw::DrawTriplet ( int il,
int im,
int ir )
private

Definition at line 427 of file L1AlgoDraw.h.

References TMarker::DrawMarker(), TPolyLine::DrawPolyLine(), GetHitCoor(), HitSize, TAttLine::SetLineColor(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), L1AlgoDraw::Point::x, XZ, L1AlgoDraw::Point::y, YX, YZ, and L1AlgoDraw::Point::z.

Referenced by DrawTriplets().

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

◆ DrawTriplets()

void L1AlgoDraw::DrawTriplets ( vector< L1Triplet > & triplets,
const THitI * realIHit )

Definition at line 403 of file L1AlgoDraw.h.

References DrawTriplet(), L1Triplet::GetLHit(), L1Triplet::GetMHit(), L1Triplet::GetRHit(), XZ, YX, and YZ.

Here is the call graph for this function:

◆ GetHitCoor()

L1AlgoDraw::Point L1AlgoDraw::GetHitCoor ( int ih)
private

Definition at line 892 of file L1AlgoDraw.h.

References algo, i, NStations, StsHitsStartIndex, StsHitsStopIndex, vStations, vStsHits, x, y, and z.

Referenced by DrawDoublet(), DrawRecoTracks(), and DrawTriplet().

Here is the caller graph for this function:

◆ InitL1Draw()

void L1AlgoDraw::InitL1Draw ( L1Algo * algo_)

Definition at line 149 of file L1AlgoDraw.h.

References algo, i, NStations, StsHitsStartIndex, StsHitsStopIndex, vStations, vStsHits, vStsStrips, and vStsStripsB.

Referenced by L1Algo::CATrackFinder().

Here is the caller graph for this function:

◆ SaveCanvas()

void L1AlgoDraw::SaveCanvas ( TString name)

Definition at line 909 of file L1AlgoDraw.h.

References XYZ, XZ, YX, and YZ.

Referenced by L1Algo::CATrackFinder().

Here is the caller graph for this function:

Member Data Documentation

◆ algo

L1Algo* L1AlgoDraw::algo
private

◆ ask

bool L1AlgoDraw::ask
private

Definition at line 96 of file L1AlgoDraw.h.

Referenced by L1AlgoDraw(), and DrawAsk().

◆ fakesMStyle

int L1AlgoDraw::fakesMStyle
private

Definition at line 89 of file L1AlgoDraw.h.

Referenced by L1AlgoDraw(), DrawInputHits(), and DrawRestHits().

◆ fVerbose

int L1AlgoDraw::fVerbose
private

Definition at line 94 of file L1AlgoDraw.h.

Referenced by L1AlgoDraw(), DrawMCTracks(), and DrawRecoTracks().

◆ HitSize

double L1AlgoDraw::HitSize
private

◆ hitsMStyle

int L1AlgoDraw::hitsMStyle
private

Definition at line 88 of file L1AlgoDraw.h.

Referenced by L1AlgoDraw(), DrawInputHits(), and DrawRestHits().

◆ mcolor

int L1AlgoDraw::mcolor[10]
private

Definition at line 86 of file L1AlgoDraw.h.

Referenced by L1AlgoDraw(), DrawInputHits(), and DrawRestHits().

◆ NStations

int L1AlgoDraw::NStations
private

Definition at line 83 of file L1AlgoDraw.h.

Referenced by DrawDoublets(), DrawInputHits(), DrawRestHits(), GetHitCoor(), and InitL1Draw().

◆ StaColor

int L1AlgoDraw::StaColor
private

Definition at line 87 of file L1AlgoDraw.h.

Referenced by L1AlgoDraw(), DrawInputHits(), and DrawRestHits().

◆ StsHitsStartIndex

int L1AlgoDraw::StsHitsStartIndex[20]
private

Definition at line 81 of file L1AlgoDraw.h.

Referenced by DrawInputHits(), GetHitCoor(), and InitL1Draw().

◆ StsHitsStopIndex

int L1AlgoDraw::StsHitsStopIndex[20]
private

Definition at line 81 of file L1AlgoDraw.h.

Referenced by DrawInputHits(), GetHitCoor(), and InitL1Draw().

◆ targetMStyle

int L1AlgoDraw::targetMStyle
private

Definition at line 90 of file L1AlgoDraw.h.

Referenced by L1AlgoDraw(), and DrawTarget().

◆ vStations

L1Station L1AlgoDraw::vStations[20]
private

Definition at line 84 of file L1AlgoDraw.h.

Referenced by DrawInputHits(), DrawRestHits(), GetHitCoor(), and InitL1Draw().

◆ vStsHits

vector<L1StsHit> L1AlgoDraw::vStsHits
private

Definition at line 80 of file L1AlgoDraw.h.

Referenced by DrawInputHits(), DrawRestHits(), GetHitCoor(), and InitL1Draw().

◆ vStsStrips

vector<fscal> L1AlgoDraw::vStsStrips
private

Definition at line 79 of file L1AlgoDraw.h.

Referenced by InitL1Draw().

◆ vStsStripsB

vector<fscal> L1AlgoDraw::vStsStripsB
private

Definition at line 79 of file L1AlgoDraw.h.

Referenced by InitL1Draw().

◆ XYZ

TCanvas * L1AlgoDraw::XYZ
private

◆ XZ

◆ YX

◆ YZ


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