00001 00002 // $Id: DetectorViewOption.h,v 1.1 2007/12/01 21:27:25 jpaley Exp $ 00003 // 00004 // Display parameters for Detector view. 00005 // 00006 // \author jpaley@indiana.edu 00008 #ifndef DETECTORVIEWOPTIONS_H 00009 #define DETECTORVIEWOPTIONS_H 00010 #include "Config/Observer.h" 00011 #include <string> 00012 #include <vector> 00013 00014 class cfg::Config; 00015 00016 class DetectorViewOption : public cfg::Observer 00017 { 00018 public: 00019 static const DetectorViewOption& Instance(); 00020 00021 int fDrawMCTruthVectors; 00022 int fDrawRawDigits; 00023 00024 void Update(const cfg::Config& c); 00025 00026 private: 00027 DetectorViewOption(); 00028 static DetectorViewOption* fInstance; 00029 }; 00030 00031 #endif 00032
1.3.9.1