BIE::PSanityFilter Class Reference

PSanity Filter: Checks the sanity of the model and data by determining whether events exist that have zero probability The input fields for this filter are "data" and "theory". More...

#include <SetFilters.h>

Inheritance diagram for BIE::PSanityFilter:
Collaboration diagram for BIE::PSanityFilter:

List of all members.

Public Member Functions

 PSanityFilter (RecordStream *stream)
 Creates an unconnected data/model sanity filter.
void compute ()
 Called to compute the result of the addition when a value is pushed or pulled on a stream.

Friends

class boost::serialization::access


Detailed Description

PSanity Filter: Checks the sanity of the model and data by determining whether events exist that have zero probability The input fields for this filter are "data" and "theory".

If data!=0 when theory==0, "insane" gives the number of crazy bins and "maxinsane" gives the most discrepant case


Member Function Documentation

void BIE::PSanityFilter::compute (  )  [virtual]

Called to compute the result of the addition when a value is pushed or pulled on a stream.

Implements BIE::RecordStreamFilter.


The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:13 2010 by doxygen