Anp::EventHitTab Class Reference

#include <EventHitTab.h>

Inheritance diagram for Anp::EventHitTab:
Anp::EventTab Anp::Base

List of all members.

Public Member Functions

 EventHitTab ()
virtual ~EventHitTab ()
void Init (TCanvas *canvas)
void Expose ()
void Set (const Event &event, const Record &record)
void ZoomIn ()
void ZoomOut ()
void Config (const Registry &reg)

Private Member Functions

void SetTrack (const Track &track, const Record &record, short index)
void SetShowers (const Event &event, const Record &record)
void SetOthers (const Event &event, const Record &record)
void SetFidVolUV ()
void DrawFidU ()
void DrawFidV ()
bool Init (const Record &record)
void Reset ()

Private Attributes

Registry fConfig
std::vector< TObject * > fObjVec
bool fInit
bool fDraw
bool fMarkerDraw
bool fFiduciDraw
DrawSpan fSpan
TCanvas * fCanvas
TPad * fPadU
TPad * fPadV
TH2 * f2hU
TH2 * f2hV
TGraph * fgShwU
TGraph * fgShwV
TGraph * fgTrk1U
TGraph * fgTrk1V
TGraph * fgTrk2U
TGraph * fgTrk2V
TMarker * UZrecoVtx
TMarker * VZrecoVtx
TLine * UFidupS1
TLine * UFiddownS1
TLine * UFidupS2
TLine * UFiddownS2
TLine * VFidupS1
TLine * VFiddownS1
TLine * VFidupS2
TLine * VFiddownS2
double zs1min
double zs1max
double zs2min
double zs2max
TPaveText * MPrelim
TBox * ubox
TBox * vbox
TBox * uboxEnd
TBox * vboxEnd

Detailed Description

Definition at line 27 of file EventHitTab.h.


Constructor & Destructor Documentation

Anp::EventHitTab::EventHitTab (  ) 

Definition at line 28 of file EventHitTab.cxx.

00029    :fInit(false),
00030     fDraw(true),
00031     fMarkerDraw(true),
00032     fFiduciDraw(false),
00033     fCanvas(0),
00034     fPadU(0),
00035     fPadV(0),
00036     f2hU(0),
00037     f2hV(0),
00038     fgShwU(0),
00039     fgShwV(0),
00040     fgTrk1U(0),
00041     fgTrk1V(0),
00042     fgTrk2U(0),
00043     fgTrk2V(0)
00044 {
00045      
00046 }

Anp::EventHitTab::~EventHitTab (  )  [virtual]

Definition at line 49 of file EventHitTab.cxx.

References fObjVec, and it.

00050 {
00051    for(std::vector<TObject *>::iterator it = fObjVec.begin(); it != fObjVec.begin(); ++it)
00052    {
00053       TObject *obj = *it;
00054       delete obj;
00055    }
00056 }


Member Function Documentation

void Anp::EventHitTab::Config ( const Registry reg  )  [virtual]

Implements Anp::EventTab.

Definition at line 296 of file EventHitTab.cxx.

References fConfig, Registry::LockValues(), Registry::Merge(), and Registry::UnLockValues().

Referenced by Init().

00297 {
00298    fConfig.UnLockValues();
00299    fConfig.Merge(reg); 
00300    fConfig.LockValues();
00301 }

void Anp::EventHitTab::DrawFidU (  )  [private]

Definition at line 492 of file EventHitTab.cxx.

References fPadU, ubox, uboxEnd, UFiddownS1, UFiddownS2, UFidupS1, and UFidupS2.

Referenced by Expose().

00493 {
00494   fPadU->cd();
00495   UFidupS1->Draw();
00496   UFiddownS1->Draw();
00497   UFidupS2->Draw();
00498   UFiddownS2->Draw();
00499   ubox->Draw();
00500   uboxEnd->Draw();
00501 }

void Anp::EventHitTab::DrawFidV (  )  [private]

Definition at line 502 of file EventHitTab.cxx.

References fPadV, vbox, vboxEnd, VFiddownS1, VFiddownS2, VFidupS1, and VFidupS2.

