cafe::StatPointer Class Reference

#include <Stat.hpp>

List of all members.


Detailed Description

Pointer to the Stat object. Created and deleted at each event processing.

Definition at line 361 of file Stat.hpp.

Public Member Functions

 StatPointer (Stat *stat=0)
virtual ~StatPointer ()
Statpointer ()
void EventSelected (const std::string &selection_name)
 Increase number of event counted by Stat object. If such selection does not exist it will be added.

void applyWeight (const std::string &weight_name, double weight, double weight_pos=-1.0, double weight_neg=-1.0)
 apply weight to efficiency calculation.

 ClassDef (StatPointer, 0)

Private Attributes

Stat_stat


Constructor & Destructor Documentation

cafe::StatPointer::StatPointer Stat stat = 0  ) 
 

Definition at line 15 of file Stat.cpp.

cafe::StatPointer::~StatPointer  )  [virtual]
 

Definition at line 16 of file Stat.cpp.


Member Function Documentation

void cafe::StatPointer::applyWeight const std::string &  weight_name,
double  weight,
double  weight_pos = -1.0,
double  weight_neg = -1.0
 

apply weight to efficiency calculation.

Definition at line 23 of file Stat.cpp.

References _stat, and cafe::Stat::applyWeight().

cafe::StatPointer::ClassDef StatPointer  ,
 

void cafe::StatPointer::EventSelected const std::string &  selection_name  ) 
 

Increase number of event counted by Stat object. If such selection does not exist it will be added.

Definition at line 18 of file Stat.cpp.

References _stat, and cafe::Stat::EventSelected().

Stat* cafe::StatPointer::pointer  )  [inline]
 

Definition at line 367 of file Stat.hpp.

References _stat.


Member Data Documentation

Stat* cafe::StatPointer::_stat [private]
 

Definition at line 362 of file Stat.hpp.

Referenced by applyWeight(), EventSelected(), and pointer().


The documentation for this class was generated from the following files:
Generated on Thu Apr 3 04:14:28 2008 for CAF by doxygen 1.3.4