00001 00002 // $Id: DetectorViewOption.cxx,v 1.1 2007/12/01 21:27:25 jpaley Exp $ 00003 // 00004 // Display parameters for the Detector view. 00005 // 00006 // \author jpaley@indiana.edu 00008 #include "EventDisplay/DetectorViewOption.h" 00009 #include "Config/Config.h" 00010 #include "Config/Param.h" 00011 00012 DetectorViewOption* DetectorViewOption::fInstance = 0; 00013 00014 //...................................................................... 00015 00016 const DetectorViewOption& DetectorViewOption::Instance() 00017 { 00018 if (fInstance==0) fInstance = new DetectorViewOption(); 00019 return *fInstance; 00020 } 00021 00022 //...................................................................... 00023 00024 void DetectorViewOption::Update(const cfg::Config& c) 00025 { 00026 c("DrawMCTruthVectors"). Get(fDrawMCTruthVectors); 00027 c("DrawRawDigits"). Get(fDrawRawDigits); 00028 } 00029 00030 //...................................................................... 00031 00032 DetectorViewOption::DetectorViewOption() 00033 { 00034 this->SetWatch("Detector View Display Options","test"); 00035 } 00036
1.3.9.1