Referenced by Expose().

00503 {
00504   fPadV->cd();
00505   VFidupS1->Draw();
00506   VFiddownS1->Draw();
00507   VFidupS2->Draw();
00508   VFiddownS2->Draw();
00509   vbox->Draw();
00510   vboxEnd->Draw();
00511 
00512 }

void Anp::EventHitTab::Expose (  )  [virtual]

Implements Anp::EventTab.

Definition at line 252 of file EventHitTab.cxx.

References cd(), Draw(), DrawFidU(), DrawFidV(), f2hU, f2hV, fCanvas, fDraw, fFiduciDraw, fgShwU, fgShwV, fgTrk1U, fgTrk1V, fgTrk2U, fgTrk2V, fInit, fMarkerDraw, fPadU, fPadV, MPrelim, SetFidVolUV(), UZrecoVtx, and VZrecoVtx.

00253 {
00254   if(fFiduciDraw) SetFidVolUV();
00255 
00256    if(!fInit)
00257    {
00258       return;
00259    }
00260 
00261    if(!fPadU || !fPadV)
00262    {
00263       return;
00264    }
00265 
00266    if(fDraw)
00267    {
00268       fPadU -> cd();   
00269       f2hU -> Draw("");
00270       DrawFidU();
00271       if(fMarkerDraw) UZrecoVtx->Draw("p");
00272       MPrelim->Draw();
00273       if(fgShwU -> GetN() > 0) fgShwU -> Draw("p");
00274       if(fgTrk1U -> GetN() > 0) fgTrk1U -> Draw("p");
00275       if(fgTrk2U -> GetN() > 0) fgTrk2U -> Draw("p");
00276 
00277       
00278       fPadV -> cd();
00279       f2hV -> Draw("");
00280       DrawFidV();
00281       if(fMarkerDraw) VZrecoVtx->Draw("p");
00282       MPrelim->Draw();
00283       if(fgShwV -> GetN() > 0) fgShwV -> Draw("p");
00284       if(fgTrk1V -> GetN() > 0) fgTrk1V -> Draw("p");
00285       if(fgTrk2V -> GetN() > 0) fgTrk2V -> Draw("p");
00286       
00287       fDraw = false;
00288    }
00289    
00290    fCanvas -> cd();
00291    fCanvas -> Modified();
00292    fCanvas -> Update();
00293 }

bool Anp::EventHitTab::Init ( const Record record  )  [private]

Definition at line 304 of file EventHitTab.cxx.

References Anp::Draw::CreateTGraph(), Anp::Draw::CreateTH2(), f2hU, f2hV, fConfig, fgShwU, fgShwV, fgTrk1U, fgTrk1V, fgTrk2U, fgTrk2V, fInit, fObjVec, and Anp::Record::GetHeader().

00305 {
00306    if(fInit)
00307    {
00308       cerr << "EventHitTab is already initialized" << endl;
00309       return false;
00310    }
00311 
00312    fInit = true;  
00313 
00314    f2hU = Draw::CreateTH2("Uview", fConfig, record.GetHeader());
00315    f2hV = Draw::CreateTH2("Vview", fConfig, record.GetHeader());
00316 
00317    fgShwU = Draw::CreateTGraph("Shower", fConfig);
00318    fgShwV = Draw::CreateTGraph("Shower", fConfig);
00319 
00320    fgTrk1U = Draw::CreateTGraph("Track1", fConfig);
00321    fgTrk1V = Draw::CreateTGraph("Track1", fConfig);
00322    
00323    fgTrk2U = Draw::CreateTGraph("Track2", fConfig);
00324    fgTrk2V = Draw::CreateTGraph("Track2", fConfig);      
00325 
00326    fObjVec.push_back(f2hU);
00327    fObjVec.push_back(f2hV);
00328    fObjVec.push_back(fgTrk1U);
00329    fObjVec.push_back(fgTrk1V);
00330    fObjVec.push_back(fgTrk2U);
00331    fObjVec.push_back(fgTrk2V);
00332 
00333    return true;
00334 }

