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

Analyze Class Reference

#include <Analyze.h>

Inheritance diagram for Analyze:

AbsValueCut AnalysisList Cal2Dfrac CalFitNrm Cut EnergyAnalysis EventSize FitKinkCut FOMaccepted FOMelapsed FOML1V FOML2T FOML3T FOMtrig1Cal FOMtrigII LayerGroup Level1 Level2 MultiPSF NumVetos PSFanalysis Statistic Summation SurplusHit TAngleCut WriteTuple XtalRatio List of all members.

Public Methods

 Analyze (std::string name="Generic count")
 Analyze (const Tuple& t, const std::string& item_name, const std::string& cut_name="")
 Analyze (const TupleItem& item, const std::string& cut_name="")
virtual ~Analyze ()
bool operator() ()
unsigned count () const
unsigned seen () const
float item () const
const std::string& name () const
void set_name (std::string newname)
void set_tuple_item (const Tuple&t, std::string item_name)
virtual void report (std::ostream& out)
virtual void clear ()

Static Public Methods

void separator (std::ostream& out, char ='-')
std::string make_label (const std::string&)
bool showperc ()
void showperc ( bool s )

Private Methods

virtual bool apply ()

Private Attributes

unsigned m_count
const TupleItem* m_tupleItem
std::string m_name
unsigned m_seen

Static Private Attributes

bool s_showperc = false

Constructor & Destructor Documentation

Analyze::Analyze ( std::string name = "Generic count" ) [inline]
 

Definition at line 15 of file Analyze.h.

Referenced by AnalysisList::AnalysisList().

Analyze::Analyze ( const Tuple & t,
const std::string & itemname,
const std::string & name = "" )
 

Definition at line 12 of file Analyze.cxx.

Analyze::Analyze ( const TupleItem & item,
const std::string & name = "" )
 

Definition at line 15 of file Analyze.cxx.

Analyze::~Analyze ( ) [inline, virtual]
 

Definition at line 21 of file Analyze.h.


Member Function Documentation

bool Analyze::apply ( ) [inline, private, virtual]
 

Reimplemented in AnalysisList, Cal2Dfrac, SurplusHit, XtalRatio, CalFitNrm, NumVetos, CutWithEthresh, Cut, EnergyAnalysis, Summation, FOMelapsed, EventSize, FOMtrig1Cal, Level2, FOMtrigII, FOML2T, FOML3T, FOML1V, WriteTuple, FOMaccepted, LayerGroup, Level1, MultiPSF, PSFanalysis, AbsValueCut, FitKinkCut, TAngleCut, and Statistic.

Definition at line 50 of file Analyze.h.

Referenced by operator()().

void Analyze::clear ( ) [inline, virtual]
 

Reimplemented in AnalysisList, Level2, Level1, PSFanalysis, and Statistic.

Definition at line 38 of file Analyze.h.

Referenced by Level2::Level2(), PSFanalysis::clear(), Level1::clear(), Level2::clear(), and AnalysisList::clear().

unsigned Analyze::count ( ) const [inline]
 

Reimplemented in PSFanalysis.

Definition at line 26 of file Analyze.h.

Referenced by Summation::average(), FOMtrigrate::report(), and report().

float Analyze::item ( ) const [inline]
 

Definition at line 28 of file Analyze.h.

Referenced by Statistic::apply(), TAngleCut::apply(), FitKinkCut::apply(), AbsValueCut::apply(), PSFanalysis::apply(), MultiPSF::apply(), Level1::apply(), LayerGroup::apply(), FOML1V::apply(), FOML3T::apply(), FOML2T::apply(), FOMtrigII::apply(), Level2::apply(), FOMtrig1Cal::apply(), FOMelapsed::apply(), Summation::apply(), EnergyAnalysis::apply(), Cut::apply(), NumVetos::apply(), CalFitNrm::apply(), XtalRatio::apply(), SurplusHit::apply(), and Cal2Dfrac::apply().

string Analyze::make_label ( const string & in ) [static]
 

Definition at line 28 of file Analyze.cxx.

Referenced by Statistic::report(), PSFanalysis::report(), MultiPSF::report(), FigureOfMerit::report(), FOMnacdtiles::report(), FOMncsixtals::report(), FOMnsistrips::report(), EventSize::report(), FOMevtsize::report(), FOMROtime::report(), FOMdeadtime::report(), FOMtrigrate::report(), FOMelapsed::report(), EnergyAnalysis::report(), and report().

const std::string & Analyze::name ( ) const [inline]
 

Definition at line 29 of file Analyze.h.

Referenced by Statistic::report(), Level1::report(), Level2::report(), FOMnacdtiles::report(), FOMncsixtals::report(), FOMnsistrips::report(), EventSize::report(), FOMevtsize::report(), FOMROtime::report(), FOMdeadtime::report(), FOMelapsed::report(), report(), and AnalysisList::report().

bool Analyze::operator() ( ) [inline]
 

Definition at line 23 of file Analyze.h.

void Analyze::report ( std::ostream & out ) [virtual]
 

Reimplemented in AnalysisList, EnergyAnalysis, FOMelapsed, FOMtrigrate, FOMdeadtime, FOMROtime, FOMevtsize, EventSize, FOMnsistrips, FOMncsixtals, FOMnacdtiles, Level2, FOMFront, FOMBack, Level3, LayerGroup, Level1, MultiPSF, PSFanalysis, and Statistic.

Definition at line 18 of file Analyze.cxx.

Referenced by MultiPSF::report(), Level1::report(), LayerGroup::report(), and Level2::report().

unsigned Analyze::seen ( ) const [inline]
 

Definition at line 27 of file Analyze.h.

Referenced by report().

void Analyze::separator ( std::ostream & out,
char s = '-' ) [static]
 

Definition at line 37 of file Analyze.cxx.

Referenced by Statistic::report(), MultiPSF::report(), Level1::report(), FigureOfMerit::report(), Level3::report(), FOMBack::report(), FOMFront::report(), Level2::report(), EventSize::report(), and AnalysisList::report().

void Analyze::set_name ( std::string newname ) [inline]
 

Definition at line 32 of file Analyze.h.

Referenced by AbsValueCut::AbsValueCut(), Cut::Cut(), Statistic::Statistic(), and Cut::parse().

void Analyze::set_tuple_item ( const Tuple & t,
std::string item_name )
 

Definition at line 42 of file Analyze.cxx.

Referenced by Statistic::Statistic(), and Cut::parse().

void Analyze::showperc ( bool s ) [inline, static]
 

Definition at line 46 of file Analyze.h.

bool Analyze::showperc ( ) [inline, static]
 

Definition at line 44 of file Analyze.h.

Referenced by main(), and report().


Member Data Documentation

unsigned Analyze::m_count [private]
 

Definition at line 54 of file Analyze.h.

std::string Analyze::m_name [private]
 

Definition at line 56 of file Analyze.h.

unsigned Analyze::m_seen [private]
 

Definition at line 58 of file Analyze.h.

const TupleItem * Analyze::m_tupleItem [private]
 

Definition at line 55 of file Analyze.h.

bool Analyze::s_showperc = false [static, private]
 

Definition at line 60 of file Analyze.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:40 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000