AtNuEventViewer Class Reference

#include <AtNuEventViewer.h>

List of all members.

Public Member Functions

 AtNuEventViewer ()
virtual ~AtNuEventViewer ()
void Initialize ()
void ForceStyle ()
void AddFile (const char *file)
void AddList (const char *file)
void controlStart ()
void controlNext ()
void controlPrevious ()
void controlGoTo ()
void controlPrint ()
void SelectGoodSlice (Bool_t select=1)
void SelectGoodEvent (Bool_t select=1)
void SelectGoodTrack (Bool_t select=1)
void SelectGoodShower (Bool_t select=1)
void SelectCV (Bool_t select=1)
void SelectCE (Bool_t select=1)
void SelectFC (Bool_t select=1)
void SelectPC (Bool_t select=1)
void SelectCVUP (Bool_t select=1)
void SelectUPMU (Bool_t select=1)
void SelectCosmic (Bool_t select=1)
void SelectGoodCosmic (Bool_t select=1)
void SelectStoppingMuon (Bool_t select=1)
void SelectThroughGoingMuon (Bool_t select=1)
void SelectMultipleMuon (Bool_t select=1)
void SelectSpill (Bool_t select=1)
void SelectBeamSpill (Bool_t select=1)
void SelectFakeSpill (Bool_t select=1)
void PassGoodSlice (Bool_t pass=1)
void PassGoodEvent (Bool_t pass=1)
void PassGoodTrack (Bool_t pass=1)
void PassGoodShower (Bool_t pass=1)
void PassCV (Bool_t pass=1)
void PassCE (Bool_t pass=1)
void PassFC (Bool_t pass=1)
void PassPC (Bool_t pass=1)
void PassCVUP (Bool_t pass=1)
void PassUPMU (Bool_t pass=1)
void PassCosmic (Bool_t pass=1)
void PassGoodCosmic (Bool_t pass=1)
void PassStoppingMuon (Bool_t pass=1)
void PassThroughGoingMuon (Bool_t pass=1)
void PassMultipleMuon (Bool_t pass=1)
void PassSpill (Bool_t pass=1)
void PassBeamSpill (Bool_t pass=1)
void PassFakeSpill (Bool_t pass=1)
void FailGoodSlice (Bool_t fail=1)
void FailGoodEvent (Bool_t fail=1)
void FailGoodTrack (Bool_t fail=1)
void FailGoodShower (Bool_t fail=1)
void FailCV (Bool_t fail=1)
void FailCE (Bool_t fail=1)
void FailFC (Bool_t fail=1)
void FailPC (Bool_t fail=1)
void FailCVUP (Bool_t fail=1)
void FailUPMU (Bool_t fail=1)
void FailCosmic (Bool_t fail=1)
void FailGoodCosmic (Bool_t fail=1)
void FailStoppingMuon (Bool_t fail=1)
void FailThroughGoingMuon (Bool_t fail=1)
void FailMultipleMuon (Bool_t fail=1)
void FailSpill (Bool_t fail=1)
void FailBeamSpill (Bool_t fail=1)
void FailFakeSpill (Bool_t fail=1)
void DisplayEventInfo (Bool_t display=1)

Private Member Functions

void StartEventSelection ()
Bool_t PassFail ()
Bool_t PassFail (Int_t eventtype)
Bool_t Find (Int_t run, Int_t snarl)
void Display ()
void DisplayInfo ()

Private Attributes

TCanvas * fControlCanvas
TButton * buttonStart
TButton * buttonNext
TButton * buttonPrevious
TButton * buttonGoTo
TButton * buttonPrint
TButton * buttonFree1
TButton * buttonFree2
TButton * buttonQuit
AtNuEventDisplayFactoryfDisplayFactory
AtNuEventDisplayfDisplay
AtNuEventSelectionFactoryfSelectionFactory
AtNuEventSelectionfSelection
Bool_t fSelectEventType
Bool_t fSelectGoodSlice
Bool_t fSelectGoodEvent
Bool_t fSelectGoodTrack
Bool_t fSelectGoodShower
Bool_t fSelectCV
Bool_t fSelectCE
Bool_t fSelectFC
Bool_t fSelectPC
Bool_t fSelectCVUP
Bool_t fSelectUPMU
Bool_t fSelectCosmic
Bool_t fSelectGoodCosmic
Bool_t fSelectStoppingMuon
Bool_t fSelectThroughGoingMuon
Bool_t fSelectMultipleMuon
Bool_t fSelectSpill
Bool_t fSelectBeamSpill
Bool_t fSelectFakeSpill
Bool_t fPassGoodSlice
Bool_t fPassGoodEvent
Bool_t fPassGoodTrack
Bool_t fPassGoodShower
Bool_t fPassCV
Bool_t fPassCE
Bool_t fPassFC
Bool_t fPassPC
Bool_t fPassCVUP
Bool_t fPassUPMU
Bool_t fPassCosmic
Bool_t fPassGoodCosmic
Bool_t fPassStoppingMuon
Bool_t fPassThroughGoingMuon
Bool_t fPassMultipleMuon
Bool_t fPassSpill
Bool_t fPassBeamSpill
Bool_t fPassFakeSpill
Bool_t fFailGoodSlice
Bool_t fFailGoodEvent
Bool_t fFailGoodTrack
Bool_t fFailGoodShower
Bool_t fFailCV
Bool_t fFailCE
Bool_t fFailFC
Bool_t fFailPC
Bool_t fFailCVUP
Bool_t fFailUPMU
Bool_t fFailCosmic
Bool_t fFailGoodCosmic
Bool_t fFailStoppingMuon
Bool_t fFailThroughGoingMuon
Bool_t fFailMultipleMuon
Bool_t fFailSpill
Bool_t fFailBeamSpill
Bool_t fFailFakeSpill
Bool_t fDisplayEventInfo
TChain * fChain
Int_t fCounter
Int_t fLast
Int_t fRun
Int_t fSnarl
Int_t fEventList
Int_t fEventListCounter
Int_t fEventListLast
vector< Int_t > fRunList
vector< Int_t > fSnarlList
AtmosEventfEvent

Detailed Description

Definition at line 22 of file AtNuEventViewer.h.


Constructor & Destructor Documentation

AtNuEventViewer::AtNuEventViewer (  ) 

Definition at line 17 of file AtNuEventViewer.cxx.

References Initialize().

00017                                  :
00018   fControlCanvas(0),
00019   buttonStart(0),
00020   buttonNext(0),
00021   buttonPrevious(0),
00022   buttonGoTo(0),
00023   buttonPrint(0),
00024   buttonFree1(0),
00025   buttonFree2(0),
00026   buttonQuit(0),
00027   fDisplayFactory(0),
00028   fDisplay(0),
00029   fSelectionFactory(0),
00030   fSelection(0),
00031   fSelectEventType(0),
00032   fSelectGoodSlice(0),
00033   fSelectGoodEvent(0),
00034   fSelectGoodTrack(0),
00035   fSelectGoodShower(0),
00036   fSelectCV(0),
00037   fSelectCE(0),
00038   fSelectFC(0),
00039   fSelectPC(0),
00040   fSelectCVUP(0),
00041   fSelectUPMU(0),
00042   fSelectCosmic(0),
00043   fSelectGoodCosmic(0),
00044   fSelectStoppingMuon(0),
00045   fSelectThroughGoingMuon(0),
00046   fSelectMultipleMuon(0),
00047   fSelectSpill(0),
00048   fSelectBeamSpill(0),
00049   fSelectFakeSpill(0),
00050   fPassGoodSlice(0),
00051   fPassGoodEvent(0),
00052   fPassGoodTrack(0),
00053   fPassGoodShower(0),
00054   fPassCV(0),
00055   fPassCE(0),
00056   fPassFC(0),
00057   fPassPC(0),
00058   fPassCVUP(0),
00059   fPassUPMU(0),
00060   fPassCosmic(0),
00061   fPassGoodCosmic(0),
00062   fPassStoppingMuon(0),
00063   fPassThroughGoingMuon(0),
00064   fPassMultipleMuon(0),
00065   fPassSpill(0),
00066   fPassBeamSpill(0),
00067   fPassFakeSpill(0),
00068   fFailGoodSlice(0),
00069   fFailGoodEvent(0),
00070   fFailGoodTrack(0),
00071   fFailGoodShower(0),
00072   fFailCV(0),
00073   fFailCE(0),
00074   fFailFC(0),
00075   fFailPC(0),
00076   fFailCVUP(0),
00077   fFailUPMU(0),
00078   fFailCosmic(0),
00079   fFailGoodCosmic(0),
00080   fFailStoppingMuon(0),
00081   fFailThroughGoingMuon(0),
00082   fFailMultipleMuon(0),
00083   fFailSpill(0),
00084   fFailBeamSpill(0),
00085   fFailFakeSpill(0),
00086   fDisplayEventInfo(0),
00087   fChain(0),
00088   fCounter(-1),
00089   fLast(-1),
00090   fRun(-1),
00091   fSnarl(-1),
00092   fEventList(0),
00093   fEventListCounter(-1),
00094   fEventListLast(0),
00095   fEvent(0)
00096 {
00097   this->Initialize();
00098 }
  

AtNuEventViewer::~AtNuEventViewer (  )  [virtual]

Definition at line 100 of file AtNuEventViewer.cxx.

References buttonFree1, buttonFree2, buttonGoTo, buttonNext, buttonPrevious, buttonPrint, buttonQuit, buttonStart, fControlCanvas, fDisplay, fDisplayFactory, fSelection, and fSelectionFactory.

00101 {
00102   if(fControlCanvas) delete fControlCanvas;
00103   if(buttonStart) delete buttonStart;
00104   if(buttonNext) delete buttonNext;
00105   if(buttonPrevious) delete buttonPrevious;
00106   if(buttonGoTo) delete buttonGoTo;
00107   if(buttonPrint) delete buttonPrint;
00108   if(buttonFree1) delete buttonFree1;
00109   if(buttonFree2) delete buttonFree2;
00110   if(buttonQuit) delete buttonQuit;
00111   if(fDisplayFactory) delete fDisplayFactory;
00112   if(fDisplay) delete fDisplay;
00113   if(fSelectionFactory) delete fSelectionFactory;
00114   if(fSelection) delete fSelection;
00115 }


Member Function Documentation

void AtNuEventViewer::AddFile ( const char *  file  ) 

Definition at line 289 of file AtNuEventViewer.cxx.

References fChain, and fLast.

00290 {
00291   std::cout << " adding files from: " << file << std::endl;
00292 
00293   fChain->Add(file);
00294   fLast=fChain->GetEntries();
00295 
00296   std::cout << "   ... total entries=" << fLast << std::endl;
00297   
00298   return;
00299 }

void AtNuEventViewer::AddList ( const char *  file  ) 

Definition at line 301 of file AtNuEventViewer.cxx.

References fEventList, fEventListLast, fRunList, fSnarlList, and run().

00302 {
00303   Int_t run=-1,snarl=-1;
00304 
00305   std::cout << " reading in events from: " << file << std::endl;
00306 
00307   std::ifstream input(file);
00308   if(input){
00309     while( !input.eof() ){
00310       run=-1; snarl=-1;
00311       input >> run >> snarl;
00312       if( run>=0 && snarl>=0 ){
00313         std::cout << " (" << fEventListLast << ") run/snarl = " << run << "/" << snarl << std::endl;
00314         fRunList.push_back(run);
00315         fSnarlList.push_back(snarl);
00316         fEventListLast++;
00317         fEventList=1;
00318       }
00319     }
00320   }
00321   input.close();
00322 
00323   return;
00324 }

void AtNuEventViewer::controlGoTo (  ) 

Definition at line 413 of file AtNuEventViewer.cxx.

References Display(), fDisplay, fEventList, Find(), fSelection, and run().

00414 {
00415   if(fDisplay && !fEventList && !fSelection){
00416     Int_t run=-1,snarl=-1;
00417 
00418     std::cout << " Enter Run :"; std::cin >> run; std::cout << std::endl;
00419     std::cout << " Enter Snarl :"; std::cin >> snarl; std::cout << std::endl;
00420     
00421     if( this->Find(run,snarl) ) this->Display();
00422   }
00423 
00424   return;
00425 }

void AtNuEventViewer::controlNext (  ) 

Definition at line 339 of file AtNuEventViewer.cxx.

References Display(), fCounter, fDisplay, fEventList, fEventListCounter, fEventListLast, Find(), fLast, fRunList, fSnarlList, and PassFail().

Referenced by controlStart().

00340 {
00341   Bool_t display=0;
00342   Bool_t displaynext=0;
00343 
00344   if( fDisplay ){
00345     if( fEventList ){
00346       if( fEventListCounter<fEventListLast-1 ){
00347         fEventListCounter++;
00348         display=this->Find(fRunList[fEventListCounter],
00349                             fSnarlList[fEventListCounter]);
00350         displaynext=1;
00351       }
00352     }
00353     else{
00354       if( fCounter<fLast-1 ){
00355         fCounter++;
00356         display=1;
00357         displaynext=1;
00358       } 
00359     } 
00360     if( display 
00361      && this->PassFail() ){
00362       this->Display();
00363 
00364       // CONTINUOUS DISPLAY
00365       // ==================
00366       // this->controlPrint();
00367       // this->controlNext();
00368        
00369     }
00370     else{
00371       if( displaynext ) this->controlNext();
00372       else std::cout << " --- end of file --- " << std::endl;
00373     }
00374   }
00375 
00376   return;
00377 }

void AtNuEventViewer::controlPrevious (  ) 

Definition at line 379 of file AtNuEventViewer.cxx.

References Display(), fCounter, fDisplay, fEventList, fEventListCounter, Find(), fRunList, fSnarlList, and PassFail().

00380 {
00381   Bool_t display=0;
00382   Bool_t displayprev=0;
00383 
00384   if( fDisplay ){
00385     if( fEventList ){
00386       if( fEventListCounter>0 ){
00387         fEventListCounter--;
00388         display=this->Find(fRunList[fEventListCounter],
00389                            fSnarlList[fEventListCounter]);
00390         displayprev=1;
00391       }
00392     }
00393     else{
00394       if( fCounter>0 ){
00395         fCounter--;
00396         display=1;
00397         displayprev=1;
00398       }
00399     }
00400     if( display 
00401      && this->PassFail() ){
00402       this->Display();
00403     }
00404     else{
00405       if( displayprev ) this->controlPrevious();
00406       else std::cout << " --- beginning of file --- " << std::endl;
00407     }
00408   }
00409 
00410   return;
00411 }

void AtNuEventViewer::controlPrint (  ) 

Definition at line 427 of file AtNuEventViewer.cxx.

References fDisplay, and AtNuEventDisplay::PrintPicture().

00428 {
00429   if( fDisplay ){
00430     std::cout << " saving image of event display " << std::endl;
00431     fDisplay->PrintPicture();
00432   }
00433 
00434   return;
00435 }

void AtNuEventViewer::controlStart (  ) 

Definition at line 328 of file AtNuEventViewer.cxx.

References controlNext(), fDisplay, fDisplayFactory, and AtNuEventDisplayFactory::MakeEventDisplay().

00329 {
00330   if( !fDisplay ){
00331     std::cout << " starting event display " << std::endl;
00332     fDisplay = fDisplayFactory->MakeEventDisplay();
00333     if( fDisplay ) this->controlNext();
00334   }
00335 
00336   return;
00337 }

void AtNuEventViewer::Display (  )  [private]

Definition at line 1180 of file AtNuEventViewer.cxx.

References DisplayInfo(), fChain, fCounter, fDisplay, fDisplayEventInfo, fEvent, fLast, fRun, fSnarl, AtNuEventDisplay::MakePicture(), AtmosEvent::Run, and AtmosEvent::Snarl.

Referenced by controlGoTo(), controlNext(), and controlPrevious().

01181 {
01182   if( fChain ){
01183     if( fCounter>=0 && fCounter<fLast ){
01184       fChain->GetEntry(fCounter);
01185       if( fEvent ){
01186         fRun = fEvent->Run;
01187         fSnarl = fEvent->Snarl;
01188         fDisplay->MakePicture(fEvent);
01189         std::cout << " Displaying Event " << fCounter 
01190                   << ": run/snarl = " << fRun << "/" << fSnarl << std::endl;
01191         if( fDisplayEventInfo ) this->DisplayInfo();
01192       }
01193     }
01194   }
01195 
01196   return;
01197 }

void AtNuEventViewer::DisplayEventInfo ( Bool_t  display = 1  ) 

Definition at line 1199 of file AtNuEventViewer.cxx.

References fDisplayEventInfo.

01200 {
01201   fDisplayEventInfo = display;
01202 }

void AtNuEventViewer::DisplayInfo (  )  [private]

Definition at line 1204 of file AtNuEventViewer.cxx.

References AtmosTrack::EMcharge, AtmosTrack::EndDirTimeFitRMS, AtmosMC::Enu, fEvent, fSelection, AtNuEventSelection::GetAtmosEventType(), AtNuEventSelection::GetEventType(), AtNuEnergyCorrections::GetHadronicShowerEnergy(), AtNuEnergyCorrections::GetMuonMomentumCurve(), AtNuEnergyCorrections::GetMuonMomentumRange(), AtNuEnergyCorrections::GetNeutrinoShowerEnergy(), AtNuEventSelection::GetShieldTime(), AtNuEventSelection::GetSpillTime(), AtmosMC::IDact, AtmosMC::IDnu, AtmosEvent::MCInfo, AtmosReco::MuDirCosU, AtmosReco::MuDirCosV, AtmosReco::MuDirCosX, AtmosReco::MuDirCosY, AtmosReco::MuDirCosZ, AtmosShower::Nplanes, AtmosTrack::Nplanes, AtmosEvent::NShowers, AtmosShower::Nstrips, AtmosEvent::NTracks, AtmosTrack::QPvtx, AtmosTrack::QPvtxErr, AtmosEvent::RecoInfo, AtmosEvent::Run, AtmosEvent::ShowerList, AtmosEvent::Snarl, AtmosEvent::TrackList, AtmosTrack::VtxDirTimeFitRMS, AtmosReco::VtxPlane, AtmosReco::VtxTime, AtmosReco::VtxU, AtmosReco::VtxV, AtmosReco::VtxX, AtmosReco::VtxY, AtmosReco::VtxZ, AtmosMC::y, AtmosTrack::ZeroCurveChi2, and AtmosTrack::ZeroCurveNdf.

Referenced by Display().

01205 {
01206   std::cout << " ******************************* " << std::endl;
01207   std::cout << " * Run=" << fEvent->Run << ", Snarl=" << fEvent->Snarl << std::endl;
01208   std::cout << " * Inu=" << fEvent->MCInfo.IDnu << ", Iact=" << fEvent->MCInfo.IDact << ", Enu=" << fEvent->MCInfo.Enu << ", y=" << fEvent->MCInfo.y << std::endl;
01209   std::cout << " * Ntracks=" << fEvent->NTracks << ", Nshowers=" << fEvent->NShowers << std::endl;
01210   std::cout << " * " << std::endl;
01211   std::cout << " * EVENT PROPERTIES: " << std::endl;
01212   std::cout << " *  Vtx(Plane)=" << fEvent->RecoInfo.VtxPlane << ", Vtx(Time)=" << 1.0e9*fEvent->RecoInfo.VtxTime << std::endl;
01213   std::cout << " *  Vtx(UVZ)=(" << fEvent->RecoInfo.VtxU << "," << fEvent->RecoInfo.VtxV << "," << fEvent->RecoInfo.VtxZ << ")" << std::endl;
01214   std::cout << " *  Vtx(XYZ)=(" << fEvent->RecoInfo.VtxX << "," << fEvent->RecoInfo.VtxY << "," << fEvent->RecoInfo.VtxZ << ")" << std::endl;
01215   std::cout << " *  VtxDirCos(UVZ)=(" << fEvent->RecoInfo.MuDirCosU << "," << fEvent->RecoInfo.MuDirCosV << "," << fEvent->RecoInfo.MuDirCosZ << ")" << std::endl;
01216   std::cout << " *  VtxDirCos(XYZ)=(" << fEvent->RecoInfo.MuDirCosX << "," << fEvent->RecoInfo.MuDirCosY << "," << fEvent->RecoInfo.MuDirCosZ << ")" << std::endl;
01217   std::cout << " *  Pmu(Range/GeV)=" << AtNuEnergyCorrections::GetMuonMomentumRange(fEvent) << ", Pmu(Curve/GeV)=" << AtNuEnergyCorrections::GetMuonMomentumCurve(fEvent) << std::endl;
01218   std::cout << " *  Eshw(Had/GeV)=" << AtNuEnergyCorrections::GetHadronicShowerEnergy(fEvent) << ", Eshw(Nu/GeV)=" << AtNuEnergyCorrections::GetNeutrinoShowerEnergy(fEvent) << std::endl;
01219   std::cout << " * " << std::endl;          
01220   
01221   AtmosTrack* track = (AtmosTrack*)fEvent->TrackList->At(0);
01222   
01223   if( track ){
01224     std::cout << " * TRACK PROPERTIES: " << std::endl;
01225     std::cout << " *  TrkPlanes=" << track->Nplanes << std::endl;
01226     std::cout << " *  VtxTimeRMS=" << track->VtxDirTimeFitRMS << std::endl; 
01227     std::cout << " *  EndTimeRMS=" << track->EndDirTimeFitRMS << std::endl;
01228     std::cout << " *  TrkCharge=" << track->EMcharge << std::endl;
01229     if( track->QPvtxErr>0.0 ){
01230       std::cout << " *  (Q/P)/sigma(Q/P)=" << track->QPvtx/track->QPvtxErr << std::endl;
01231       std::cout << " *  ZeroCurveChi2/Ndf=" << track->ZeroCurveChi2/track->ZeroCurveNdf << std::endl;
01232     }   
01233     std::cout << " * " << std::endl;       
01234   }
01235 
01236   AtmosShower* shower = (AtmosShower*)fEvent->ShowerList->At(0);
01237 
01238   if( shower ){
01239     std::cout << " * SHOWER PROPERTIES: " << std::endl;
01240     std::cout << " *  ShwPlanes=" << shower->Nplanes << std::endl;
01241     std::cout << " *  ShwStrips=" << shower->Nstrips << std::endl;
01242     std::cout << " * " << std::endl;       
01243   }
01244 
01245   if( fSelection ){  
01246     std::cout << " * EVENT PROPERTIES: " << std::endl;
01247     std::cout << " *  SpillTime=" << fSelection->GetSpillTime(fEvent) << std::endl
01248               << " *  ShieldTime=" << fSelection->GetShieldTime(fEvent) << std::endl
01249               << " *  EventType=" << fSelection->GetEventType(fEvent) << std::endl
01250               << " *  AtmosEventType=" << fSelection->GetAtmosEventType(fEvent) << std::endl;
01251     std::cout << " * " << std::endl;
01252   }
01253 
01254   std::cout << " ******************************* " << std::endl;
01255 
01256   return;
01257 }

void AtNuEventViewer::FailBeamSpill ( Bool_t  fail = 1  ) 

Definition at line 871 of file AtNuEventViewer.cxx.

References fFailBeamSpill, and StartEventSelection().

00872 {
00873   if( fail ){
00874     this->StartEventSelection();
00875     fFailBeamSpill = fail;
00876   }
00877 }

void AtNuEventViewer::FailCE ( Bool_t  fail = 1  ) 

Definition at line 783 of file AtNuEventViewer.cxx.

References fFailCE, and StartEventSelection().

00784 {
00785   if( fail ){
00786     this->StartEventSelection();
00787     fFailCE = fail;
00788   }
00789 }

void AtNuEventViewer::FailCosmic ( Bool_t  fail = 1  ) 

Definition at line 823 of file AtNuEventViewer.cxx.

References fFailCosmic, and StartEventSelection().

00824 {
00825   if(fail){
00826     this->StartEventSelection();
00827     fFailCosmic = fail;
00828   }
00829 }

void AtNuEventViewer::FailCV ( Bool_t  fail = 1  ) 

Definition at line 775 of file AtNuEventViewer.cxx.

References fFailCV, and StartEventSelection().

00776 {
00777   if( fail ){
00778     this->StartEventSelection();
00779     fFailCV = fail;
00780   }
00781 }

void AtNuEventViewer::FailCVUP ( Bool_t  fail = 1  ) 

Definition at line 807 of file AtNuEventViewer.cxx.

References fFailCVUP, and StartEventSelection().

00808 {
00809   if( fail ){
00810     this->StartEventSelection();
00811     fFailCVUP = fail;
00812   }
00813 }

void AtNuEventViewer::FailFakeSpill ( Bool_t  fail = 1  ) 

Definition at line 879 of file AtNuEventViewer.cxx.

References fFailFakeSpill, and StartEventSelection().

00880 {
00881   if( fail ){
00882     this->StartEventSelection();
00883     fFailFakeSpill = fail;
00884   }
00885 }

void AtNuEventViewer::FailFC ( Bool_t  fail = 1  ) 

Definition at line 791 of file AtNuEventViewer.cxx.

References fFailFC, and StartEventSelection().

00792 {
00793   if( fail ){
00794     this->StartEventSelection();
00795     fFailFC = fail;
00796   }
00797 }

void AtNuEventViewer::FailGoodCosmic ( Bool_t  fail = 1  ) 

Definition at line 831 of file AtNuEventViewer.cxx.

References fFailGoodCosmic, and StartEventSelection().

00832 {
00833   if(fail){
00834     this->StartEventSelection();
00835     fFailGoodCosmic = fail;
00836   }
00837 }

void AtNuEventViewer::FailGoodEvent ( Bool_t  fail = 1  ) 

Definition at line 751 of file AtNuEventViewer.cxx.

References fFailGoodEvent, and StartEventSelection().

00752 {
00753   if( fail ){
00754     this->StartEventSelection();
00755     fFailGoodEvent = fail;
00756   }
00757 }

void AtNuEventViewer::FailGoodShower ( Bool_t  fail = 1  ) 

Definition at line 767 of file AtNuEventViewer.cxx.

References fFailGoodShower, and StartEventSelection().

00768 {
00769   if( fail ){
00770     this->StartEventSelection();
00771     fFailGoodShower = fail;
00772   }
00773 }

void AtNuEventViewer::FailGoodSlice ( Bool_t  fail = 1  ) 

Definition at line 743 of file AtNuEventViewer.cxx.

References fFailGoodSlice, and StartEventSelection().

00744 {
00745   if( fail ){
00746     this->StartEventSelection();
00747     fFailGoodSlice = fail;
00748   }
00749 }

void AtNuEventViewer::FailGoodTrack ( Bool_t  fail = 1  ) 

Definition at line 759 of file AtNuEventViewer.cxx.

References fFailGoodTrack, and StartEventSelection().

00760 {
00761   if( fail ){
00762     this->StartEventSelection();
00763     fFailGoodTrack = fail;
00764   }
00765 }

void AtNuEventViewer::FailMultipleMuon ( Bool_t  fail = 1  ) 

Definition at line 855 of file AtNuEventViewer.cxx.

References fFailMultipleMuon, and StartEventSelection().

00856 {
00857   if( fail ){
00858     this->StartEventSelection();
00859     fFailMultipleMuon = fail;
00860   }
00861 }

void AtNuEventViewer::FailPC ( Bool_t  fail = 1  ) 

Definition at line 799 of file AtNuEventViewer.cxx.

References fFailPC, and StartEventSelection().

00800 {
00801   if( fail ){
00802     this->StartEventSelection();
00803     fFailPC = fail;
00804   }
00805 }

void AtNuEventViewer::FailSpill ( Bool_t  fail = 1  ) 

Definition at line 863 of file AtNuEventViewer.cxx.

References fFailSpill, and StartEventSelection().

00864 {
00865   if( fail ){
00866     this->StartEventSelection();
00867     fFailSpill = fail;
00868   }
00869 }

void AtNuEventViewer::FailStoppingMuon ( Bool_t  fail = 1  ) 

Definition at line 839 of file AtNuEventViewer.cxx.

References fFailStoppingMuon, and StartEventSelection().

00840 {
00841   if( fail ){
00842     this->StartEventSelection();
00843     fFailStoppingMuon = fail;
00844   }
00845 }