void Anp::EventHitTab::Init ( TCanvas *  canvas  )  [virtual]

Implements Anp::EventTab.

Definition at line 218 of file EventHitTab.cxx.

References cd(), Config(), Divide(), fCanvas, fConfig, fPadU, and fPadV.

Referenced by Set().

00219 {
00220    if(!canvas)
00221    {
00222       cerr << "EventHitTab::Expose(): null TCanvas pointer" << endl;
00223       return;
00224    }
00225    if(fPadU || fPadV || fCanvas)
00226    {
00227       cerr << "EventHitTab::Expose(): pads have been already initialized" << endl;
00228       return;
00229    }
00230 
00231    fCanvas = canvas;
00232 
00233    fCanvas -> Divide(0, 2);
00234 
00235    fPadU = dynamic_cast<TPad *> (canvas -> cd(1));
00236    fPadV = dynamic_cast<TPad *> (canvas -> cd(2));
00237    
00238    if(!fPadU || !fPadV)
00239    {
00240       cerr << "EventHitTab::Expose(): failed to create new pads" << endl;
00241       fCanvas = 0;
00242       fPadU = 0;
00243       fPadV = 0;
00244       return;
00245    }
00246 
00247    Draw::Config(fPadU, "", fConfig);
00248    Draw::Config(fPadV, "", fConfig);
00249 }

void Anp::EventHitTab::Reset (  )  [private]

Definition at line 337 of file EventHitTab.cxx.

References fDraw, fgShwU, fgShwV, fgTrk1U, fgTrk1V, fgTrk2U, fgTrk2V, fSpan, Anp::DrawSpan::Reset(), and Set().

Referenced by Set().

00338 {
00339    fDraw = true;
00340 
00341    fSpan.Reset();
00342 
00343    if(fgShwU)
00344    {
00345       fgShwU -> Set(0);
00346    }
00347    if(fgShwV)
00348    {
00349       fgShwV -> Set(0);
00350    }
00351    if(fgTrk1U)
00352    {
00353       fgTrk1U -> Set(0);
00354    }
00355    if(fgTrk1V)
00356    {
00357       fgTrk1V -> Set(0);
00358    }
00359    if(fgTrk2U)
00360    {
00361       fgTrk2U -> Set(0);
00362    }
00363    if(fgTrk2V)
00364    {
00365       fgTrk2V -> Set(0);
00366    }
00367 }

void Anp::EventHitTab::Set ( const Event event,
const Record record 
) [virtual]

Implements Anp::EventTab.

Definition at line 59 of file EventHitTab.cxx.

References Anp::DrawSpan::FindSpan(), fInit, fSpan, Anp::Record::GetHeader(), Anp::GetTrack(), Anp::Event::GetVtx(), Init(), Anp::Header::IsFar(), it, MPrelim, Reset(), SetShowers(), SetTrack(), ubox, uboxEnd, UFiddownS1, UFiddownS2, UFidupS1, UFidupS2, UZrecoVtx, vbox, vboxEnd, VFiddownS1, VFiddownS2, VFidupS1, VFidupS2, VZrecoVtx, Anp::Vertex::Z(), zs1max, zs1min, zs2max, and zs2min.

Referenced by Reset(), SetShowers(), and SetTrack().

