Go to the documentation of this file.
26 expression(iOther.expression),
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());
DTRecoConditions()
Constructor.
const_iterator end() const
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...
std::atomic< TFormula * > formula
std::map< uint32_t, std::vector< double > >::const_iterator const_iterator
std::map< uint32_t, std::vector< double > > payload
std::atomic< int > formulaType
constexpr uint32_t rawId() const
get the raw id
void set(const DTWireId &wireid, const std::vector< double > &values)
Fill the payload.
virtual ~DTRecoConditions()
Destructor.
DTSuperLayerId superlayerId() const
Return the corresponding SuperLayerId.
const_iterator begin() const
Access the data.
const DTRecoConditions & operator=(const DTRecoConditions &)