void AtNuEventViewer::FailThroughGoingMuon ( Bool_t  fail = 1  ) 

Definition at line 847 of file AtNuEventViewer.cxx.

References fFailThroughGoingMuon, and StartEventSelection().

00848 {
00849   if( fail ){
00850     this->StartEventSelection();
00851     fFailThroughGoingMuon = fail;
00852   }
00853 }

void AtNuEventViewer::FailUPMU ( Bool_t  fail = 1  ) 

Definition at line 815 of file AtNuEventViewer.cxx.

References fFailUPMU, and StartEventSelection().

00816 {
00817   if( fail ){
00818     this->StartEventSelection();
00819     fFailUPMU = fail;
00820   }
00821 }

Bool_t AtNuEventViewer::Find ( Int_t  run,
Int_t  snarl 
) [private]

Definition at line 1119 of file AtNuEventViewer.cxx.

References fChain, fCounter, fEvent, fLast, fRun, fSnarl, AtmosEvent::Run, and AtmosEvent::Snarl.

Referenced by controlGoTo(), controlNext(), and controlPrevious().

01120 {
01121   Bool_t foundit=0;
01122   Int_t oldCounter=fCounter;
01123   Int_t newCounter=-1;
01124 
01125   std::cout << " Searching for " << run << "/" << snarl << std::endl;
01126 
01127   // sanity check
01128   if( run<0 || snarl<0 ) return 0;
01129 
01130   if( fChain ){
01131 
01132     Int_t tempCounter;
01133     Int_t tempRun,tempSnarl;
01134     
01135     // go forwards
01136     if( !foundit 
01137      && ( (run>fRun) 
01138        || (run==fRun && snarl>=fSnarl) ) ){
01139       tempCounter=oldCounter;
01140       tempRun=fRun; tempSnarl=fSnarl;
01141       while( tempCounter<fLast-1
01142        && !(tempRun==run && tempSnarl==snarl) ){
01143         tempCounter++;
01144         fChain->GetEntry(tempCounter);
01145         tempRun=fEvent->Run; tempSnarl=fEvent->Snarl;
01146       }
01147       if( tempRun==run && tempSnarl==snarl ){
01148         newCounter=tempCounter; foundit=1;
01149       }
01150     }
01151 
01152     // go backwards
01153     if( !foundit 
01154      && ( (run<fRun) 
01155        || (run==fRun && snarl<=fSnarl) ) ){
01156       tempCounter=oldCounter;
01157       tempRun=fRun; tempSnarl=fSnarl;
01158       while( tempCounter>0
01159        && !(tempRun==run && tempSnarl==snarl) ){
01160         tempCounter--;
01161         fChain->GetEntry(tempCounter);
01162         tempRun=fEvent->Run; tempSnarl=fEvent->Snarl;
01163       }
01164       if( tempRun==run && tempSnarl==snarl ){
01165         newCounter=tempCounter; foundit=1;
01166       }
01167     }
01168   }
01169 
01170   if( foundit){
01171     fCounter=newCounter;
01172   }
01173   else{
01174     std::cout << "  ...failed to find " << run << "/" << snarl << std::endl;
01175   }
01176 
01177   return foundit;
01178 }

void AtNuEventViewer::ForceStyle (  ) 

Definition at line 204 of file AtNuEventViewer.cxx.

Referenced by Initialize().

00205 {
00206   TStyle* MyStyle = new  TStyle("My Style", "My Style");
00207 
00208   // set the background color to white
00209   MyStyle->SetFillColor(10);
00210   MyStyle->SetFrameFillColor(10);
00211   MyStyle->SetCanvasColor(10);
00212   MyStyle->SetPadColor(10);
00213   MyStyle->SetTitleFillColor(0);
00214   MyStyle->SetStatColor(10);
00215 
00216   // don't put a colored frame around the plots
00217   MyStyle->SetFrameBorderMode(0);
00218   MyStyle->SetCanvasBorderMode(0);
00219   MyStyle->SetPadBorderMode(0);
00220   MyStyle->SetLegendBorderSize(0);
00221 
00222   // use the primary color palette
00223   MyStyle->SetPalette(1,0);
00224 
00225   // set the default line color for a histogram to be black
00226   MyStyle->SetHistLineColor(kBlack);
00227 
00228   // set the default line color for a fit function to be red
00229   MyStyle->SetFuncColor(kRed);
00230 
00231   // make the axis labels black
00232   MyStyle->SetLabelColor(kBlack,"xyz");
00233 
00234   // set the default title color to be black
00235   MyStyle->SetTitleColor(kBlack);
00236 
00237   // set the margins
00238   MyStyle->SetPadBottomMargin(0.18);
00239   MyStyle->SetPadTopMargin(0.08);
00240   MyStyle->SetPadRightMargin(0.08);
00241   MyStyle->SetPadLeftMargin(0.18);
00242 
00243   // set axis label and title text sizes
00244   MyStyle->SetLabelFont(42,"xyz");
00245   MyStyle->SetLabelSize(0.06,"xyz");
00246   MyStyle->SetLabelOffset(0.015,"xyz");
00247   MyStyle->SetTitleFont(42,"xyz");
00248   MyStyle->SetTitleSize(0.07,"xyz");
00249   MyStyle->SetTitleX(0.55);
00250   MyStyle->SetTitleAlign(23); 
00251   MyStyle->SetTitleOffset(1.1,"yz");
00252   MyStyle->SetTitleOffset(1.0,"x");
00253   MyStyle->SetStatFont(42);
00254   MyStyle->SetStatFontSize(0.07);
00255   MyStyle->SetTitleBorderSize(0);
00256   MyStyle->SetStatBorderSize(0);
00257   MyStyle->SetTextFont(42);
00258 
00259   // set line widths
00260   MyStyle->SetFrameLineWidth(2);
00261   MyStyle->SetFuncWidth(2);
00262 
00263   // set the number of divisions
00264   MyStyle->SetNdivisions(506, "xy");
00265 
00266   // turn off xy grids
00267   MyStyle->SetPadGridX(0);
00268   MyStyle->SetPadGridY(0);
00269 
00270   // set the tick mark style
00271   MyStyle->SetPadTickX(1);
00272   MyStyle->SetPadTickY(1);
00273 
00274   // turn off stats
00275   MyStyle->SetOptStat(0);
00276 
00277   // marker settings
00278   MyStyle->SetMarkerStyle(20);
00279   MyStyle->SetMarkerSize(1.0);
00280   MyStyle->SetLineWidth(1);
00281 
00282   //done
00283   MyStyle->cd();
00284   gROOT->ForceStyle();
00285 
00286   return;
00287 }

void AtNuEventViewer::Initialize (  ) 

Definition at line 117 of file AtNuEventViewer.cxx.

References buttonGoTo, buttonNext, buttonPrevious, buttonPrint, buttonQuit, buttonStart, fChain, fControlCanvas, fDisplayFactory, fEvent, ForceStyle(), and fSelectionFactory.

00118 {
00119 
00120   std::cout << " initializing... " << std::endl;
00121 
00122   this->ForceStyle();
00123 
00124   // initializing control canvas
00125   if( !fControlCanvas ){
00126     fControlCanvas = new TCanvas("ControlCanvas",
00127                                  "ControlCanvas",0,0,150,600);
00128     fControlCanvas->cd();
00129     
00130     Int_t butNumber = 6;
00131     Double_t butLowerY,butUpperY,butSpaceY;
00132 
00133     butSpaceY = 1.0/((double)(butNumber));
00134     
00135     butUpperY = 1.0;
00136     butLowerY = butUpperY-butSpaceY;
00137     buttonStart = new TButton("Start","viewer->controlStart()",0.0,butLowerY,1.0,butUpperY);
00138     buttonStart->SetTextSize(0.33);
00139     buttonStart->SetTextColor(1);
00140     buttonStart->SetFillColor(9);
00141     buttonStart->Draw();
00142 
00143     butUpperY = butLowerY;
00144     butLowerY = butUpperY-butSpaceY;
00145     buttonNext = new TButton("Next","viewer->controlNext()",0.0,butLowerY,1.0,butUpperY);
00146     buttonNext->SetTextSize(0.33);
00147     buttonNext->SetTextColor(1);
00148     buttonNext->SetFillColor(9);
00149     buttonNext->Draw();
00150 
00151     butUpperY = butLowerY;
00152     butLowerY = butUpperY-butSpaceY;
00153     buttonPrevious = new TButton("Previous","viewer->controlPrevious()",0.0,butLowerY,1.0,butUpperY);
00154     buttonPrevious->SetTextSize(0.33);
00155     buttonPrevious->SetTextColor(1);
00156     buttonPrevious->SetFillColor(9);
00157     buttonPrevious->Draw();
00158 
00159     butUpperY = butLowerY;
00160     butLowerY = butUpperY-butSpaceY;
00161     buttonGoTo = new TButton("GoTo","viewer->controlGoTo()",0.0,butLowerY,1.0,butUpperY);
00162     buttonGoTo->SetTextSize(0.33);
00163     buttonGoTo->SetTextColor(1);
00164     buttonGoTo->SetFillColor(9);
00165     buttonGoTo->Draw();
00166 
00167     butUpperY = butLowerY;
00168     butLowerY = butUpperY-butSpaceY;
00169     buttonPrint = new TButton("Print","viewer->controlPrint()",0.0,butLowerY,1.0,butUpperY);
00170     buttonPrint->SetTextSize(0.33);
00171     buttonPrint->SetTextColor(1);
00172     buttonPrint->SetFillColor(9);
00173     buttonPrint->Draw();
00174 
00175     butUpperY = butLowerY;
00176     butLowerY = butUpperY-butSpaceY;
00177     buttonQuit = new TButton("Quit",".q",0.0,butLowerY,1.0,butUpperY);
00178     buttonQuit->SetTextSize(0.33);
00179     buttonQuit->SetTextColor(1);
00180     buttonQuit->SetFillColor(9);
00181     buttonQuit->Draw();
00182   }
00183 
00184   // creating event display factory
00185   if( !fDisplayFactory ){
00186     fDisplayFactory = new AtNuEventDisplayFactory();
00187   }
00188 
00189   // creating event selection factory
00190   if( !fSelectionFactory ){
00191     fSelectionFactory = new AtNuEventSelectionFactory();
00192   }
00193 
00194   // create chain of ntuples 
00195   // (how to do this from command line???)
00196   if( !fChain ){
00197     fChain = new TChain("ntp","chain");
00198     fChain->SetBranchAddress("evt",&fEvent);
00199   }
00200 
00201   return;
00202 }

