Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Anp::Select::Count Struct Reference

#include <SelectCount.h>

List of all members.

Public Member Functions

void Fill (Event &event, const Record &record, bool pass_)

Public Attributes

AlgCaddy< AlgEventpass
AlgCaddy< AlgEventfail
Particle::Particle_t particle


Member Function Documentation

void Anp::Select::Count::Fill Event event,
const Record record,
bool  pass_
 

Definition at line 25 of file SelectCount.cxx.

Referenced by Anp::SelectCount::Run().

00026 {
00027    pass.AllEvent(event.Weight());
00028    fail.AllEvent(event.Weight());
00029    
00030    if(pass_)
00031    {
00032       pass.OutEvent(event.Weight());
00033    }
00034    else
00035    {
00036       if(fail.alg.valid())
00037       {
00038          fail.alg -> Run(event, record, true);
00039       }
00040 
00041       fail.OutEvent(event.Weight());
00042    }
00043 
00044    if(pass.alg.valid()) 
00045    {
00046       pass.alg -> Run(event, record, pass_);
00047    }
00048 }


Member Data Documentation

AlgCaddy<AlgEvent> Anp::Select::Count::fail
 

Definition at line 36 of file SelectCount.h.

Referenced by Anp::SelectCount::End(), Anp::SelectCount::GetCount(), and Anp::SelectCount::Print().

Particle::Particle_t Anp::Select::Count::particle
 

Definition at line 38 of file SelectCount.h.

Referenced by Anp::SelectCount::GetCount(), and Anp::SelectCount::Print().

AlgCaddy<AlgEvent> Anp::Select::Count::pass
 

Definition at line 35 of file SelectCount.h.

Referenced by Anp::SelectCount::End(), Anp::SelectCount::GetCount(), and Anp::SelectCount::Print().


The documentation for this struct was generated from the following files:
Generated on Mon Feb 15 11:10:36 2010 for loon by  doxygen 1.3.9.1