CbmRoot
L1AlgoDraw Class Reference

#include <L1AlgoDraw.h>

Collaboration diagram for L1AlgoDraw:
[legend]

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

L1Algoalgo
 
vector< fscalvStsStrips
 
vector< fscalvStsStripsB
 
vector< L1StsHitvStsHits
 
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 29 of file L1AlgoDraw.h.

Constructor & Destructor Documentation

◆ L1AlgoDraw()

L1AlgoDraw::L1AlgoDraw ( )

Definition at line 98 of file L1AlgoDraw.h.

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

Member Function Documentation

◆ ClearVeiw()

void L1AlgoDraw::ClearVeiw ( )

Definition at line 877 of file L1AlgoDraw.h.

References XYZ, XZ, YX, and YZ.

◆ DrawAsk()

void L1AlgoDraw::DrawAsk ( )

Definition at line 864 of file L1AlgoDraw.h.

References ask.

◆ DrawDoublet()

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

◆ DrawDoublets()

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

Definition at line 450 of file L1AlgoDraw.h.

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

◆ DrawDoubletsOnSta()

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

Definition at line 486 of file L1AlgoDraw.h.

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

◆ DrawInfo()

void L1AlgoDraw::DrawInfo ( )

Definition at line 556 of file L1AlgoDraw.h.

References algo, L1Algo::vRecoHits, L1Algo::vStsHits, and L1Algo::vTracks.

◆ DrawInputHits()

◆ DrawMCTracks()

◆ DrawRecoTracks()

void L1AlgoDraw::DrawRecoTracks ( )

◆ DrawRestHits()

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

◆ DrawTarget()

void L1AlgoDraw::DrawTarget ( )

Definition at line 562 of file L1AlgoDraw.h.

References HitSize, xMath::Pi(), targetMStyle, x, XYZ, XZ, y, YX, and YZ.

◆ DrawTriplet()

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

Definition at line 411 of file L1AlgoDraw.h.

References GetHitCoor(), HitSize, L1AlgoDraw::Point::x, XZ, L1AlgoDraw::Point::y, YX, YZ, and L1AlgoDraw::Point::z.

Referenced by DrawTriplets().

◆ DrawTriplets()

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

◆ GetHitCoor()

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

◆ InitL1Draw()

◆ SaveCanvas()

void L1AlgoDraw::SaveCanvas ( TString  name)

Definition at line 900 of file L1AlgoDraw.h.

References XYZ, XZ, YX, and YZ.

Member Data Documentation

◆ algo

L1Algo* L1AlgoDraw::algo
private

◆ ask

bool L1AlgoDraw::ask
private

Definition at line 95 of file L1AlgoDraw.h.

Referenced by DrawAsk(), and L1AlgoDraw().

◆ fakesMStyle

int L1AlgoDraw::fakesMStyle
private

Definition at line 88 of file L1AlgoDraw.h.

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

◆ fVerbose

int L1AlgoDraw::fVerbose
private

Definition at line 93 of file L1AlgoDraw.h.

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

◆ HitSize

double L1AlgoDraw::HitSize
private

◆ hitsMStyle

int L1AlgoDraw::hitsMStyle
private

Definition at line 87 of file L1AlgoDraw.h.

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

◆ mcolor

int L1AlgoDraw::mcolor[10]
private

Definition at line 85 of file L1AlgoDraw.h.

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

◆ NStations

int L1AlgoDraw::NStations
private

Definition at line 82 of file L1AlgoDraw.h.

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

◆ StaColor

int L1AlgoDraw::StaColor
private

Definition at line 86 of file L1AlgoDraw.h.

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

◆ StsHitsStartIndex

int L1AlgoDraw::StsHitsStartIndex[20]
private

Definition at line 80 of file L1AlgoDraw.h.

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

◆ StsHitsStopIndex

int L1AlgoDraw::StsHitsStopIndex[20]
private

Definition at line 80 of file L1AlgoDraw.h.

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

◆ targetMStyle

int L1AlgoDraw::targetMStyle
private

Definition at line 89 of file L1AlgoDraw.h.

Referenced by DrawTarget(), and L1AlgoDraw().

◆ vStations

L1Station L1AlgoDraw::vStations[20]
private

Definition at line 83 of file L1AlgoDraw.h.

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

◆ vStsHits

vector<L1StsHit> L1AlgoDraw::vStsHits
private

Definition at line 79 of file L1AlgoDraw.h.

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

◆ vStsStrips

vector<fscal> L1AlgoDraw::vStsStrips
private

Definition at line 78 of file L1AlgoDraw.h.

Referenced by InitL1Draw().

◆ vStsStripsB

vector<fscal> L1AlgoDraw::vStsStripsB
private

Definition at line 78 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: