Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
PlaceDetector Class Reference

The basic detector which does not depend on children status. Will use info_ map to store additional information. More...

#include <Places.hpp>

Inheritance diagram for PlaceDetector:
Collaboration diagram for PlaceDetector:

Public Member Functions

 PlaceDetector (bool resetable=true, unsigned max_size=2)
 
- Public Member Functions inherited from Place
 Place (bool resetable=true, unsigned max_size=2)
 
virtual ~Place ()
 
virtual void addChild (Place *child, bool coin=true)
 
virtual bool checkChildren (Place *child)
 
virtual bool checkParents (Place *child)
 
virtual void activate (EventData &info)
 
virtual void activate (double time)
 
virtual void deactivate (double time)
 
virtual void reset ()
 
virtual bool operator&& (const Place &right) const
 
virtual bool operator|| (const Place &right) const
 
virtual bool operator() () const
 
virtual bool status () const
 
virtual EventDataoperator[] (unsigned index)
 
virtual EventData operator[] (unsigned index) const
 
virtual EventData last ()
 
virtual EventData secondlast ()
 
virtual bool resetable () const
 

Protected Member Functions

virtual void check_ (EventData &info)
 
- Protected Member Functions inherited from Place
virtual void addParent_ (Place *parent)
 
virtual void report_ (EventData &info)
 
virtual void add_info_ (const EventData &info)
 

Additional Inherited Members

- Data Fields inherited from Place
std::deque< EventDatainfo_
 
- Protected Attributes inherited from Place
unsigned max_size_
 
bool status_
 
bool resetable_
 
std::vector< std::pair< Place *, bool > > children_
 
std::vector< Place * > parents_
 

Detailed Description

The basic detector which does not depend on children status. Will use info_ map to store additional information.

Constructor & Destructor Documentation

PlaceDetector::PlaceDetector ( bool  resetable = true,
unsigned  max_size = 2 
)
inline

Constructor for the Place

Parameters
[in]resetable: sets the place to be resetable or not
[in]max_size: sets the maximum size of the place

Member Function Documentation

virtual void PlaceDetector::check_ ( EventData info)
inlineprotectedvirtual

This function is empty here - this place does not depend on children status

Parameters
[in]info: is not used for anything

Implements Place.


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