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

PlaneViewOption Class Reference

#include <PlaneViewOption.h>

Inheritance diagram for PlaneViewOption:

cfg::Observer List of all members.

Public Member Functions

void Update (const cfg::Config &c)

Static Public Member Functions

const PlaneViewOptionInstance ()

Public Attributes

int fDrawMCTruthVectors
int fDrawMCTruthHits
int fDrawRawDigits
int fDrawFilaments
int fDrawTracks
int fDrawTrackCandidates
int fDrawPlaneClusters
int fDrawShowers
int fDraw3DShowers
std::string fTrackRecoName

Private Member Functions

 PlaneViewOption ()

Static Private Attributes

PlaneViewOptionfInstance = 0

Constructor & Destructor Documentation

PlaneViewOption::PlaneViewOption  )  [private]
 

Definition at line 40 of file PlaneViewOption.cxx.

References cfg::Observer::SetWatch().

Referenced by Instance().

00041 {
00042   this->SetWatch("Plane View Display Options","test");
00043 }


Member Function Documentation

const PlaneViewOption & PlaneViewOption::Instance  )  [static]
 

Definition at line 16 of file PlaneViewOption.cxx.

References fInstance, and PlaneViewOption().

Referenced by evd::PlaneView::PlaneView().

00017 {
00018   if (fInstance==0) fInstance = new PlaneViewOption();
00019   return *fInstance;
00020 }

void PlaneViewOption::Update const cfg::Config c  )  [virtual]
 

Implements cfg::Observer.

Definition at line 24 of file PlaneViewOption.cxx.

References fDraw3DShowers, fDrawFilaments, fDrawMCTruthHits, fDrawMCTruthVectors, fDrawPlaneClusters, fDrawRawDigits, fDrawShowers, fDrawTrackCandidates, fDrawTracks, and fTrackRecoName.

00025 {
00026   c("DrawMCTruthVectors"). Get(fDrawMCTruthVectors);
00027   c("DrawMCTruthHits").    Get(fDrawMCTruthHits);
00028   c("DrawRawDigits").      Get(fDrawRawDigits);
00029   c("DrawFilaments").      Get(fDrawFilaments);
00030   c("DrawTrackCandidates").Get(fDrawTrackCandidates);
00031   c("DrawTracks").         Get(fDrawTracks);
00032   c("DrawPlaneClusters").  Get(fDrawPlaneClusters);
00033   c("DrawShowers").        Get(fDrawShowers);
00034   c("Draw3DShowers").      Get(fDraw3DShowers);
00035   c("TrackRecoName").      Get(fTrackRecoName);
00036 }


Member Data Documentation

int PlaneViewOption::fDraw3DShowers
 

Definition at line 29 of file PlaneViewOption.h.

Referenced by evd::PlaneView::Draw(), and Update().

int PlaneViewOption::fDrawFilaments
 

Definition at line 24 of file PlaneViewOption.h.

Referenced by evd::PlaneView::Draw(), and Update().

int PlaneViewOption::fDrawMCTruthHits
 

Definition at line 22 of file PlaneViewOption.h.

Referenced by evd::PlaneView::Draw(), and Update().

int PlaneViewOption::fDrawMCTruthVectors
 

Definition at line 21 of file PlaneViewOption.h.

Referenced by evd::PlaneView::Draw(), and Update().

int PlaneViewOption::fDrawPlaneClusters
 

Definition at line 27 of file PlaneViewOption.h.

Referenced by evd::PlaneView::Draw(), and Update().

int PlaneViewOption::fDrawRawDigits
 

Definition at line 23 of file PlaneViewOption.h.

Referenced by evd::PlaneView::Draw(), and Update().

int PlaneViewOption::fDrawShowers
 

Definition at line 28 of file PlaneViewOption.h.

Referenced by evd::PlaneView::Draw(), and Update().

int PlaneViewOption::fDrawTrackCandidates
 

Definition at line 26 of file PlaneViewOption.h.

Referenced by evd::PlaneView::Draw(), and Update().

int PlaneViewOption::fDrawTracks
 

Definition at line 25 of file PlaneViewOption.h.

Referenced by evd::PlaneView::Draw(), and Update().

PlaneViewOption * PlaneViewOption::fInstance = 0 [static, private]
 

Definition at line 12 of file PlaneViewOption.cxx.

Referenced by Instance().

std::string PlaneViewOption::fTrackRecoName
 

Definition at line 30 of file PlaneViewOption.h.

Referenced by evd::PlaneView::DrawTrackCandidates(), evd::PlaneView::DrawTracks(), and Update().


The documentation for this class was generated from the following files:
Generated on Wed Oct 15 02:35:30 2008 for NOvA Offline by  doxygen 1.3.9.1