Defines an event ifo set
enum | Match Matching criterium
|
typedef ColumnType::ColumnIfo_t | ifoset_type Ifo set type |
IfoSet () Default constructor | |
explicit | IfoSet (const char* ifoset, Match match = kExact) Default constructor |
explicit | IfoSet (const char* ifoset, Match match, int index) Default constructor |
explicit | IfoSet (const std::string& ifoset, Match match = kExact) Constructor |
explicit | IfoSet (ifoset_type ifoset, Match match = kExact, int index = -1) Constructor |
virtual IfoSet* | Copy () const Copy the event |
bool | IsValid () const Is valid? |
bool | operator== (const IfoSet& ifoset) const Equality operator |
bool | operator!= (const IfoSet& ifoset) const Inequality operator |
virtual bool | Evaluate (const Argument& arg, bool& val) const Evaluate |
void | SetIndex (int index = -1) Set event index |
int | GetIndex () const Get event index |
bool | SetIfo (const char* ifoset) Set the ifo set |
bool | AddIfo (const char* ifoset) Add to the ifo set |
bool | RemoveIfo (const char* ifoset) Remove from the ifo set |
std::string | GetIfo () const Get the ifo set |
std::string | GetIfoTags () const Get the ifo set |
void | SetIfoSet (ifoset_type ifoset) Set the ifo set |
ifoset_type | GetIfoSet () const Get the ifo set |
void | SetMatch (Match match) Set match criterium |
Match | GetMatch () const Get match criterium |
static int | Size () Number of bits |
int | Count () const Number of bits set |
bool | Any () const Any bit? |
bool | None () const No bit? |
bool | TestBit (int bit) const Test bit |
IfoSet& | Set () Set all bits |
IfoSet& | Set (int bit, bool set = true) Set bit |
IfoSet& | Reset () Reset all bits |
IfoSet& | Reset (int bit) Reset bit |
IfoSet& | Flip () Flip all bits |
IfoSet& | Flip (int bit) Flip bit |
bool | Test (const IfoSet& ifoset) const Test |
bool | Test (ifoset_type ifoset) const Test |
static int | Register (const char* ifostring) Register the ifo |
static int | GetBit (const char* ifostring) Get the ifo bit |
static bool | GetBits (const char* ifostring, ifoset_type& ifoset) Get the ifo bits |
static std::string | GetTag (int bit) Get the ifo tag |
static bool | GetTags (const ifoset_type& ifoset, std::string& ifostring) Get the ifo bits |
The event ifo set descibes a condition on the origin of the event. An Interferometer set is specified with a string consisting of one or multiple interferometer tags. An interferometer tag consists of a letter and a number. For example "H1" stands for the 4k interferometer at Hanford, whereas "L1H1" stands for both LIGO 4k interferometers. An ifo set specification can contain wildcards, e.g., "H*" stands for all Hanford interferometers, or "*" stands for all intereferometers.The interferometer set is bit encoded and a match can be defined as exact, as a subset, as a superset or as any-one. If exact match is specified, the event must define exaclty the same set of interferometers as the ifo set. If subset is specified the interferometer(s) of the event must be a subset of the ones in the IfoSet. Conversely, if superset is specified, the event must specifiy at least the interfereometers of the IfoSet. If any-one is specified, the event must defined exaclty one out of the interferometers of the IfoSet.
If an ifo set is specified without an index it gets applied to all event indices. An event index can be explicitly specified as part of the string or as a separate argument. Examples:
IfoSet ("H1[0]") && IfoSet ("L1", 1)selects LHO 4K events from the first event stream and LLO 4K events from the second one.As with the column class an interferometer set can also access the information of events stored as event columns. The same notation applies. For example:
IfoSet ("Event(1).H1") IfoSet ("H1(1)")selects events which contain an LHO 4K event at column "Event(1)".
match - Matching criterium
match - Matching criterium
index - Event index
match - Matching criterium
match - Matching criterium
index - Event index
val - Condition value (return)
ifoset - Bit encoded value (return)
ifostring - Interferometer string (return)
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++