FitDirectionCenterProc Class Reference

Ratpac-two: RAT::FitDirectionCenterProc Class Reference
Ratpac-two
Inheritance diagram for RAT::FitDirectionCenterProc:
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)
 
virtual void SetS (std::string param, std::string value)
 
virtual 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 Processor::Result DSEvent (DS::Root *ds)
 
virtual void EndOfRun (DS::Run *run)
 

Protected Member Functions

void SetPlaceholderFOM (DS::FitResult *fit)
 

Protected Attributes

std::vector< int > fPMTtype
 
std::string fFitLabel = ""
 
std::string fPosFitter
 
std::string fDirFitter
 
std::string fCutMethod
 
double fTimeResLow = -10.0
 
double fTimeResUp = 50.0
 
double fTimeResFracLow = 0.0
 
double fTimeResFracUp = 1.0
 
double fLightSpeed = 0.0
 
double fDrive = 0.0
 
double fFixedTime = 0.0
 
TVector3 fFixedPosition
 
std::string fPosMethod
 
DS::PMTInfofPMTInfo
 
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 FitDirectionCenterProc::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.

Initialize ALL parameters with placeholder values

Set event position

If fractional time cuts specified, determine cut times

Apply time cuts and determine photon path directions

Calculate mean angle between reconstructed direction and photon path directions

======= Percentiles ====== -— Octile 7

-— Quartile 3

-— Median

-— Quartile 1

-— Octile 1

Calculate deviation about mean angle

Save results

Reimplemented from RAT::Processor.

◆ SetD()

void FitDirectionCenterProc::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 FitDirectionCenterProc::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.

◆ SetS()

void FitDirectionCenterProc::SetS ( std::string  param,
std::string  value 
)
virtual

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