4 #ifndef __KVDETECTORSIGNALEXPRESSION_H
5 #define __KVDETECTORSIGNALEXPRESSION_H
7 #include "KVDetectorSignal.h"
46 std::unique_ptr<TFormula> fFormula;
47 std::vector<KVDetectorSignal*> fSignals;
83 for(
auto s : fSignals)
84 if(s->IsFired())
return true;
90 return fSignals.size()>1 ? nullptr : fSignals[0];
#define ClassDefOverride(name, id)
const Char_t * GetLabel() const
Signal output from a mathematical combination of other signals.
Bool_t IsFired() const override
void SetValue(Double_t) override
Bool_t IsExpression() const override
Bool_t IsRaw() const override
Double_t GetValue(const KVNameValueList ¶ms="") const override
Bool_t IsValid() const override
KVString GetExpression() const
KVDetectorSignal * GetParentSignal() override
Base class for output signal data produced by a detector.
Base class for detector geometry description, interface to energy-loss calculations.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
KaliVeda extensions to ROOT collection classes.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
const char * GetName() const override
void Warning(UserClass p, const char *location, const char *va_(fmt),...)