FitMimirProc Class Reference

Ratpac-two: RAT::FitMimirProc Class Reference
Ratpac-two
RAT::FitMimirProc Class Reference
Inheritance diagram for RAT::FitMimirProc:
RAT::Processor

Public Member Functions

void BeginOfRun (DS::Run *run) override
 
virtual void SetS (std::string param, std::string value) override
 
Processor::Result Event (DS::Root *ds, DS::EV *ev) override
 
void Configure (const std::string &strategyName, const std::string &strategyConfig="")
 
- Public Member Functions inherited from RAT::Processor
 Processor (std::string _name)
 
virtual ~Processor ()
 
std::string GetName () const
 
virtual void SetI (std::string param, int value)
 
virtual void SetF (std::string param, float value)
 
virtual void SetD (std::string param, double value)
 
virtual Processor::Result DSEvent (DS::Root *ds)
 
virtual void EndOfRun (DS::Run *run)
 

Protected Attributes

FitterInputHandler inputHandler
 
std::unique_ptr< Mimir::FitStrategystrategy
 
bool configured = false
 
std::string strategyName
 
std::string strategyConfig
 
- Protected Attributes inherited from RAT::Processor
std::string name
 

Additional Inherited Members

- Public Types inherited from RAT::Processor
enum  Result { OK = 0 , FAIL = 1 , ABORT = 2 }
 

Member Function Documentation

◆ Event()

Processor::Result RAT::FitMimirProc::Event ( DS::Root ds,
DS::EV ev 
)
overridevirtual

Process one triggered event.

If you do not override DSEvent(), then this method is called once per triggered event. As a convenience, a reference is also provided to the root of the data structure associated with the triggered event.

Do not override this method if you also plan to override DSEvent().

Parameters
[in]dsRoot of data structure
[in,out]evTriggered event data structure
Returns
Status code for successs/failure in processing this event.

Reimplemented from RAT::Processor.

◆ SetS()

void RAT::FitMimirProc::SetS ( std::string  param,
std::string  value 
)
overridevirtual

Set string parameter.

Parameters
[in]paramName of parameter.
[in]valueValue of parameter.
Exceptions
ParamUnknownif param is not recognized.
ParamInvalidif value is not allowed for param.

Reimplemented from RAT::Processor.


The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/fit/mimir/include/RAT/FitMimirProc.hh
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/fit/mimir/src/FitMimirProc.cc