void AtNuEventViewer::PassBeamSpill ( Bool_t  pass = 1  ) 

Definition at line 727 of file AtNuEventViewer.cxx.

References fPassBeamSpill, and StartEventSelection().

00728 {
00729   if( pass ){
00730     this->StartEventSelection();
00731     fPassBeamSpill = pass;
00732   }
00733 }

void AtNuEventViewer::PassCE ( Bool_t  pass = 1  ) 

Definition at line 639 of file AtNuEventViewer.cxx.

References fPassCE, and StartEventSelection().

00640 {
00641   if( pass ){
00642     this->StartEventSelection();
00643     fPassCE = pass;
00644   }
00645 }

void AtNuEventViewer::PassCosmic ( Bool_t  pass = 1  ) 

Definition at line 679 of file AtNuEventViewer.cxx.

References fPassCosmic, and StartEventSelection().

00680 {
00681   if(pass){
00682     this->StartEventSelection();
00683     fPassCosmic = pass;
00684   }
00685 }

void AtNuEventViewer::PassCV ( Bool_t  pass = 1  ) 

Definition at line 631 of file AtNuEventViewer.cxx.

References fPassCV, and StartEventSelection().

00632 {
00633   if( pass ){
00634     this->StartEventSelection();
00635     fPassCV = pass;
00636   }
00637 }

void AtNuEventViewer::PassCVUP ( Bool_t  pass = 1  ) 

Definition at line 663 of file AtNuEventViewer.cxx.

References fPassCVUP, and StartEventSelection().

00664 {
00665   if( pass ){
00666     this->StartEventSelection();
00667     fPassCVUP = pass;
00668   }
00669 }

Bool_t AtNuEventViewer::PassFail ( Int_t  eventtype  )  [private]

Definition at line 926 of file AtNuEventViewer.cxx.

References fFailBeamSpill, fFailCE, fFailCosmic, fFailCV, fFailCVUP, fFailFakeSpill, fFailFC, fFailGoodCosmic, fFailGoodEvent, fFailGoodShower, fFailGoodSlice, fFailGoodTrack, fFailMultipleMuon, fFailPC, fFailSpill, fFailStoppingMuon, fFailThroughGoingMuon, fFailUPMU, fPassBeamSpill, fPassCE, fPassCosmic, fPassCV, fPassCVUP, fPassFakeSpill, fPassFC, fPassGoodCosmic, fPassGoodEvent, fPassGoodShower, fPassGoodSlice, fPassGoodTrack, fPassMultipleMuon, fPassPC, fPassSpill, fPassStoppingMuon, fPassThroughGoingMuon, fPassUPMU, fSelectBeamSpill, fSelectCE, fSelectCosmic, fSelectCV, fSelectCVUP, fSelectEventType, fSelectFakeSpill, fSelectFC, fSelectGoodCosmic, fSelectGoodEvent, fSelectGoodShower, fSelectGoodSlice, fSelectGoodTrack, fSelectMultipleMuon, fSelectPC, fSelectSpill, fSelectStoppingMuon, fSelectThroughGoingMuon, fSelectUPMU, AtNuEventType::kBeamSpill, AtNuEventType::kCE, AtNuEventType::kCosmic, AtNuEventType::kCV, AtNuEventType::kCVUP, AtNuEventType::kFakeSpill, AtNuEventType::kFC, AtNuEventType::kGoodCosmic, AtNuEventType::kGoodEvent, AtNuEventType::kGoodShower, AtNuEventType::kGoodSlice, AtNuEventType::kGoodTrack, AtNuEventType::kMultipleMuon, AtNuEventType::kPC, AtNuEventType::kSpill, AtNuEventType::kStoppingMuon, AtNuEventType::kThroughGoingMuon, AtNuEventType::kUPMU, and passfail().

