ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPlots/Style/src/HistStyle.cc
Revision: 1.2
Committed: Tue Jan 25 11:30:31 2011 UTC (14 years, 3 months ago) by paus
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_029a, Mit_028, Mit_027, Mit_027a, HEAD
Changes since 1.1: +25 -0 lines
Log Message:
2nd try

File Contents

# User Rev Content
1 paus 1.2 // $Id: HistStyle.cc,v 1.1.2.2 2010/10/12 21:25:04 paus Exp $
2    
3     #include "MitPlots/Style/interface/HistStyle.h"
4    
5     ClassImp(mithep::HistStyle)
6    
7     using namespace std;
8     using namespace mithep;
9    
10     //--------------------------------------------------------------------------------------------------
11     HistStyle::HistStyle() :
12     fColor (1),
13     fLineWidth (2.0),
14     fFillStyle (0),
15     fMarkerStyle(20),
16     fMarkerSize (1.2)
17     {
18     // Constructor
19     }
20    
21     void HistStyle::Show() const
22     {
23     // Show information of this histogram style
24     printf(" %3d %3.1f %6d %6d %3.1f\n",fColor,fLineWidth,fFillStyle,fMarkerStyle,fMarkerSize);
25     }