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

recocert::RecoCertMuon Class Reference

Certify muon id. More...

#include <RecoCertMuon.hpp>

Inheritance diagram for recocert::RecoCertMuon::

recocert::RecoCertComponent List of all members.

Public Methods

 RecoCertMuon (HepRootFileManager *hstMgr, const edm::RCP &rcp)
 RecoCertMuon (HepRootFileManager *manager, TFile *file)
 RecoCertMuon (HepRootFileManager *manager)
 ~RecoCertMuon ()
void analyze (const edm::Event &event, recocert::RecoCertAdapter *adapter)
 Analyze an event. More...

void draw (const int &level=0, TPostScript *psfile=NULL, std::vector< RecoCert *> *overlay=NULL)
 Draw histograms in a postscript file. More...

void save ()
 Save histograms. More...

void stats (std::ostream &out, const int &level)
 Print standard statistics. More...

void add (TFile *file)
 Add histograms from existing file to current ones. More...


Private Methods

void init (HepRootFileManager *manager, const edm::RCP *rcp=NULL)
 Initialize histograms and statistics.

void load (TFile *file)
 Load in histograms from an existing file.


Private Attributes

MuonHists_muoAll
MuonHists_muoMatched
MuonHists_muoAstub
MuonHists_muoBCstub
MuonHists_muoUnmatched
cuts::Filter< std::list<MuonId> >* _matchedFilter
cuts::Filter< std::list<MuonId> >* _aFilter
cuts::Filter< std::list<MuonId> >* _bcFilter
cuts::Filter< std::list<MuonId> >* _unmatchedFilter

Detailed Description

Certify muon id.


Constructor & Destructor Documentation

recocert::RecoCertMuon::RecoCertMuon ( HepRootFileManager * hstMgr,
const edm::RCP & rcp )
 

recocert::RecoCertMuon::RecoCertMuon ( HepRootFileManager * manager,
TFile * file )
 

recocert::RecoCertMuon::RecoCertMuon ( HepRootFileManager * manager )
 

recocert::RecoCertMuon::~RecoCertMuon ( )
 


Member Function Documentation

void recocert::RecoCertMuon::add ( TFile * file ) [virtual]
 

Add histograms from existing file to current ones.

To use this method, use the constructor XXX(HepRootFileManager* manager, TFile* file)

Reimplemented from recocert::RecoCertComponent.

void recocert::RecoCertMuon::analyze ( const edm::Event & event,
recocert::RecoCertAdapter * adapter ) [virtual]
 

Analyze an event.

Using the RecoCertAdapter to extract information from the event, this method is used to fill standard histograms and keep standard statistics to certify a given component of the DZERO reconstruction program.

Reimplemented from recocert::RecoCertComponent.

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

Draw histograms in a postscript file.

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.

Histograms from other components can also be overlaid, is supplied. Implementation depends on the specific concrete class.

Reimplemented from recocert::RecoCertComponent.

void recocert::RecoCertMuon::init ( HepRootFileManager * manager,
const edm::RCP * rcp = NULL ) [private, virtual]
 

Initialize histograms and statistics.

Reimplemented from recocert::RecoCertComponent.

void recocert::RecoCertMuon::load ( TFile * file ) [private, virtual]
 

Load in histograms from an existing file.

Reimplemented from recocert::RecoCertComponent.

void recocert::RecoCertMuon::save ( ) [virtual]
 

Save histograms.

This method is currently unsupported. It previously saved ROOT canvases containing the drawn histograms. It will soon be used to save merged histograms, created by using the add method.

Reimplemented from recocert::RecoCertComponent.

void recocert::RecoCertMuon::stats ( std::ostream & out,
const int & level ) [virtual]
 

Print standard 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::RecoCertComponent.


Member Data Documentation

cuts::Filter< std::list<MuonId> >* recocert::RecoCertMuon::_aFilter [private]
 

cuts::Filter< std::list<MuonId> >* recocert::RecoCertMuon::_bcFilter [private]
 

cuts::Filter< std::list<MuonId> >* recocert::RecoCertMuon::_matchedFilter [private]
 

MuonHists* recocert::RecoCertMuon::_muoAll [private]
 

MuonHists* recocert::RecoCertMuon::_muoAstub [private]
 

MuonHists* recocert::RecoCertMuon::_muoBCstub [private]
 

MuonHists* recocert::RecoCertMuon::_muoMatched [private]
 

MuonHists* recocert::RecoCertMuon::_muoUnmatched [private]
 

cuts::Filter< std::list<MuonId> >* recocert::RecoCertMuon::_unmatchedFilter [private]
 


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