Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

recocert::TrackHists Class Reference

Standard track histograms. More...

#include <TrackHists.hpp>

Inheritance diagram for recocert::TrackHists::

recocert::HistSets List of all members.

Public Methods

 TrackHists (const std::string name, HepRootFileManager *manager=NULL)
 Constructor. More...

void fill (const std::vector< vertex::ChargedParticle > *tracks, const cuts::Cut< vertex::ChargedParticle > *cut=NULL)
 Fill standard histograms. More...

void draw (const int &level=0, TPostScript *psfile=NULL, std::vector< HistSets *> *overlaySet=NULL)
 Draw standard plots. More...

void stat (std::ostream &out, const int &level=0)
 Print summary statistics. More...


Private Methods

void create (const edm::RCP *rcp)
 Create the actual histograms.


Detailed Description

Standard track histograms.

This class creates, fills, and draws standard track histograms. Specifically, properties of reconstructed ChargedParticle's are histogrammed.

The following types of information are provided:

Track parameters are provided at various points in space, which include the distance of closest approach to the Z-axis (0,0), the primary vertex (as found by RECO) and the "best" vertex for that track.

This class derives from the abstract base class HistSets.


Constructor & Destructor Documentation

recocert::TrackHists::TrackHists ( const std::string name,
HepRootFileManager * manager = NULL )
 

Constructor.

Creates a new set of standard histograms with a given name. If a file manager is provided, a subdirectory is created in the file based on histogram set name.


Member Function Documentation

void recocert::TrackHists::create ( const edm::RCP * rcp ) [private, virtual]
 

Create the actual histograms.

Reimplemented from recocert::HistSets.

void recocert::TrackHists::draw ( const int & level = 0,
TPostScript * psfile = NULL,
std::vector< HistSets *> * overlaySet = NULL ) [virtual]
 

Draw standard plots.

Standard histograms are drawn depending on the user specified value of level. The higher the level, the more detailed the plots. The default level gives a summary, appropriate for simple testing.

Histograms can be drawn into a postscript file, if supplied.

This method can also optionally overlay histograms from other sets, by supplying a collection of other sets. Implementation depends on the concrete class (e.g. normalization choices, color choices, etc.).

Reimplemented from recocert::HistSets.

void recocert::TrackHists::fill ( const std::vector< vertex::ChargedParticle > * tracks,
const cuts::Cut< vertex::ChargedParticle > * cut = NULL )
 

Fill standard histograms.

Standard histograms are filled for the given collection of ChargedParticles. Optionally, the user can supply a "cut", which can be used to select particular ChargedParticles (not yet implemented).

void recocert::TrackHists::stat ( std::ostream & out,
const int & level = 0 ) [virtual]
 

Print summary statistics.

Selected statistics are written into the supplied ostream, depending on the user specified value of level. The higher the level, the more detailed the statistics.

Reimplemented from recocert::HistSets.


The documentation for this class was generated from the following file:
Generated at Sat Oct 4 20:18:33 2003 for recocert by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001