37 std::vector<Time_t> timeVector;
39 Time_t Boundary_time_High,Boundary_time_Low;
49 if (timeVector.size() >= 1) {
50 Boundary_time_High = timeVector[timeVector.size() - 1];
51 Boundary_time_Low = timeVector[0];
54 size_t size(){
return timeVector.size();}
std::vector< VDataItem > VDataItemVector
VDataItem getVoltageStd()
bool isValid(Time_t time) const
double getAvgDrop(Time_t time)
Time_t getUpperBoundaryEventTime()
std::vector< Time_t > & getTimeVector()
void push_back_sorted(Time_t time_HV_SLOWCTRL, const VDataItem &data)
add a entry to our cache. the entry has to be pushed back in ascending order, with no gap....
double getVoltage(Time_t time, int layer)
double getAvgDropButVeryDrop(Time_t time)
VDataItem getVoltage(Time_t time)
VDataItemVector & getVDataItemVector()
Time_t getLowerBoundaryEventTime()
void clear()
throw all cached data. next time you might have to prepare cache again..
static const size_t MDC_layers
void setOffsetEvt2Db(int time_offset)
VDataItem getDrop(Time_t time)
void setVoltagesStd(VDataItem voltagesStd)
static const size_t MDC_layers
double & operator[](int i)
static VDataItem fromArray(const double *item)