00001 /* -*- mode: c++ -*- 00002 * 00003 * Copyright (C) 2000-2004 The Board of Trustees of The Leland 00004 * Stanford Junior University. All Rights Reserved. 00005 * 00006 * $Id: StripChartProjector.h,v 1.25 2004/09/05 21:30:11 pfkeb Exp $ 00007 * 00008 */ 00009 00010 #ifndef _StripChartProjector_H_ 00011 #define _StripChartProjector_H_ 00012 00013 #include "projectors/Map2Projector.h" 00014 00015 /*** A derived class of Map2Projector that maps 2 ntuple columns to 00016 the projection with the initial x projection value being the 00017 smallest value in the ntuple column bound to the x projection. 00018 00019 @bug If the Y axis points go out of range, the plot becomes in 00020 correct in that the lines to no go to the range border. 00021 00022 @author Paul F. Kunz <Paul_Kunz@slac.stanford.edu> 00023 @author Matan Shacham <matan@slac.stanford.edu> 00024 */ 00025 class MDL_HIPPOPLOT_API StripChartProjector : public Map2Projector 00026 { 00027 00028 private: 00029 00031 StripChartProjector ( const StripChartProjector & projector ); 00032 00034 virtual void addPointReps (); 00035 00036 public: 00037 00039 StripChartProjector(); 00040 00043 ProjectorBase * clone (); 00044 00049 virtual void fillProjectedValues ( DataSource * ntuple, 00050 bool in_range = false ) const; 00051 00052 }; 00053 00054 #endif // _StripChartProjector_H_