00060 {  
00061    if(!fInit)
00062    {
00063       Init(record);
00064    }
00065    else
00066    {
00067       Reset();
00068    }
00069 
00070    fSpan.FindSpan(event, record);
00071 
00072    SetShowers(event, record);
00073 
00074    const TrackVec tvec = GetTrack(event, record);
00075    for(TrackVec::const_iterator it = tvec.begin(); it != tvec.end(); ++it)
00076    {
00077       SetTrack(*(*it), record, std::distance(tvec.begin(), it));
00078    }
00079    UZrecoVtx= new TMarker(event.GetVtx().Z(),event.GetVtx().U(),29 );
00080    VZrecoVtx= new TMarker(event.GetVtx().Z(),event.GetVtx().V(),29 );
00081    UZrecoVtx->SetMarkerSize(2.5);
00082    VZrecoVtx->SetMarkerSize(2.5);
00083    UZrecoVtx->SetMarkerColor(4);
00084    VZrecoVtx->SetMarkerColor(4);
00085 
00086    if(record.GetHeader().IsFar()){
00087      zs1min=0.23070;
00088      zs1max=14.27050;
00089      zs2min=16.12975;
00090      zs2max=28.73315;
00091    }
00092    else{
00093      zs1min = zs2min=0.81009;
00094      zs1max = zs2max=4.07701;
00095    }
00096    
00097    UFidupS1= new TLine(zs1min,0,zs1min,0);
00098    UFidupS1->SetLineStyle(2);
00099    UFiddownS1= new TLine(zs1max,0,zs1max,0);
00100    UFiddownS1->SetLineStyle(2);
00101    UFidupS2= new TLine(zs2min,0,zs2min,0);
00102    UFidupS2->SetLineStyle(2);
00103    UFiddownS2= new TLine(zs2max,0,zs2max,0);
00104    UFiddownS2->SetLineStyle(2);
00105    VFidupS1= new TLine(zs1min,0,zs1min,0);
00106    VFidupS1->SetLineStyle(2);
00107    VFiddownS1= new TLine(zs1max,0,zs1max,0);
00108    VFiddownS1->SetLineStyle(2);
00109    VFidupS2= new TLine(zs2min,0,zs2min,0);
00110    VFidupS2->SetLineStyle(2);
00111    VFiddownS2= new TLine(zs2max,0,zs2max,0);
00112    VFiddownS2->SetLineStyle(2);
00113    ubox= new TBox(zs1max,0,zs2min,0);
00114    vbox= new TBox(zs1max,0,zs2min,0);
00115    uboxEnd= new TBox(zs2max,0,zs2max,0);
00116    vboxEnd= new TBox(zs2max,0,zs2max,0);
00117 
00118    MPrelim = new TPaveText(.65,0.93,0.85,0.999,"NDC");
00119    MPrelim->AddText("MINOS Preliminary");
00120    MPrelim->SetBorderSize(0);
00121 }

void Anp::EventHitTab::SetFidVolUV (  )  [private]

Definition at line 425 of file EventHitTab.cxx.

References f2hU, f2hV, max, min, ubox, uboxEnd, UFiddownS1, UFiddownS2, UFidupS1, UFidupS2, vbox, vboxEnd, VFiddownS1, VFiddownS2, VFidupS1, and VFidupS2.

Referenced by Expose(), and ZoomIn().

