Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

EventDisplay/GfxDigitList.cxx File Reference

#include "GfxDigitList.h"
#include "GfxDigitListCfg.h"
#include "GfxProxy.h"
#include "GfxDigitListMenu.h"
#include "EVD.h"
#include "ViewState.h"
#include <JobControl/JobC.h>
#include <DataUtil/TruthHelper.h>
#include <Midad/Base/PageDisplay.h>
#include <Midad/Base/Mint.h>
#include <Midad/Base/Rainbow.h>
#include <Midad/Base/DigitText.h>
#include <Midad/Util/Range.h>
#include <Midad/Gui/GuiSlider.h>
#include <Record/SimSnarlRecord.h>
#include <Record/SimSnarlHeader.h>
#include <Conventions/Munits.h>
#include <DataUtil/CDL2STL.h>
#include <CandDigit/CandDigitHandle.h>
#include <CandDigit/CandDigitListHandle.h>
#include <Conventions/PlaneView.h>
#include <Plex/PlexSEIdAltL.h>
#include <Plex/PlexSEIdAltLItem.h>
#include <Plex/PlexStripEndId.h>
#include <MessageService/MsgService.h>
#include <Buttons.h>
#include <TClonesArray.h>
#include <Record/RecArrayAllocator.h>
#include <sigc++/sigc++.h>
#include <sigc++/class_slot.h>
#include <iostream>
#include <string>

Go to the source code of this file.

Functions

 CVSID ("$Id: GfxDigitList.cxx,v 1.13 2004/08/31 13:29:05 musser Exp $")
bool select_digit (const CandDigitHandle *cdh, PlaneView::PlaneView_t view, RangeDouble *time_range)

Variables

GfxProxy< GfxDigitListgsGfxDigitListProxy ("DigitList", new GfxDigitListMenu())


Function Documentation

CVSID "$Id: GfxDigitList cxx,
v 1.13 2004/08/31 13:29:05 musser Exp $" 
 

bool select_digit const CandDigitHandle cdh,
PlaneView::PlaneView_t  view,
RangeDouble time_range
[static]
 

Definition at line 84 of file EventDisplay/GfxDigitList.cxx.

References PlexSEIdAltL::GetBestItem(), PlexSEIdAltL::GetPlaneView(), CandDigitHandle::GetPlexSEIdAltL(), PlexSEIdAltLItem::GetTime(), Range< TYPE >::InRange(), PlexSEIdAltL::IsVetoShield(), RangeDouble, and time_range().

Referenced by GfxDigitList::Configure().

00087 {
00088     if (!cdh) return false;
00089     //    Bool_t validVS = (gv==GraphicsView::kUV ||
00090     //                gv==GraphicsView::kXY) &&
00091     //  (cdh->GetPlexSEIdAltL().GetPlaneView()==PlaneView::kVSTopFlat);
00092  
00093     return (cdh->GetPlexSEIdAltL().GetPlaneView() == view || 
00094             cdh->GetPlexSEIdAltL().IsVetoShield())
00095         && time_range->InRange(cdh->GetPlexSEIdAltL().GetBestItem().GetTime());
00096 }


Variable Documentation

GfxProxy<GfxDigitList> gsGfxDigitListProxy("DigitList", new GfxDigitListMenu())
 


Generated on Thu Nov 1 11:54:42 2007 for loon by  doxygen 1.3.9.1