CbmRoot
|
#include <L1AlgoDraw.h>
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 |
Definition at line 29 of file L1AlgoDraw.h.
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.
void L1AlgoDraw::ClearVeiw | ( | ) |
void L1AlgoDraw::DrawAsk | ( | ) |
Definition at line 864 of file L1AlgoDraw.h.
References ask.
|
private |
Definition at line 521 of file L1AlgoDraw.h.
References GetHitCoor(), HitSize, L1AlgoDraw::Point::x, XZ, L1AlgoDraw::Point::y, YX, YZ, and L1AlgoDraw::Point::z.
Referenced by DrawDoublets(), and DrawDoubletsOnSta().
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.
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.
void L1AlgoDraw::DrawInfo | ( | ) |
Definition at line 556 of file L1AlgoDraw.h.
References algo, L1Algo::vRecoHits, L1Algo::vStsHits, and L1Algo::vTracks.
void L1AlgoDraw::DrawInputHits | ( | ) |
Definition at line 615 of file L1AlgoDraw.h.
References algo, fakesMStyle, L1Algo::GetHitCoor(), HitSize, hitsMStyle, CbmL1::Instance(), mcolor, NStations, xMath::Pi(), L1Station::Rmax, StaColor, StsHitsStartIndex, StsHitsStopIndex, CbmL1::vHitMCRef, vStations, vStsHits, x, XYZ, XZ, y, YX, YZ, and L1Station::z.
void L1AlgoDraw::DrawMCTracks | ( | ) |
Definition at line 170 of file L1AlgoDraw.h.
References fabs(), fVerbose, CbmKF::Instance(), CbmL1::Instance(), CbmL1MCTrack::IsReconstructable(), CbmL1MCTrack::mother_ID, CbmL1MCTrack::p, CbmL1MCPoint::p, CbmL1MCTrack::pdg, CbmL1MCTrack::Points, CbmKF::Propagate(), CbmL1MCTrack::px, CbmL1MCPoint::px, CbmL1MCTrack::py, CbmL1MCPoint::py, CbmL1MCTrack::pz, CbmL1MCPoint::pz, CbmL1MCTrack::q, CbmL1MCPoint::q, CbmL1MCTrack::StsHits, CbmL1::vMCPoints, CbmL1::vMCTracks, CbmL1MCTrack::x, CbmL1MCPoint::x, XZ, CbmL1MCTrack::y, CbmL1MCPoint::y, YX, YZ, CbmL1MCTrack::z, and CbmL1MCPoint::z.
void L1AlgoDraw::DrawRecoTracks | ( | ) |
Definition at line 311 of file L1AlgoDraw.h.
References algo, fVerbose, GetHitCoor(), L1Track::NHits, xMath::Pi(), L1Algo::vRecoHits, L1Algo::vTracks, L1AlgoDraw::Point::x, XYZ, XZ, L1AlgoDraw::Point::y, YX, YZ, and L1AlgoDraw::Point::z.
void L1AlgoDraw::DrawRestHits | ( | THitI * | StsRestHitsStartIndex, |
THitI * | StsRestHitsStopIndex, | ||
unsigned int * | realIHit | ||
) |
Definition at line 752 of file L1AlgoDraw.h.
References algo, fakesMStyle, L1Algo::GetHitCoor(), HitSize, hitsMStyle, CbmL1::Instance(), mcolor, NStations, L1Station::Rmax, StaColor, CbmL1::vHitMCRef, vStations, vStsHits, x, XZ, y, YX, YZ, and L1Station::z.
void L1AlgoDraw::DrawTarget | ( | ) |
Definition at line 562 of file L1AlgoDraw.h.
References HitSize, xMath::Pi(), targetMStyle, x, XYZ, XZ, y, YX, and YZ.
|
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().
Definition at line 387 of file L1AlgoDraw.h.
References DrawTriplet(), L1Triplet::GetLHit(), L1Triplet::GetMHit(), L1Triplet::GetRHit(), XZ, YX, and YZ.
|
private |
Definition at line 884 of file L1AlgoDraw.h.
References algo, L1Algo::GetHitCoor(), i, NStations, StsHitsStartIndex, StsHitsStopIndex, vStations, vStsHits, x, and y.
Referenced by DrawDoublet(), DrawRecoTracks(), and DrawTriplet().
void L1AlgoDraw::InitL1Draw | ( | L1Algo * | algo_ | ) |
Definition at line 147 of file L1AlgoDraw.h.
References algo, i, NStations, L1Algo::NStations, StsHitsStartIndex, L1Algo::StsHitsStartIndex, StsHitsStopIndex, L1Algo::StsHitsStopIndex, vStations, vStsHits, L1Algo::vStsHits, vStsStrips, L1Algo::vStsStrips, vStsStripsB, and L1Algo::vStsStripsB.
Referenced by L1Algo::CATrackFinder().
void L1AlgoDraw::SaveCanvas | ( | TString | name | ) |
|
private |
Definition at line 76 of file L1AlgoDraw.h.
Referenced by DrawInfo(), DrawInputHits(), DrawRecoTracks(), DrawRestHits(), GetHitCoor(), and InitL1Draw().
|
private |
Definition at line 95 of file L1AlgoDraw.h.
Referenced by DrawAsk(), and L1AlgoDraw().
|
private |
Definition at line 88 of file L1AlgoDraw.h.
Referenced by DrawInputHits(), DrawRestHits(), and L1AlgoDraw().
|
private |
Definition at line 93 of file L1AlgoDraw.h.
Referenced by DrawMCTracks(), DrawRecoTracks(), and L1AlgoDraw().
|
private |
Definition at line 91 of file L1AlgoDraw.h.
Referenced by DrawDoublet(), DrawInputHits(), DrawRestHits(), DrawTarget(), DrawTriplet(), and L1AlgoDraw().
|
private |
Definition at line 87 of file L1AlgoDraw.h.
Referenced by DrawInputHits(), DrawRestHits(), and L1AlgoDraw().
|
private |
Definition at line 85 of file L1AlgoDraw.h.
Referenced by DrawInputHits(), DrawRestHits(), and L1AlgoDraw().
|
private |
Definition at line 82 of file L1AlgoDraw.h.
Referenced by DrawDoublets(), DrawInputHits(), DrawRestHits(), GetHitCoor(), and InitL1Draw().
|
private |
Definition at line 86 of file L1AlgoDraw.h.
Referenced by DrawInputHits(), DrawRestHits(), and L1AlgoDraw().
|
private |
Definition at line 80 of file L1AlgoDraw.h.
Referenced by DrawInputHits(), GetHitCoor(), and InitL1Draw().
|
private |
Definition at line 80 of file L1AlgoDraw.h.
Referenced by DrawInputHits(), GetHitCoor(), and InitL1Draw().
|
private |
Definition at line 89 of file L1AlgoDraw.h.
Referenced by DrawTarget(), and L1AlgoDraw().
|
private |
Definition at line 83 of file L1AlgoDraw.h.
Referenced by DrawInputHits(), DrawRestHits(), GetHitCoor(), and InitL1Draw().
|
private |
Definition at line 79 of file L1AlgoDraw.h.
Referenced by DrawInputHits(), DrawRestHits(), GetHitCoor(), and InitL1Draw().
|
private |
Definition at line 78 of file L1AlgoDraw.h.
Referenced by InitL1Draw().
|
private |
Definition at line 78 of file L1AlgoDraw.h.
Referenced by InitL1Draw().
|
private |
Definition at line 94 of file L1AlgoDraw.h.
Referenced by ClearVeiw(), DrawInputHits(), DrawRecoTracks(), DrawTarget(), L1AlgoDraw(), and SaveCanvas().
|
private |
Definition at line 94 of file L1AlgoDraw.h.
Referenced by ClearVeiw(), DrawDoublet(), DrawDoublets(), DrawDoubletsOnSta(), DrawInputHits(), DrawMCTracks(), DrawRecoTracks(), DrawRestHits(), DrawTarget(), DrawTriplet(), DrawTriplets(), L1AlgoDraw(), and SaveCanvas().
|
private |
Definition at line 94 of file L1AlgoDraw.h.
Referenced by ClearVeiw(), DrawDoublet(), DrawDoublets(), DrawDoubletsOnSta(), DrawInputHits(), DrawMCTracks(), DrawRecoTracks(), DrawRestHits(), DrawTarget(), DrawTriplet(), DrawTriplets(), L1AlgoDraw(), and SaveCanvas().
|
private |
Definition at line 94 of file L1AlgoDraw.h.
Referenced by ClearVeiw(), DrawDoublet(), DrawDoublets(), DrawDoubletsOnSta(), DrawInputHits(), DrawMCTracks(), DrawRecoTracks(), DrawRestHits(), DrawTarget(), DrawTriplet(), DrawTriplets(), L1AlgoDraw(), and SaveCanvas().