1#ifndef FIRE_CONDITIONSINTERVALOFVALIDITY_H
2#define FIRE_CONDITIONSINTERVALOFVALIDITY_H
5#include "fire/EventHeader.h"
35 bool validForMC =
true)
noexcept;
Defines the run/event/type range for which a given condition is valid, including for all time.
Definition: ConditionsIntervalOfValidity.h:13
int firstRun_
First run for which this condition is valid.
Definition: ConditionsIntervalOfValidity.h:77
bool overlaps(const ConditionsIntervalOfValidity &iov) const
Checks to see if this IOV overlaps with the given IOV.
Definition: ConditionsIntervalOfValidity.cxx:29
bool validForData_
Is this Condition valid for real data?
Definition: ConditionsIntervalOfValidity.h:83
bool validForEvent(const EventHeader &eh) const
Checks to see if this condition is valid for the given event using information from the header.
Definition: ConditionsIntervalOfValidity.cxx:23
bool validForMC_
Is this Condition valid for simulation?
Definition: ConditionsIntervalOfValidity.h:86
ConditionsIntervalOfValidity() noexcept
Null IOV.
Definition: ConditionsIntervalOfValidity.cxx:5
friend std::ostream & operator<<(std::ostream &s, const ConditionsIntervalOfValidity &iov)
Stream the IOV to an ostream in a pretty way.
Definition: ConditionsIntervalOfValidity.h:63
int lastRun_
Last run for which this condition is valid or -1 for infinite validity.
Definition: ConditionsIntervalOfValidity.h:80