00927 {
00928 
00929   Bool_t passfail = 0;
00930 
00931   // pass event types
00932   // ================
00933   if( ( !fPassGoodSlice 
00934     || (eventtype&AtNuEventType::kGoodSlice)==(AtNuEventType::kGoodSlice) )
00935    && ( !fPassGoodEvent 
00936     || (eventtype&AtNuEventType::kGoodEvent)==(AtNuEventType::kGoodEvent) )
00937    && ( !fPassGoodTrack 
00938     || (eventtype&AtNuEventType::kGoodTrack)==(AtNuEventType::kGoodTrack) ) 
00939    && ( !fPassGoodShower 
00940     || (eventtype&AtNuEventType::kGoodShower)==(AtNuEventType::kGoodShower) ) 
00941    && ( !fPassCV
00942     || (eventtype&AtNuEventType::kCV)==(AtNuEventType::kCV) )
00943    && ( !fPassCE
00944     || (eventtype&AtNuEventType::kCE)==(AtNuEventType::kCE) )
00945    && ( !fPassFC
00946     || (eventtype&AtNuEventType::kFC)==(AtNuEventType::kFC) )
00947    && ( !fPassPC
00948     || (eventtype&AtNuEventType::kPC)==(AtNuEventType::kPC) )
00949    && ( !fPassCVUP
00950     || (eventtype&AtNuEventType::kCVUP)==(AtNuEventType::kCVUP) )
00951    && ( !fPassUPMU
00952     || (eventtype&AtNuEventType::kUPMU)==(AtNuEventType::kUPMU) )
00953    && ( !fPassCosmic
00954     || (eventtype&AtNuEventType::kCosmic)==(AtNuEventType::kCosmic) ) 
00955    && ( !fPassGoodCosmic
00956     || (eventtype&AtNuEventType::kGoodCosmic)==(AtNuEventType::kGoodCosmic) ) 
00957    && ( !fPassStoppingMuon
00958     || (eventtype&AtNuEventType::kStoppingMuon)==(AtNuEventType::kStoppingMuon) )
00959    && ( !fPassThroughGoingMuon 
00960     || (eventtype&AtNuEventType::kThroughGoingMuon)==(AtNuEventType::kThroughGoingMuon) ) 
00961    && ( !fPassMultipleMuon 
00962     || (eventtype&AtNuEventType::kMultipleMuon)==(AtNuEventType::kMultipleMuon) )  
00963    && ( !fPassSpill
00964     || (eventtype&AtNuEventType::kSpill)==(AtNuEventType::kSpill) )
00965    && ( !fPassBeamSpill
00966     || (eventtype&AtNuEventType::kBeamSpill)==(AtNuEventType::kBeamSpill) )
00967    && ( !fPassFakeSpill
00968     || (eventtype&AtNuEventType::kFakeSpill)==(AtNuEventType::kFakeSpill) ) ){
00969     passfail = 1; 
00970   }
00971 
00972   // fail event types (overrides pass)
00973   // =================================
00974   if( ( fFailGoodSlice 
00975     && (eventtype&AtNuEventType::kGoodSlice)==(AtNuEventType::kGoodSlice) )
00976    || ( fFailGoodEvent 
00977     && (eventtype&AtNuEventType::kGoodEvent)==(AtNuEventType::kGoodEvent) )
00978    || ( fFailGoodTrack 
00979     && (eventtype&AtNuEventType::kGoodTrack)==(AtNuEventType::kGoodTrack) ) 
00980    || ( fFailGoodShower
00981     && (eventtype&AtNuEventType::kGoodShower)==(AtNuEventType::kGoodShower) ) 
00982    || ( fFailCV
00983     && (eventtype&AtNuEventType::kCV)==(AtNuEventType::kCV) )
00984    || ( fFailCE
00985     && (eventtype&AtNuEventType::kCE)==(AtNuEventType::kCE) )
00986    || ( fFailFC
00987     && (eventtype&AtNuEventType::kFC)==(AtNuEventType::kFC) )
00988    || ( fFailPC
00989     && (eventtype&AtNuEventType::kPC)==(AtNuEventType::kPC) )
00990    || ( fFailCVUP
00991     && (eventtype&AtNuEventType::kCVUP)==(AtNuEventType::kCVUP) )
00992    || ( fFailUPMU
00993     && (eventtype&AtNuEventType::kUPMU)==(AtNuEventType::kUPMU) )
00994    || ( fFailCosmic
00995     && (eventtype&AtNuEventType::kCosmic)==(AtNuEventType::kCosmic) ) 
00996    || ( fFailGoodCosmic
00997     && (eventtype&AtNuEventType::kGoodCosmic)==(AtNuEventType::kGoodCosmic) ) 
00998    || ( fFailStoppingMuon
00999     && (eventtype&AtNuEventType::kStoppingMuon)==(AtNuEventType::kStoppingMuon) )
01000    || ( fFailThroughGoingMuon 
01001     && (eventtype&AtNuEventType::kThroughGoingMuon)==(AtNuEventType::kThroughGoingMuon) ) 
01002    || ( fFailMultipleMuon 
01003     && (eventtype&AtNuEventType::kMultipleMuon)==(AtNuEventType::kMultipleMuon) )  
01004    || ( fFailSpill
01005     && (eventtype&AtNuEventType::kSpill)==(AtNuEventType::kSpill) )
01006    || ( fFailBeamSpill
01007     && (eventtype&AtNuEventType::kBeamSpill)==(AtNuEventType::kBeamSpill) )
01008    || ( fFailFakeSpill
01009     && (eventtype&AtNuEventType::kFakeSpill)==(AtNuEventType::kFakeSpill) ) ){
01010     passfail = 0; 
01011   }
01012 
01013   // select event types
01014   // ==================
01015   if( passfail ){
01016     if( fSelectEventType ){
01017       passfail = 0;
01018       if( ( fSelectGoodSlice 
01019         && (eventtype&AtNuEventType::kGoodSlice)==(AtNuEventType::kGoodSlice) )
01020        || ( fSelectGoodEvent 
01021         && (eventtype&AtNuEventType::kGoodEvent)==(AtNuEventType::kGoodEvent) )
01022        || ( fSelectGoodTrack 
01023         && (eventtype&AtNuEventType::kGoodTrack)==(AtNuEventType::kGoodTrack) ) 
01024        || ( fSelectGoodShower
01025         && (eventtype&AtNuEventType::kGoodShower)==(AtNuEventType::kGoodShower) ) 
01026        || ( fSelectCV
01027         && (eventtype&AtNuEventType::kCV)==(AtNuEventType::kCV) )
01028        || ( fSelectCE
01029         && (eventtype&AtNuEventType::kCE)==(AtNuEventType::kCE) )
01030        || ( fSelectFC
01031         && (eventtype&AtNuEventType::kFC)==(AtNuEventType::kFC) )
01032        || ( fSelectPC
01033         && (eventtype&AtNuEventType::kPC)==(AtNuEventType::kPC) )
01034        || ( fSelectCVUP
01035         && (eventtype&AtNuEventType::kCVUP)==(AtNuEventType::kCVUP) )
01036        || ( fSelectUPMU
01037         && (eventtype&AtNuEventType::kUPMU)==(AtNuEventType::kUPMU) )
01038        || ( fSelectCosmic
01039         && (eventtype&AtNuEventType::kCosmic)==(AtNuEventType::kCosmic) ) 
01040        || ( fSelectGoodCosmic
01041         && (eventtype&AtNuEventType::kGoodCosmic)==(AtNuEventType::kGoodCosmic) ) 
01042        || ( fSelectStoppingMuon
01043         && (eventtype&AtNuEventType::kStoppingMuon)==(AtNuEventType::kStoppingMuon) )
01044        || ( fSelectThroughGoingMuon 
01045         && (eventtype&AtNuEventType::kThroughGoingMuon)==(AtNuEventType::kThroughGoingMuon) ) 
01046        || ( fSelectMultipleMuon 
01047         && (eventtype&AtNuEventType::kMultipleMuon)==(AtNuEventType::kMultipleMuon) )  
01048        || ( fSelectSpill
01049         && (eventtype&AtNuEventType::kSpill)==(AtNuEventType::kSpill) )
01050        || ( fSelectBeamSpill
01051         && (eventtype&AtNuEventType::kBeamSpill)==(AtNuEventType::kBeamSpill) )
01052        || ( fSelectFakeSpill
01053         && (eventtype&AtNuEventType::kFakeSpill)==(AtNuEventType::kFakeSpill) ) ){
01054         passfail = 1; 
01055       }
01056     }
01057   }
01058 
01059   if( passfail){ 
01060     if( (eventtype&AtNuEventType::kGoodSlice)==(AtNuEventType::kGoodSlice) ){
01061       std::cout << "   EventType::GoodSlice " << std::endl;
01062     }
01063     if( (eventtype&AtNuEventType::kGoodEvent)==(AtNuEventType::kGoodEvent) ){
01064       std::cout << "   EventType::GoodEvent " << std::endl;
01065     }
01066     if( (eventtype&AtNuEventType::kGoodTrack)==(AtNuEventType::kGoodTrack) ){
01067       std::cout << "   EventType::GoodTrack " << std::endl;
01068     }
01069     if( (eventtype&AtNuEventType::kGoodShower)==(AtNuEventType::kGoodShower) ){
01070       std::cout << "   EventType::GoodShower " << std::endl;
01071     }
01072     if( (eventtype&AtNuEventType::kCV)==(AtNuEventType::kCV) ){
01073       std::cout << "   EventType::kCV " << std::endl;  
01074     }
01075     if( (eventtype&AtNuEventType::kCE)==(AtNuEventType::kCE) ){
01076       std::cout << "   EventType::kCE " << std::endl;
01077     }
01078     if( (eventtype&AtNuEventType::kFC)==(AtNuEventType::kFC) ){
01079       std::cout << "   EventType::kFC " << std::endl;
01080     }
01081     if( (eventtype&AtNuEventType::kPC)==(AtNuEventType::kPC) ){
01082       std::cout << "   EventType::kPC " << std::endl;
01083     }
01084     if( (eventtype&AtNuEventType::kCVUP)==(AtNuEventType::kCVUP) ){
01085       std::cout << "   EventType::kCVUP " << std::endl;
01086     }
01087     if( (eventtype&AtNuEventType::kUPMU)==(AtNuEventType::kUPMU) ){
01088       std::cout << "   EventType::kUPMU " << std::endl;
01089     }
01090     if( (eventtype&AtNuEventType::kCosmic)==(AtNuEventType::kCosmic) ){
01091       std::cout << "   EventType::kCosmic " << std::endl;
01092     }
01093     if( (eventtype&AtNuEventType::kGoodCosmic)==(AtNuEventType::kGoodCosmic) ){
01094       std::cout << "   EventType::kGoodCosmic " << std::endl;
01095     }
01096     if( (eventtype&AtNuEventType::kStoppingMuon)==(AtNuEventType::kStoppingMuon) ){
01097       std::cout << "   EventType::kStoppingMuon " << std::endl;
01098     }
01099     if( (eventtype&AtNuEventType::kThroughGoingMuon)==(AtNuEventType::kThroughGoingMuon) ){
01100       std::cout << "   EventType::kThroughGoingMuon " << std::endl;
01101     }
01102     if( (eventtype&AtNuEventType::kMultipleMuon)==(AtNuEventType::kMultipleMuon) ){
01103       std::cout << "   EventType::kMultipleMuon " << std::endl;
01104     }
01105     if( (eventtype&AtNuEventType::kSpill)==(AtNuEventType::kSpill) ){
01106       std::cout << "   EventType::kSpill " << std::endl;
01107     }
01108     if( (eventtype&AtNuEventType::kBeamSpill)==(AtNuEventType::kBeamSpill) ){
01109       std::cout << "   EventType::kBeamSpill " << std::endl;
01110     }
01111     if( (eventtype&AtNuEventType::kFakeSpill)==(AtNuEventType::kFakeSpill) ){
01112       std::cout << "   EventType::kFakeSpill " << std::endl;   
01113     }
01114   }
01115 
01116   return passfail;
01117 }

Bool_t AtNuEventViewer::PassFail (  )  [private]

Definition at line 894 of file AtNuEventViewer.cxx.

References fChain, fCounter, fEvent, fLast, fSelection, AtNuEventSelection::GetEventType(), AtNuEventType::kNothing, passfail(), run(), AtmosEvent::Run, and AtmosEvent::Snarl.

Referenced by controlNext(), and controlPrevious().

00895 {
00896 
00897   if( !fSelection ) return 1;
00898 
00899   if( fSelection ){
00900 
00901     Bool_t passfail = 0;
00902     Int_t eventtype = AtNuEventType::kNothing;
00903 
00904     if( fChain ){
00905       if( fCounter>=0 && fCounter<fLast ){
00906         fChain->GetEntry(fCounter);
00907         if( fEvent ){
00908           Int_t run = fEvent->Run;
00909           Int_t snarl = fEvent->Snarl; 
00910           std::cout << " Pass/Fail Event " << fCounter 
00911                     << ": run/snarl = " << run << "/" << snarl 
00912                     << std::endl;
00913           eventtype = fSelection->GetEventType(fEvent);
00914           passfail = this->PassFail(eventtype);
00915           std::cout << "  ... pass/fail=" << passfail << std::endl;
00916         }
00917       }
00918     }
00919 
00920     return passfail;
00921   }
00922 
00923   return 1;
00924 }

void AtNuEventViewer::PassFakeSpill ( Bool_t  pass = 1  ) 

Definition at line 735 of file AtNuEventViewer.cxx.

References fPassFakeSpill, and StartEventSelection().

00736 {
00737   if( pass ){
00738     this->StartEventSelection();
00739     fPassFakeSpill = pass;
00740   }
00741 }

void AtNuEventViewer::PassFC ( Bool_t  pass = 1  ) 

Definition at line 647 of file AtNuEventViewer.cxx.

References fPassFC, and StartEventSelection().

00648 {
00649   if( pass ){
00650     this->StartEventSelection();
00651     fPassFC = pass;
00652   }
00653 }

void AtNuEventViewer::PassGoodCosmic ( Bool_t  pass = 1  ) 