00426 {
00427   TAxis* UviewY= f2hU->GetYaxis();
00428   TAxis* VviewY= f2hV->GetYaxis();
00429   int umin=UviewY->GetFirst();
00430   int vmin=VviewY->GetFirst();
00431   int umax=UviewY->GetLast();
00432   int vmax=VviewY->GetLast();
00433   TAxis* UviewX= f2hU->GetXaxis();
00434   int zmin = UviewX->GetFirst();
00435   int zmax = UviewX->GetLast();
00436   double min=  UviewX->GetBinCenter(zmin);
00437   double max=  UviewX->GetBinCenter(zmax);
00438 
00439   UFidupS1->SetY1(UviewY->GetBinCenter(umin));
00440   UFidupS1->SetY2(UviewY->GetBinCenter(umax));
00441   UFiddownS1->SetY1(UviewY->GetBinCenter(umin));
00442   UFiddownS1->SetY2(UviewY->GetBinCenter(umax));
00443   UFidupS2->SetY1(UviewY->GetBinCenter(umin));
00444   UFidupS2->SetY2(UviewY->GetBinCenter(umax));
00445   UFiddownS2->SetY1(UviewY->GetBinCenter(umin));
00446   UFiddownS2->SetY2(UviewY->GetBinCenter(umax));
00447 
00448   VFidupS1->SetY1(VviewY->GetBinCenter(vmin));
00449   VFidupS1->SetY2(VviewY->GetBinCenter(vmax));
00450   VFiddownS1->SetY1(VviewY->GetBinCenter(vmin));
00451   VFiddownS1->SetY2(VviewY->GetBinCenter(vmax));
00452   VFidupS2->SetY1(VviewY->GetBinCenter(vmin));
00453   VFidupS2->SetY2(VviewY->GetBinCenter(vmax));
00454   VFiddownS2->SetY1(VviewY->GetBinCenter(vmin));
00455   VFiddownS2->SetY2(VviewY->GetBinCenter(vmax));
00456   
00457   ubox->SetX1(TMath::Max(TMath::Min(UFiddownS1->GetX1(),max),min)-0.001);
00458   ubox->SetX2(TMath::Max(TMath::Min(UFidupS2->GetX1(),max),min)-0.001);
00459   ubox->SetY1(UFiddownS1->GetY1());
00460   ubox->SetY2(UFiddownS1->GetY2());
00461   ubox->SetFillStyle(3005);
00462 
00463   vbox->SetX1(TMath::Max(TMath::Min(VFiddownS1->GetX1(),max),min)-0.001);
00464   vbox->SetX2(TMath::Max(TMath::Min(VFidupS2->GetX1(),max),min)-0.001);
00465   vbox->SetY1(VFiddownS1->GetY1());
00466   vbox->SetY2(VFiddownS1->GetY2());
00467   vbox->SetFillStyle(3005);
00468 
00469   uboxEnd->SetX1(TMath::Min(UFiddownS2->GetX1(),max)-0.001);
00470   uboxEnd->SetX2(max-0.001);
00471   uboxEnd->SetY1(UFiddownS2->GetY1());
00472   uboxEnd->SetY2(UFiddownS2->GetY2());
00473   uboxEnd->SetFillStyle(3005);
00474   
00475   vboxEnd->SetX1(TMath::Min(VFiddownS2->GetX1(),max)-0.001);
00476   vboxEnd->SetX2(max-0.001);
00477   vboxEnd->SetY1(VFiddownS2->GetY1());
00478   vboxEnd->SetY2(VFiddownS2->GetY2());
00479   vboxEnd->SetFillStyle(3005);
00480   if(!(min<UFidupS1->GetX1() && max>UFidupS1->GetX1()))UFidupS1->SetY1(UFidupS1->GetY2());
00481   if(!(min<UFiddownS1->GetX1() && max>UFiddownS1->GetX1()))UFiddownS1->SetY1(UFiddownS1->GetY2());
00482   if(!(min<UFidupS2->GetX1() && max>UFidupS2->GetX1()))UFidupS2->SetY1(UFidupS2->GetY2());
00483   if(!(min<UFiddownS2->GetX1() && max>UFiddownS2->GetX1()))UFiddownS2->SetY1(UFiddownS2->GetY2());
00484 
00485   if(!(min<VFidupS1->GetX1() && max>VFidupS1->GetX1()))VFidupS1->SetY1(VFidupS1->GetY2());
00486   if(!(min<VFiddownS1->GetX1() && max>VFiddownS1->GetX1()))VFiddownS1->SetY1(VFiddownS1->GetY2());
00487   if(!(min<VFidupS2->GetX1() && max>VFidupS2->GetX1()))VFidupS2->SetY1(VFidupS2->GetY2());
00488   if(!(min<VFiddownS2->GetX1() && max>VFiddownS2->GetX1()))VFiddownS2->SetY1(VFiddownS2->GetY2());
00489 
00490 }

void Anp::EventHitTab::SetOthers ( const Event event,
const Record record 
) [private]
void Anp::EventHitTab::SetShowers ( const Event event,
const Record record 
) [private]

Definition at line 170 of file EventHitTab.cxx.

References fgShwU, fgShwV, Anp::Event::GetNShowers(), Anp::GetShower(), Anp::GetStrip(), it, and Set().

Referenced by Set().

