namespace events class Chain Chain of event lists
| | eventchain Basic event chain type |
| | eventlist Basic list type |
| | value_type Value type |
| | size_type Size type |
| | difference_type Difference type |
| | reference Reference type |
| | const_reference Const reference type |
| | pointer Pointer type |
| | const_pointer Const pointer type |
| | iterator Iterator |
| | const_iterator Const iterator |
| | reverse_iterator Iterator |
| | const_reverse_iterator Const iterator |
| | Chain () Default constructor |
| | Chain (const char* filename) Constructor |
| | Copy () const Copy the event |
| | AddList (const char* filename) Add |
| | AddList (const List& eventlist) Add |
| | GetList (int lnum) Get |
| | GetList (int lnum) const Get |
| | RemoveList (int lnum) Remove |
| | N () const N |
| | Merge () Merge |
| | Configure (const char* filename) Configure |
| | Save (const char* filename, int perfile = 0, int maxevents = -1) const Save |
| | Restore (const char* filename) Restore |
| | Size () const Size |
| | Empty () const Empty |
| | operator== (const Chain& l) const Equality |
| | operator!= (const Chain& l) const Equality |
| | CheckOrder () const Check order |
| | Swap (Chain& l) Swap |
| | LowerBound (const Time& t) Lower bound |
| | LowerBound (const Time& t) const Lower bound |
| | UpperBound (const Time& t) Upper bound |
| | UpperBound (const Time& t) const Upper bound |
| | LowerBound (const Event& t) Lower bound |
| | LowerBound (const Event& t) const Lower bound |
| | UpperBound (const Event& t) Upper bound |
| | UpperBound (const Event& t) const Upper bound |
| | Sort () Sort |
| | Sort (const Function& func, bool ascending = true) Sort |
| | At (size_type idx) At |
| | At (size_type idx) const At |
| | operator[] (size_type idx) Operator[] |
| | operator[] (size_type idx) const Operator[] |
| | Front () Front |
| | Front () const Front |
| | Back () Back |
| | Back () const Back |
| | Begin () Begin |
| | Begin () const Begin |
| | End () End |
| | End () const End |
| | RBegin () RBegin |
| | RBegin () const RBegin |
| | REnd () REnd |
| | REnd () const REnd |
| | Insert (const Event& event) Insert |
| | Insert (iterator pos, const Event& event) Insert |
| | Insert (iterator beg, iterator end) Add |
| | PushBack (const Event& event) PushBack |
| | Erase (iterator pos) Erase |
| | Erase (iterator beg, iterator end) Erase |
| | PopBack () PopBack |
| | Clear () Clear |
An event chain consists of a series of event lists. The idea is that for really large sets of events, multiple files are referenced through a chain. When they are needed, they are read in, worked on and discared as the analysis algorithm moves through the events of the chain.An event chain contains events ordered by time with the oldest event being stored first. For efficiency reasons Chain provides algorithms which let you add events without checking that they are in correct orderer. In this case the user has to guarantee that the sort order is maintained, or call the Sort method afterwards.
typedef List::eventlist eventlist
typedef List::value_type value_type
typedef List::size_type size_type
typedef List::difference_type difference_type
typedef List::reference reference
typedef List::const_reference const_reference
typedef List::pointer pointer
typedef List::const_pointer const_pointer
typedef Iterator iterator
typedef ConstIterator const_iterator
typedef ReverseIterator reverse_iterator
typedef ConstReverseIterator const_reverse_iterator
Chain()
explicit Chain(const char* filename)
Chain* Copy() const
bool AddList(const char* filename)
bool AddList(const List& eventlist)
List& GetList(int lnum)
const List& GetList(int lnum) const
bool RemoveList(int lnum)
int N() const
void Merge()
bool Configure(const char* filename)
bool Save(const char* filename, int perfile = 0, int maxevents = -1) const
perfile - Number of events per written file
maxevents - Maximum number of events written
bool Restore(const char* filename)
int Size() const
bool Empty() const
bool operator== (const Chain& l) const
bool operator!= (const Chain& l) const
bool CheckOrder() const
void Swap(Chain& l)
iterator LowerBound(const Time& t)
const_iterator LowerBound(const Time& t) const
iterator UpperBound(const Time& t)
const_iterator UpperBound(const Time& t) const
iterator LowerBound(const Event& t)
const_iterator LowerBound(const Event& t) const
iterator UpperBound(const Event& t)
const_iterator UpperBound(const Event& t) const
void Sort()
void Sort(const Function& func, bool ascending = true)
reference At(size_type idx)
const_reference At(size_type idx) const
reference operator[] (size_type idx)
const_reference operator[] (size_type idx) const
reference Front()
const_reference Front() const
reference Back()
const_reference Back() const
iterator Begin()
const_iterator Begin() const
iterator End()
const_iterator End() const
reverse_iterator RBegin()
const_reverse_iterator RBegin() const
reverse_iterator REnd()
const_reverse_iterator REnd() const
iterator Insert(const Event& event)
iterator Insert(iterator pos, const Event& event)
void Insert(iterator beg, iterator end)
void PushBack(const Event& event)
iterator Erase(iterator pos)
iterator Erase(iterator beg, iterator end)
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++