class Layout |
Defines an event layout
| Layout (const LayoutInfo* info = 0) Default constructor | |
| Layout (const Type& type) Constructor | |
| Layout (const char* name) Constructor | |
| Layout (const std::string& name) Constructor | |
| Layout (const Layout& layout) Copy constructor | |
| ~Layout () Destructor | |
| operator= (const Layout& layout) Assignment operator | |
| operator== (const Layout& layout) const Equality operator | |
| operator!= (const Layout& layout) const Inequality operator | |
| IsRegistered () const Registered layout? | |
| GetRefCount () const Get reference count | |
| GetColumNum (const_data_ptr data) const Gets the column number of an event | |
| GetName (const_data_ptr data) const Gets the event name | |
| SetName (data_ptr data, const Name& name) Sets the event name | |
| GetTime (const_data_ptr data) const Gets the event time | |
| SetTime (data_ptr data, const Time& time) Sets the event time | |
| GetIfo (const_data_ptr data) const Gets the event ifo set | |
| SetIfo (data_ptr data, const ColumnType::ColumnIfo_t& ifo) Sets the event ifo set | |
| GetIfoStr (const_data_ptr data) const Gets the event ifo string | |
| SetIfoStr (data_ptr data, const char* ifo) Sets the event ifo set | |
| GetValue (const char* name, const_data_ptr data, Value& val) const Gets the column value of an event | |
| SetValue (const char* name, data_ptr& data, const Value& val) Sets the column value of an event | |
| SetType (const Type& type) Sets the event type | |
| GetType (Type& type) const Gets the event type | |
| IsCompatible (const Type& type) const Compatible type? | |
| GetColumnList () const Column information | |
| AddColumn (const ColumnInfo& col) Add a column | |
| AddColumn (const char* name, Enum type) Add a column | |
| RemoveColumn (const char* name) Remove a column | |
| GetColumn (const char* name) const Get a column | |
| DataSize () const Data block size | |
| Construct (data_ptr data, const_data_ptr init = 0) Construct event data | |
| Destruct (data_ptr data) Destruct event data | |
| Update (data_ptr& data) Update the event | |
| Compare (const_data_ptr d1, const_data_ptr d2) const Compares event data | |
| Swap (Layout& l) Swap a layout | |
| Register () Register the layout globaly | |
| Dump (std::ostream& os) const Dump column names to specified output stream. | |
| Dump () const Dump column names to specified output stream. | |
| DumpAll (std::ostream& os) Dump all registered layouts to specified output stream. | |
| DumpAll () Dump all registered layouts to specified output stream. | |
| GetSimple () Get "simple" layout | |
| GetStandard () Get "standard" layout | |
| GetCoincidence (int order = 2) Get "coincidence" layout | |
| GetCluster (int eventnum) Get "cluster" layout |
An event layout is used to describe an event. The layout basically contains a pointer to a event layout information record. A layout can be registered which means it points to a global event layout registered by the event factory. A registerd layout is read-only. A layout owns the layout information record if it isn't registered.
Alphabetic index HTML hierarchy of classes or Java
Please send questions and comments to zweizig_j@ligo-wa.caltech.edu