Definition at line 687 of file AtNuEventViewer.cxx.

References fPassGoodCosmic, and StartEventSelection().

00688 {
00689   if(pass){
00690     this->StartEventSelection();
00691     fPassGoodCosmic = pass;
00692   }
00693 }

void AtNuEventViewer::PassGoodEvent ( Bool_t  pass = 1  ) 

Definition at line 607 of file AtNuEventViewer.cxx.

References fPassGoodEvent, and StartEventSelection().

00608 {
00609   if( pass ){
00610     this->StartEventSelection();
00611     fPassGoodEvent = pass;
00612   }
00613 }

void AtNuEventViewer::PassGoodShower ( Bool_t  pass = 1  ) 

Definition at line 623 of file AtNuEventViewer.cxx.

References fPassGoodShower, and StartEventSelection().

00624 {
00625   if( pass ){
00626     this->StartEventSelection();
00627     fPassGoodShower = pass;
00628   }
00629 }

void AtNuEventViewer::PassGoodSlice ( Bool_t  pass = 1  ) 

Definition at line 599 of file AtNuEventViewer.cxx.

References fPassGoodSlice, and StartEventSelection().

00600 {
00601   if( pass ){
00602     this->StartEventSelection();
00603     fPassGoodSlice = pass;
00604   }
00605 }

void AtNuEventViewer::PassGoodTrack ( Bool_t  pass = 1  ) 

Definition at line 615 of file AtNuEventViewer.cxx.

References fPassGoodTrack, and StartEventSelection().

00616 {
00617   if( pass ){
00618     this->StartEventSelection();
00619     fPassGoodTrack = pass;
00620   }
00621 }

void AtNuEventViewer::PassMultipleMuon ( Bool_t  pass = 1  ) 

Definition at line 711 of file AtNuEventViewer.cxx.

References fPassMultipleMuon, and StartEventSelection().

00712 {
00713   if( pass ){
00714     this->StartEventSelection();
00715     fPassMultipleMuon = pass;
00716   }
00717 }

void AtNuEventViewer::PassPC ( Bool_t  pass = 1  ) 

Definition at line 655 of file AtNuEventViewer.cxx.

References fPassPC, and StartEventSelection().

00656 {
00657   if( pass ){
00658     this->StartEventSelection();
00659     fPassPC = pass;
00660   }
00661 }

void AtNuEventViewer::PassSpill ( Bool_t  pass = 1  ) 

Definition at line 719 of file AtNuEventViewer.cxx.

References fPassSpill, and StartEventSelection().

00720 {
00721   if( pass ){
00722     this->StartEventSelection();
00723     fPassSpill = pass;
00724   }
00725 }

void AtNuEventViewer::PassStoppingMuon ( Bool_t  pass = 1  ) 

Definition at line 695 of file AtNuEventViewer.cxx.

References fPassStoppingMuon, and StartEventSelection().

00696 {
00697   if( pass ){
00698     this->StartEventSelection();
00699     fPassStoppingMuon = pass;
00700   }
00701 }

void AtNuEventViewer::PassThroughGoingMuon ( Bool_t  pass = 1  ) 

Definition at line 703 of file AtNuEventViewer.cxx.

References fPassThroughGoingMuon, and StartEventSelection().

00704 {
00705   if( pass ){
00706     this->StartEventSelection();
00707     fPassThroughGoingMuon = pass;
00708   }
00709 }

void AtNuEventViewer::PassUPMU ( Bool_t  pass = 1  ) 

Definition at line 671 of file AtNuEventViewer.cxx.

References fPassUPMU, and StartEventSelection().

00672 {
00673   if( pass ){
00674     this->StartEventSelection();
00675     fPassUPMU = pass;
00676   }
00677 }

void AtNuEventViewer::SelectBeamSpill ( Bool_t  select = 1  ) 

Definition at line 581 of file AtNuEventViewer.cxx.

References fSelectBeamSpill, fSelectEventType, and StartEventSelection().

00582 {
00583   if( select ){
00584     this->StartEventSelection();
00585     fSelectBeamSpill = select;
00586     fSelectEventType = 1;
00587   }
00588 }

void AtNuEventViewer::SelectCE ( Bool_t  select = 1  ) 

Definition at line 482 of file AtNuEventViewer.cxx.

References fSelectCE, fSelectEventType, and StartEventSelection().

00483 {
00484   if( select ){
00485     this->StartEventSelection();
00486     fSelectCE = select;
00487     fSelectEventType = 1;
00488   }
00489 }

void AtNuEventViewer::SelectCosmic ( Bool_t  select = 1  ) 

Definition at line 527 of file AtNuEventViewer.cxx.

References fSelectCosmic, fSelectEventType, and StartEventSelection().

00528 {
00529   if(select){
00530     this->StartEventSelection();
00531     fSelectCosmic = select;
00532     fSelectEventType = 1;
00533   }
00534 }

void AtNuEventViewer::SelectCV ( Bool_t  select = 1  ) 

Definition at line 473 of file AtNuEventViewer.cxx.

References fSelectCV, fSelectEventType, and StartEventSelection().

00474 {
00475   if( select ){
00476     this->StartEventSelection();
00477     fSelectCV = select;
00478     fSelectEventType = 1;
00479   }
00480 }

void AtNuEventViewer::SelectCVUP ( Bool_t  select = 1  ) 

Definition at line 509 of file AtNuEventViewer.cxx.

References fSelectCVUP, fSelectEventType, and StartEventSelection().

00510 {
00511   if( select ){
00512     this->StartEventSelection();
00513     fSelectCVUP = select;
00514     fSelectEventType = 1;
00515   }
00516 }

void AtNuEventViewer::SelectFakeSpill ( Bool_t  select = 1  ) 

Definition at line 590 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectFakeSpill, and StartEventSelection().

00591 {
00592   if( select ){
00593     this->StartEventSelection();
00594     fSelectFakeSpill = select;
00595     fSelectEventType = 1;
00596   }
00597 }

void AtNuEventViewer::SelectFC ( Bool_t  select = 1  ) 

Definition at line 491 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectFC, and StartEventSelection().

00492 {
00493   if( select ){
00494     this->StartEventSelection();
00495     fSelectFC = select; 
00496     fSelectEventType = 1;
00497   }
00498 }

void AtNuEventViewer::SelectGoodCosmic ( Bool_t  select = 1  ) 

Definition at line 536 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectGoodCosmic, and StartEventSelection().

00537 {
00538   if(select){
00539     this->StartEventSelection();
00540     fSelectGoodCosmic = select;
00541     fSelectEventType = 1;
00542   }
00543 }

void AtNuEventViewer::SelectGoodEvent ( Bool_t  select = 1  ) 

Definition at line 446 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectGoodEvent, and StartEventSelection().

00447 {
00448   if( select ){
00449     this->StartEventSelection();
00450     fSelectGoodEvent = select;
00451     fSelectEventType = 1;
00452   }
00453 }

void AtNuEventViewer::SelectGoodShower ( Bool_t  select = 1  ) 

Definition at line 464 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectGoodShower, and StartEventSelection().

00465 {
00466   if( select ){
00467     this->StartEventSelection();
00468     fSelectGoodShower = select;
00469     fSelectEventType = 1;
00470   }
00471 }

void AtNuEventViewer::SelectGoodSlice ( Bool_t  select = 1  ) 

Definition at line 437 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectGoodSlice, and StartEventSelection().

00438 {
00439   if( select ){
00440     this->StartEventSelection();
00441     fSelectGoodSlice = select;
00442     fSelectEventType = 1;
00443   }
00444 }

void AtNuEventViewer::SelectGoodTrack ( Bool_t  select = 1  ) 

Definition at line 455 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectGoodTrack, and StartEventSelection().

00456 {
00457   if( select ){
00458     this->StartEventSelection();
00459     fSelectGoodTrack = select;
00460     fSelectEventType = 1;
00461   }
00462 }

void AtNuEventViewer::SelectMultipleMuon ( Bool_t  select = 1  ) 

Definition at line 563 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectMultipleMuon, and StartEventSelection().

00564 {
00565   if( select ){
00566     this->StartEventSelection();
00567     fSelectMultipleMuon = select;
00568     fSelectEventType = 1;
00569   }
00570 }

void AtNuEventViewer::SelectPC ( Bool_t  select = 1  ) 

Definition at line 500 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectPC, and StartEventSelection().

00501 {
00502   if( select ){
00503     this->StartEventSelection();
00504     fSelectPC = select; 
00505     fSelectEventType = 1;
00506   }
00507 }

void AtNuEventViewer::SelectSpill ( Bool_t  select = 1  ) 

Definition at line 572 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectSpill, and StartEventSelection().

00573 {
00574   if( select ){
00575     this->StartEventSelection();
00576     fSelectSpill = select;
00577     fSelectEventType = 1;
00578   }
00579 }

void AtNuEventViewer::SelectStoppingMuon ( Bool_t  select = 1  ) 

Definition at line 545 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectStoppingMuon, and StartEventSelection().

00546 {
00547   if( select ){
00548     this->StartEventSelection();
00549     fSelectStoppingMuon = select;
00550     fSelectEventType = 1;
00551   }
00552 }

void AtNuEventViewer::SelectThroughGoingMuon ( Bool_t  select = 1  ) 

Definition at line 554 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectThroughGoingMuon, and StartEventSelection().

00555 {
00556   if( select ){
00557     this->StartEventSelection();
00558     fSelectThroughGoingMuon = select;
00559     fSelectEventType = 1;
00560   }
00561 }

