Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/EvtLinSample.hh
- This file was added.
#ifndef EVTLINSAMPLE_HH | |||||
#define EVTLINSAMPLE_HH | |||||
#include <vector> | |||||
struct EvtPointf { | |||||
float x, y; | |||||
}; | |||||
struct EvtLinSample { | |||||
EvtLinSample() {} | |||||
EvtLinSample( const char* ); | |||||
EvtLinSample( const std::vector<EvtPointf>& _v ) { init( _v ); } | |||||
void init( const std::vector<EvtPointf>& _v ); | |||||
std::pair<double, double> operator()( double ) const; | |||||
std::vector<EvtPointf> v; | |||||
std::vector<double> I; | |||||
}; | |||||
#endif |