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

Detailed Description

Definition at line 31 of file SelectCount.h.


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

Definition at line 36 of file SelectCount.h.

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

Definition at line 38 of file SelectCount.h.

Definition at line 35 of file SelectCount.h.

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


The documentation for this struct was generated from the following files:

Generated on 13 Dec 2018 for loon by  doxygen 1.6.1