#include <CachingVariable.h>
Public Member Functions | |
void | compute (const edm::Event &iEvent) const |
VariableComputerTest (CachingVariable::CachingVariableFactoryArg arg) | |
~VariableComputerTest () |
Definition at line 149 of file CachingVariable.h.
VariableComputerTest::VariableComputerTest | ( | CachingVariable::CachingVariableFactoryArg | arg | ) |
Definition at line 93 of file CachingVariable.cc.
References VariableComputer::declare().
: VariableComputer(arg){ declare("toto"); declare("tutu"); declare("much"); }
VariableComputerTest::~VariableComputerTest | ( | ) | [inline] |
Definition at line 152 of file CachingVariable.h.
{};
void VariableComputerTest::compute | ( | const edm::Event & | iEvent | ) | const [virtual] |
Implements VariableComputer.
Definition at line 99 of file CachingVariable.cc.
References VariableComputer::assign(), and VariableComputer::doesNotCompute().
{ //does some mumbo jumbo with the event. // computes a bunch of doubles double toto = 3; double tutu = 4; //set the variables value (which do as if they had been cached) assign("toto",toto); assign("tutu",tutu); doesNotCompute("much"); }