void AtNuEventViewer::SelectUPMU ( Bool_t  select = 1  ) 

Definition at line 518 of file AtNuEventViewer.cxx.

References fSelectEventType, fSelectUPMU, and StartEventSelection().

00519 {
00520   if( select ){
00521     this->StartEventSelection();
00522     fSelectUPMU = select;
00523     fSelectEventType = 1;
00524   }
00525 }

void AtNuEventViewer::StartEventSelection (  )  [private]

Member Data Documentation

TButton* AtNuEventViewer::buttonFree1 [private]

Definition at line 116 of file AtNuEventViewer.h.

Referenced by ~AtNuEventViewer().

TButton* AtNuEventViewer::buttonFree2 [private]

Definition at line 117 of file AtNuEventViewer.h.

Referenced by ~AtNuEventViewer().

TButton* AtNuEventViewer::buttonGoTo [private]

Definition at line 114 of file AtNuEventViewer.h.

Referenced by Initialize(), and ~AtNuEventViewer().

TButton* AtNuEventViewer::buttonNext [private]

Definition at line 112 of file AtNuEventViewer.h.

Referenced by Initialize(), and ~AtNuEventViewer().

TButton* AtNuEventViewer::buttonPrevious [private]

Definition at line 113 of file AtNuEventViewer.h.

Referenced by Initialize(), and ~AtNuEventViewer().

TButton* AtNuEventViewer::buttonPrint [private]

Definition at line 115 of file AtNuEventViewer.h.

Referenced by Initialize(), and ~AtNuEventViewer().

TButton* AtNuEventViewer::buttonQuit [private]

Definition at line 118 of file AtNuEventViewer.h.

Referenced by Initialize(), and ~AtNuEventViewer().

TButton* AtNuEventViewer::buttonStart [private]

Definition at line 111 of file AtNuEventViewer.h.

Referenced by Initialize(), and ~AtNuEventViewer().

TChain* AtNuEventViewer::fChain [private]

Definition at line 187 of file AtNuEventViewer.h.

Referenced by AddFile(), Display(), Find(), Initialize(), and PassFail().

TCanvas* AtNuEventViewer::fControlCanvas [private]

Definition at line 110 of file AtNuEventViewer.h.

Referenced by Initialize(), and ~AtNuEventViewer().

Int_t AtNuEventViewer::fCounter [private]

Definition at line 188 of file AtNuEventViewer.h.

Referenced by controlNext(), controlPrevious(), Display(), Find(), and PassFail().

Definition at line 185 of file AtNuEventViewer.h.

Referenced by Display(), and DisplayEventInfo().

Definition at line 120 of file AtNuEventViewer.h.

Referenced by controlStart(), Initialize(), and ~AtNuEventViewer().

Definition at line 200 of file AtNuEventViewer.h.

Referenced by Display(), DisplayInfo(), Find(), Initialize(), and PassFail().

Int_t AtNuEventViewer::fEventList [private]

Definition at line 193 of file AtNuEventViewer.h.

Referenced by AddList(), controlGoTo(), controlNext(), and controlPrevious().

Definition at line 194 of file AtNuEventViewer.h.

Referenced by controlNext(), and controlPrevious().

Definition at line 195 of file AtNuEventViewer.h.

Referenced by AddList(), and controlNext().

Definition at line 182 of file AtNuEventViewer.h.

Referenced by FailBeamSpill(), and PassFail().

Bool_t AtNuEventViewer::fFailCE [private]

Definition at line 171 of file AtNuEventViewer.h.

Referenced by FailCE(), and PassFail().

Bool_t AtNuEventViewer::fFailCosmic [private]

Definition at line 176 of file AtNuEventViewer.h.

Referenced by FailCosmic(), and PassFail().

Bool_t AtNuEventViewer::fFailCV [private]

Definition at line 170 of file AtNuEventViewer.h.

Referenced by FailCV(), and PassFail().

Bool_t AtNuEventViewer::fFailCVUP [private]

Definition at line 174 of file AtNuEventViewer.h.

Referenced by FailCVUP(), and PassFail().

Definition at line 183 of file AtNuEventViewer.h.

Referenced by FailFakeSpill(), and PassFail().

Bool_t AtNuEventViewer::fFailFC [private]

Definition at line 172 of file AtNuEventViewer.h.

Referenced by FailFC(), and PassFail().

Definition at line 177 of file AtNuEventViewer.h.

Referenced by FailGoodCosmic(), and PassFail().

Definition at line 167 of file AtNuEventViewer.h.

Referenced by FailGoodEvent(), and PassFail().

Definition at line 169 of file AtNuEventViewer.h.

Referenced by FailGoodShower(), and PassFail().

Definition at line 166 of file AtNuEventViewer.h.

Referenced by FailGoodSlice(), and PassFail().

Definition at line 168 of file AtNuEventViewer.h.

Referenced by FailGoodTrack(), and PassFail().

Definition at line 180 of file AtNuEventViewer.h.

Referenced by FailMultipleMuon(), and PassFail().

Bool_t AtNuEventViewer::fFailPC [private]

Definition at line 173 of file AtNuEventViewer.h.

Referenced by FailPC(), and PassFail().

Bool_t AtNuEventViewer::fFailSpill [private]

Definition at line 181 of file AtNuEventViewer.h.

Referenced by FailSpill(), and PassFail().

Definition at line 178 of file AtNuEventViewer.h.

Referenced by FailStoppingMuon(), and PassFail().

Definition at line 179 of file AtNuEventViewer.h.

Referenced by FailThroughGoingMuon(), and PassFail().

Bool_t AtNuEventViewer::fFailUPMU [private]

Definition at line 175 of file AtNuEventViewer.h.

Referenced by FailUPMU(), and PassFail().

Int_t AtNuEventViewer::fLast [private]

Definition at line 189 of file AtNuEventViewer.h.

Referenced by AddFile(), controlNext(), Display(), Find(), and PassFail().

Definition at line 163 of file AtNuEventViewer.h.

Referenced by PassBeamSpill(), and PassFail().

Bool_t AtNuEventViewer::fPassCE [private]

Definition at line 152 of file AtNuEventViewer.h.

Referenced by PassCE(), and PassFail().

Bool_t AtNuEventViewer::fPassCosmic [private]

Definition at line 157 of file AtNuEventViewer.h.

Referenced by PassCosmic(), and PassFail().

Bool_t AtNuEventViewer::fPassCV [private]

Definition at line 151 of file AtNuEventViewer.h.

Referenced by PassCV(), and PassFail().

Bool_t AtNuEventViewer::fPassCVUP [private]

Definition at line 155 of file AtNuEventViewer.h.

Referenced by PassCVUP(), and PassFail().

Definition at line 164 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassFakeSpill().

Bool_t AtNuEventViewer::fPassFC [private]

Definition at line 153 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassFC().

Definition at line 158 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassGoodCosmic().

Definition at line 148 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassGoodEvent().

Definition at line 150 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassGoodShower().

Definition at line 147 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassGoodSlice().

Definition at line 149 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassGoodTrack().

Definition at line 161 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassMultipleMuon().

Bool_t AtNuEventViewer::fPassPC [private]

Definition at line 154 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassPC().

Bool_t AtNuEventViewer::fPassSpill [private]

Definition at line 162 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassSpill().

Definition at line 159 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassStoppingMuon().

Definition at line 160 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassThroughGoingMuon().

Bool_t AtNuEventViewer::fPassUPMU [private]

Definition at line 156 of file AtNuEventViewer.h.

Referenced by PassFail(), and PassUPMU().

Int_t AtNuEventViewer::fRun [private]

Definition at line 190 of file AtNuEventViewer.h.

Referenced by Display(), and Find().

vector<Int_t> AtNuEventViewer::fRunList [private]

Definition at line 197 of file AtNuEventViewer.h.

Referenced by AddList(), controlNext(), and controlPrevious().

Definition at line 144 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectBeamSpill().

Bool_t AtNuEventViewer::fSelectCE [private]

Definition at line 133 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectCE().

Definition at line 138 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectCosmic().

Bool_t AtNuEventViewer::fSelectCV [private]

Definition at line 132 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectCV().

Bool_t AtNuEventViewer::fSelectCVUP [private]

Definition at line 136 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectCVUP().

Definition at line 145 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectFakeSpill().

Bool_t AtNuEventViewer::fSelectFC [private]

Definition at line 134 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectFC().

Definition at line 139 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectGoodCosmic().

Definition at line 129 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectGoodEvent().

Definition at line 131 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectGoodShower().

Definition at line 128 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectGoodSlice().

Definition at line 130 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectGoodTrack().

Definition at line 123 of file AtNuEventViewer.h.

Referenced by Initialize(), StartEventSelection(), and ~AtNuEventViewer().

Definition at line 142 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectMultipleMuon().

Bool_t AtNuEventViewer::fSelectPC [private]

Definition at line 135 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectPC().

Definition at line 143 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectSpill().

Definition at line 140 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectStoppingMuon().

Definition at line 141 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectThroughGoingMuon().

Bool_t AtNuEventViewer::fSelectUPMU [private]

Definition at line 137 of file AtNuEventViewer.h.

Referenced by PassFail(), and SelectUPMU().

Int_t AtNuEventViewer::fSnarl [private]

Definition at line 191 of file AtNuEventViewer.h.

Referenced by Display(), and Find().

vector<Int_t> AtNuEventViewer::fSnarlList [private]

Definition at line 198 of file AtNuEventViewer.h.

Referenced by AddList(), controlNext(), and controlPrevious().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1