00171 {
00172    if(!fgShwU || !fgShwV)
00173    {
00174       return;
00175    }
00176 
00177    if(event.GetNShowers() < 1)
00178    {
00179       return;
00180    }
00181 
00182    const ShowerVec shw_vec = GetShower(event, record);
00183 
00184    StripVec uvec, vvec;
00185 
00186    for(ShowerVec::const_iterator it = shw_vec.begin(); it != shw_vec.end(); ++it)
00187    {           
00188       const Shower &shower = *(*it);
00189 
00190       const StripVec suvec = GetStrip(shower, record, "U");
00191       const StripVec svvec = GetStrip(shower, record, "V");
00192 
00193       uvec.insert(uvec.end(), suvec.begin(), suvec.end());
00194       vvec.insert(vvec.end(), svvec.begin(), svvec.end());
00195    }
00196    
00197    if(uvec.empty() || vvec.empty())
00198    {
00199       cerr << "EventHitTab::SetShower() - no strips matching a shower" << endl;
00200       return;
00201    }  
00202    
00203    fgShwU -> Set(uvec.size());
00204    fgShwV -> Set(vvec.size());
00205 
00206    for(Draw::SIterator sit = uvec.begin(); sit != uvec.end(); ++sit)
00207    {
00208       fgShwU -> SetPoint(std::distance(uvec.begin(), sit), (*sit) -> ZPos(), (*sit) -> TPos());
00209    }
00210 
00211    for(Draw::SIterator sit = vvec.begin(); sit != vvec.end(); ++sit)
00212    {
00213       fgShwV -> SetPoint(std::distance(vvec.begin(), sit), (*sit) -> ZPos(), (*sit) -> TPos());
00214    }
00215 }   

void Anp::EventHitTab::SetTrack ( const Track track,
const Record record,
short  index 
) [private]

Definition at line 124 of file EventHitTab.cxx.

References fgTrk1U, fgTrk1V, fgTrk2U, fgTrk2V, Anp::GetStrip(), and Set().

Referenced by Set().

00125 {
00126    TGraph *ug = 0;
00127    TGraph *vg = 0;
00128 
00129    if(index == 0)
00130    {
00131       ug = fgTrk1U;
00132       vg = fgTrk1V;
00133    }
00134    else if(index == 1)
00135    {
00136       ug = fgTrk2U;
00137       vg = fgTrk2V;
00138    }
00139 
00140    if(!ug || !vg)
00141    {
00142       return;
00143    }
00144 
00145    const StripVec uvec = GetStrip(track, record, "U");
00146    const StripVec vvec = GetStrip(track, record, "V");
00147    
00148    if(uvec.empty() || vvec.empty())
00149    {
00150       cerr << "EventHitTab::SetTrack() - no strips matching a track" << endl;
00151       return;
00152    }
00153    
00154    ug -> Set(uvec.size());
00155    vg -> Set(vvec.size());
00156 
00157    for(Draw::SIter sit = uvec.begin(); sit != uvec.end(); ++sit)
00158    {
00159       ug -> SetPoint(std::distance(uvec.begin(), sit), (*sit) -> ZPos(), (*sit) -> TPos());
00160    }
00161 
00162    for(Draw::SIter sit = vvec.begin(); sit != vvec.end(); ++sit)
00163    {
00164       vg -> SetPoint(std::distance(vvec.begin(), sit), (*sit) -> ZPos(), (*sit) -> TPos());
00165    }
00166 }   

void Anp::EventHitTab::ZoomIn (  )  [virtual]

Reimplemented from Anp::EventTab.

Definition at line 371 of file EventHitTab.cxx.

References f2hU, f2hV, fConfig, fDraw, fFiduciDraw, fSpan, init(), Anp::DrawSpan::InitU(), Anp::DrawSpan::InitV(), Anp::DrawSpan::InitZ(), Anp::Read(), SetFidVolUV(), Anp::DrawSpan::SetRangeU(), Anp::DrawSpan::SetRangeV(), and Anp::DrawSpan::SetRangeZ().

