FitQuadProc Class Reference

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

Public Member Functions

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

Protected Attributes

FitterInputHandler inputHandler
 
- 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::FitQuadProc::Event ( DS::Root ds,
DS::EV ev 
)
virtual

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.

◆ SetD()

void RAT::FitQuadProc::SetD ( std::string  param,
double  value 
)
virtual

Set double 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.

◆ SetI()

void RAT::FitQuadProc::SetI ( std::string  param,
int  value 
)
virtual

Set integer 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/include/RAT/FitQuadProc.hh
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/fit/src/FitQuadProc.cc