Public Types | |
typedef VarProcessor::Registry::Registry < Interceptor, Calibration::Interceptor > | Registry |
Public Types inherited from PhysicsTools::VarProcessor | |
enum | LoopStatus { kStop, kNext, kReset, kSkip } |
typedef Dummy * | PluginFunctionPrototype () |
Public Member Functions | |
virtual void | configure (ConfIterator iter, unsigned int n) override |
virtual configure method, implemented in actual processor More... | |
virtual void | eval (ValueIterator iter, unsigned int n) const override |
virtual evaluation method, implemented in actual processor More... | |
Interceptor (const char *name, const Calibration::Interceptor *calib, const MVAComputer *computer) | |
virtual | ~Interceptor () |
Public Member Functions inherited from PhysicsTools::VarProcessor | |
void | configure (ConfigCtx &config) |
called from the discriminator computer to configure processor More... | |
void | deriv (double *input, int *conf, double *output, int *outConf, int *loop, unsigned int offset, unsigned int in, unsigned int out, std::vector< double > &deriv) const |
run the processor evaluation pass on this processor and compute derivatives More... | |
void | eval (double *input, int *conf, double *output, int *outConf, int *loop, unsigned int offset) const |
run the processor evaluation pass on this processor More... | |
virtual LoopStatus | loop (double *output, int *outConf, unsigned int nOutput, unsigned int &nOffset) const |
virtual | ~VarProcessor () |
Public Member Functions inherited from PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >::Factory | |
template<> | |
VarProcessor * | create (const char *name, const Calibration::VarProcessor *calib, const MVAComputer *parent) |
template<> | |
TrainProcessor * | create (const char *, const AtomicId *, MVATrainer *) |
template<> | |
TrainProcessor * | create (const char *name, const AtomicId *id, MVATrainer *trainer) |
template<> | |
VarProcessor * | create (const char *, const Calibration::VarProcessor *, const MVAComputer *) |
Private Attributes | |
Calibration::Interceptor * | interceptor |
std::vector< double > * | values |
Additional Inherited Members | |
Static Public Member Functions inherited from PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >::Factory | |
static Base_t * | create (const char *name, const CalibBase_t *calib, Parent_t *parent=0) |
Protected Types inherited from PhysicsTools::VarProcessor | |
typedef ProcessRegistry < VarProcessor, Calibration::VarProcessor, const MVAComputer > | Registry |
Protected Member Functions inherited from PhysicsTools::VarProcessor | |
virtual ConfigCtx::Context * | configureLoop (ConfigCtx::Context *ctx, ConfigCtx::iterator begin, ConfigCtx::iterator cur, ConfigCtx::iterator end) |
virtual loop configure method More... | |
virtual std::vector< double > | deriv (ValueIterator iter, unsigned int n) const |
virtual derivative evaluation method, implemented in actual processor More... | |
VarProcessor (const char *name, const Calibration::VarProcessor *calib, const MVAComputer *computer) | |
Protected Attributes inherited from PhysicsTools::VarProcessor | |
const MVAComputer * | computer |
Definition at line 25 of file Interceptor.cc.
typedef VarProcessor::Registry::Registry<Interceptor, Calibration::Interceptor> PhysicsTools::Interceptor::Registry |
Definition at line 28 of file Interceptor.cc.
PhysicsTools::Interceptor::Interceptor | ( | const char * | name, |
const Calibration::Interceptor * | calib, | ||
const MVAComputer * | computer | ||
) |
Definition at line 45 of file Interceptor.cc.
|
virtual |
|
overridevirtual |
virtual configure method, implemented in actual processor
Implements PhysicsTools::VarProcessor.
Definition at line 59 of file Interceptor.cc.
References PhysicsTools::VarProcessor::computer, PhysicsTools::Calibration::Interceptor::configure(), PhysicsTools::Variable::FLAG_NONE, flags, i, interceptor, n, and values.
|
overridevirtual |
virtual evaluation method, implemented in actual processor
Implements PhysicsTools::VarProcessor.
Definition at line 77 of file Interceptor.cc.
References PhysicsTools::VarProcessor::ValueIterator::begin(), filterCSVwithJSON::copy, PhysicsTools::VarProcessor::ValueIterator::end(), i, PhysicsTools::Calibration::Interceptor::intercept(), interceptor, getDQMSummary::iter, n, PhysicsTools::VarProcessor::ValueIterator::size(), values, and MetTreeProducer::var().
|
private |
Definition at line 39 of file Interceptor.cc.
Referenced by configure(), and eval().
|
private |
Definition at line 40 of file Interceptor.cc.
Referenced by configure(), eval(), python.seqvaluedict.seqdict::items(), and ~Interceptor().