00372 {
00373    fDraw = true;
00374 
00375    static double ZoomBorderScale = 1.2;
00376    static double ZoomBorderWidth = 0.1;
00377 
00378    static bool init = false;
00379    if(!init)
00380    {
00381       init = true;
00382       ZoomBorderScale = Draw::Read("ZoomBorderScale", ZoomBorderScale, fConfig);
00383       ZoomBorderWidth = Draw::Read("ZoomBorderWidth", ZoomBorderWidth, fConfig);
00384 
00385       if(ZoomBorderScale < 1.0) ZoomBorderScale = 1.2;
00386       if(ZoomBorderWidth < 0.0) ZoomBorderWidth = 0.1;
00387    }
00388 
00389    if(fSpan.InitU())
00390    {
00391       fSpan.SetRangeU(f2hU -> GetYaxis(), ZoomBorderScale, ZoomBorderWidth);
00392    }
00393    if(fSpan.InitZ())
00394    {
00395       fSpan.SetRangeZ(f2hU -> GetXaxis(), ZoomBorderScale, ZoomBorderWidth);
00396    }
00397    if(fSpan.InitV())
00398    {
00399       fSpan.SetRangeV(f2hV -> GetYaxis(), ZoomBorderScale, ZoomBorderWidth);
00400    }
00401    if(fSpan.InitZ())
00402    {
00403       fSpan.SetRangeZ(f2hV -> GetXaxis(), ZoomBorderScale, ZoomBorderWidth);
00404    }
00405    if(fFiduciDraw)
00406      {       
00407        SetFidVolUV();
00408        //       DrawFid();
00409      }
00410 
00411 }

void Anp::EventHitTab::ZoomOut (  )  [virtual]

Reimplemented from Anp::EventTab.

Definition at line 414 of file EventHitTab.cxx.

References f2hU, f2hV, and fDraw.

00415 {
00416    fDraw = true;
00417 
00418    f2hU -> GetXaxis() -> UnZoom();
00419    f2hU -> GetYaxis() -> UnZoom();
00420 
00421    f2hV -> GetXaxis() -> UnZoom();
00422    f2hV -> GetYaxis() -> UnZoom();
00423 }


Member Data Documentation

TH2* Anp::EventHitTab::f2hU [private]

Definition at line 71 of file EventHitTab.h.

Referenced by Expose(), Init(), SetFidVolUV(), ZoomIn(), and ZoomOut().

TH2* Anp::EventHitTab::f2hV [private]

Definition at line 72 of file EventHitTab.h.

Referenced by Expose(), Init(), SetFidVolUV(), ZoomIn(), and ZoomOut().

TCanvas* Anp::EventHitTab::fCanvas [private]

Definition at line 66 of file EventHitTab.h.

Referenced by Expose(), and Init().

Definition at line 56 of file EventHitTab.h.

Referenced by Config(), Init(), and ZoomIn().

bool Anp::EventHitTab::fDraw [private]

Definition at line 61 of file EventHitTab.h.

Referenced by Expose(), Reset(), ZoomIn(), and ZoomOut().

Definition at line 63 of file EventHitTab.h.

Referenced by Expose(), and ZoomIn().

TGraph* Anp::EventHitTab::fgShwU [private]

Definition at line 74 of file EventHitTab.h.

Referenced by Expose(), Init(), Reset(), and SetShowers().

TGraph* Anp::EventHitTab::fgShwV [private]

Definition at line 75 of file EventHitTab.h.

Referenced by Expose(), Init(), Reset(), and SetShowers().

TGraph* Anp::EventHitTab::fgTrk1U [private]

Definition at line 77 of file EventHitTab.h.

Referenced by Expose(), Init(), Reset(), and SetTrack().

TGraph* Anp::EventHitTab::fgTrk1V [private]

Definition at line 78 of file EventHitTab.h.

Referenced by Expose(), Init(), Reset(), and SetTrack().

TGraph* Anp::EventHitTab::fgTrk2U [private]

Definition at line 80 of file EventHitTab.h.

Referenced by Expose(), Init(), Reset(), and SetTrack().

TGraph* Anp::EventHitTab::fgTrk2V [private]

Definition at line 81 of file EventHitTab.h.

Referenced by Expose(), Init(), Reset(), and SetTrack().

bool Anp::EventHitTab::fInit [private]

