namespace events class IfoSet : public Condition Defines an event ifo set
| | Match Matching criterium
|
| | ifoset_type Ifo set type |
| | IfoSet () Default constructor |
| | IfoSet (const char* ifoset, Match match = kExact) Default constructor |
| | IfoSet (const char* ifoset, Match match, int index) Default constructor |
| | IfoSet (const std::string& ifoset, Match match = kExact) Constructor |
| | IfoSet (ifoset_type ifoset, Match match = kExact, int index = -1) Constructor |
| | Copy () const Copy the event |
| | IsValid () const Is valid? |
| | operator== (const IfoSet& ifoset) const Equality operator |
| | operator!= (const IfoSet& ifoset) const Inequality operator |
| | Evaluate (const Argument& arg, bool& val) const Evaluate |
| | SetIndex (int index = -1) Set event index |
| | GetIndex () const Get event index |
| | SetIfo (const char* ifoset) Set the ifo set |
| | AddIfo (const char* ifoset) Add to the ifo set |
| | RemoveIfo (const char* ifoset) Remove from the ifo set |
| | GetIfo () const Get the ifo set |
| | GetIfoTags () const Get the ifo set |
| | SetIfoSet (ifoset_type ifoset) Set the ifo set |
| | GetIfoSet () const Get the ifo set |
| | SetMatch (Match match) Set match criterium |
| | GetMatch () const Get match criterium |
| | Size () Number of bits |
| | Count () const Number of bits set |
| | Any () const Any bit? |
| | None () const No bit? |
| | TestBit (int bit) const Test bit |
| | Set () Set all bits |
| | Set (int bit, bool set = true) Set bit |
| | Reset () Reset all bits |
| | Reset (int bit) Reset bit |
| | Flip () Flip all bits |
| | Flip (int bit) Flip bit |
| | Test (const IfoSet& ifoset) const Test |
| | Test (ifoset_type ifoset) const Test |
| | Register (const char* ifostring) Register the ifo |
| | GetBit (const char* ifostring) Get the ifo bit |
| | GetBits (const char* ifostring, ifoset_type& ifoset) Get the ifo bits |
| | GetTag (int bit) Get the ifo tag |
| | 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)".
enum Match
IfoSet()
explicit IfoSet(const char* ifoset, Match match = kExact)
match - Matching criterium
explicit IfoSet(const char* ifoset, Match match, int index)
match - Matching criterium
index - Event index
explicit IfoSet(const std::string& ifoset, Match match = kExact)
match - Matching criterium
explicit IfoSet(ifoset_type ifoset, Match match = kExact, int index = -1)
match - Matching criterium
index - Event index
virtual IfoSet* Copy() const
bool IsValid() const
bool operator== (const IfoSet& ifoset) const
bool operator!= (const IfoSet& ifoset) const
virtual bool Evaluate(const Argument& arg, bool& val) const
val - Condition value (return)
void SetIndex(int index = -1)
int GetIndex() const
bool SetIfo(const char* ifoset)
bool AddIfo(const char* ifoset)
bool RemoveIfo(const char* ifoset)
std::string GetIfo() const
std::string GetIfoTags() const
void SetIfoSet(ifoset_type ifoset)
ifoset_type GetIfoSet() const
void SetMatch(Match match)
Match GetMatch() const
static int Size()
int Count() const
bool Any() const
bool None() const
bool TestBit(int bit) const
IfoSet& Set()
IfoSet& Set(int bit, bool set = true)
IfoSet& Reset()
IfoSet& Reset(int bit)
IfoSet& Flip()
IfoSet& Flip(int bit)
bool Test(const IfoSet& ifoset) const
bool Test(ifoset_type ifoset) const
static int Register(const char* ifostring)
static int GetBit(const char* ifostring)
static bool GetBits(const char* ifostring, ifoset_type& ifoset)
ifoset - Bit encoded value (return)
static std::string GetTag(int bit)
static bool GetTags(const ifoset_type& ifoset, std::string& ifostring)
ifostring - Interferometer string (return)
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++