HowTo use CutManager / work with cuts / etc. |
|
CutManager - the manager which allows you to set/unset cuts on different variables in the EventDisplay.
To take a look at what cuts are in the current version of the EventDisplay type from the ROOT prompt the following:
TEdCut: 0xc48cab0 TEdTrack::Eta Min = -7 Max = 7 TEdCut: 0xc48cb70 TEdTrack::P Min = 0.001 Max = unset TEdCut: 0xc48cc30 TEdTrack::Pt Min = 0.001 Max = unset TEdCut: 0xc48ccf0 TEdTower::Eta Min = -7 Max = 7 TEdCut: 0xc48cdb0 TEdTower::E Min = 0.001 Max = unset TEdCut: 0xc48ce70 TEdTower::Et Min = 0.001 Max = unset TEdCut: 0xc48cef0 TEdTrack::Chi2 Min = unset Max = unset TEdCut: 0xc48cfb0 TEdTrack::Phi0 Min = unset Max = unset TEdCut: 0xc48d070 TEdTrack::D0 Min = unset Max = unset TEdCut: 0xc48d130 TEdTrack::Z0 Min = unset Max = unset TEdCut: 0xc48d1f0 TEdCdfTrack::Chi2Si Min = unset Max = unset TEdCut: 0xc48d2b0 TEdCdfTrack::NumSiHits Min = unset Max = unset TEdCut: 0xc48d370 TEdCdfTrack::NumSiHitsPhi Min = unset Max = unset TEdCut: 0xc48d430 TEdCdfTrack::NumSiHitsSt Min = unset Max = unset TEdCut: 0xc48d4f0 TEdCdfTrack::NumSiHitsZ Min = unset Max = unset TEdCut: 0xc48d5b0 TEdMuonHit::DriftD Min = 0 Max = 10 TEdCut: 0xc48d630 TEdCotHit::T0 Value = 0 TEdCut: 0xc48d6b0 TEdCotHit::LE Min = 0 Max = 2047 TEdCut: 0xc48d730 TEdCotHit::HitCor Value = 0 TEdCut: 0xc48d7f0 TEdSiHit::Q Min = unset Max = unset As an example let us set "TEdSiHit::Q" cut. Open CotDisplay to make sure it works.
TEdCut* sihitQ = TEdCutManager::Instance()->Cut("TEdSiHit::Q");
sihitQ->SetRange(10,100);
TEdManager::Instance()->UpdatePads();
So we'll see Silicon hits only with Q from 10 to 100. Try to type this command: TEdManager::Instance()->ManagerWindow()->OpenSlider("TEdSiHit::Q"); Set TEdSiHit::Q and press "ok".
Try to type this command:
Another way is to use _only_ GUI, what means you don't need to type anything from the command prompt.
1. Press "Track" button from the "Select Buttons" group,
Feedback is really welcome. Here is some information for contributors and all those who want to know more. |