Definition at line 60 of file EventHitTab.h.

Referenced by Expose(), Init(), and Set().

Definition at line 62 of file EventHitTab.h.

Referenced by Expose().

std::vector<TObject *> Anp::EventHitTab::fObjVec [private]

Definition at line 58 of file EventHitTab.h.

Referenced by Init(), and ~EventHitTab().

TPad* Anp::EventHitTab::fPadU [private]

Definition at line 68 of file EventHitTab.h.

Referenced by DrawFidU(), Expose(), and Init().

TPad* Anp::EventHitTab::fPadV [private]

Definition at line 69 of file EventHitTab.h.

Referenced by DrawFidV(), Expose(), and Init().

Definition at line 64 of file EventHitTab.h.

Referenced by Reset(), Set(), and ZoomIn().

TPaveText* Anp::EventHitTab::MPrelim [private]

Definition at line 97 of file EventHitTab.h.

Referenced by Expose(), and Set().

TBox* Anp::EventHitTab::ubox [private]

Definition at line 98 of file EventHitTab.h.

Referenced by DrawFidU(), Set(), and SetFidVolUV().

TBox* Anp::EventHitTab::uboxEnd [private]

Definition at line 100 of file EventHitTab.h.

Referenced by DrawFidU(), Set(), and SetFidVolUV().

TLine* Anp::EventHitTab::UFiddownS1 [private]

Definition at line 86 of file EventHitTab.h.

Referenced by DrawFidU(), Set(), and SetFidVolUV().

TLine* Anp::EventHitTab::UFiddownS2 [private]

Definition at line 88 of file EventHitTab.h.

Referenced by DrawFidU(), Set(), and SetFidVolUV().

TLine* Anp::EventHitTab::UFidupS1 [private]

Definition at line 85 of file EventHitTab.h.

Referenced by DrawFidU(), Set(), and SetFidVolUV().

TLine* Anp::EventHitTab::UFidupS2 [private]

Definition at line 87 of file EventHitTab.h.

Referenced by DrawFidU(), Set(), and SetFidVolUV().

TMarker* Anp::EventHitTab::UZrecoVtx [private]

Definition at line 83 of file EventHitTab.h.

Referenced by Expose(), and Set().

TBox* Anp::EventHitTab::vbox [private]

Definition at line 99 of file EventHitTab.h.

Referenced by DrawFidV(), Set(), and SetFidVolUV().

TBox* Anp::EventHitTab::vboxEnd [private]

Definition at line 101 of file EventHitTab.h.

Referenced by DrawFidV(), Set(), and SetFidVolUV().

TLine* Anp::EventHitTab::VFiddownS1 [private]

Definition at line 90 of file EventHitTab.h.

Referenced by DrawFidV(), Set(), and SetFidVolUV().

TLine* Anp::EventHitTab::VFiddownS2 [private]

Definition at line 92 of file EventHitTab.h.

Referenced by DrawFidV(), Set(), and SetFidVolUV().

TLine* Anp::EventHitTab::VFidupS1 [private]

Definition at line 89 of file EventHitTab.h.

Referenced by DrawFidV(), Set(), and SetFidVolUV().

TLine* Anp::EventHitTab::VFidupS2 [private]

Definition at line 91 of file EventHitTab.h.

Referenced by DrawFidV(), Set(), and SetFidVolUV().

TMarker* Anp::EventHitTab::VZrecoVtx [private]

Definition at line 84 of file EventHitTab.h.

Referenced by Expose(), and Set().

double Anp::EventHitTab::zs1max [private]

Definition at line 94 of file EventHitTab.h.

Referenced by Set().

double Anp::EventHitTab::zs1min [private]

Definition at line 93 of file EventHitTab.h.

Referenced by Set().

double Anp::EventHitTab::zs2max [private]

Definition at line 96 of file EventHitTab.h.

Referenced by Set().

double Anp::EventHitTab::zs2min [private]

Definition at line 95 of file EventHitTab.h.

Referenced by Set().


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

Generated on 16 Apr 2018 for loon by  doxygen 1.6.1