28 theVersion(iOther.theVersion) {}
47 const vector<double>& par = slIt->second;
56 std::unique_ptr<TFormula>
temp{
new TFormula(
"DTExpr",
expression.c_str())};
57 TFormula* expected =
nullptr;
58 if (
formula.compare_exchange_strong(expected,
temp.get())) {
71 return par[unsigned(
x[0])];
74 return (*formula).EvalPar(
x, par.data());
const_iterator begin() const
Access the data.
float get(const DTWireId &wireid, double *x=nullptr) const
Get the value correspoding to the given WireId, / using x[] as parameters of the parametrization when...
void set(const DTWireId &wireid, const std::vector< double > &values)
Fill the payload.
std::map< uint32_t, std::vector< double > > payload
std::map< uint32_t, std::vector< double > >::const_iterator const_iterator
const_iterator end() const
const DTRecoConditions & operator=(const DTRecoConditions &)
DTRecoConditions()
Constructor.
virtual ~DTRecoConditions()
Destructor.
std::atomic< TFormula * > formula
constexpr uint32_t rawId() const
get the raw id
DTSuperLayerId superlayerId() const
Return the corresponding SuperLayerId.
std::atomic< int > formulaType