FitPathProc Class Reference

Ratpac-two: RAT::FitPathProc Class Reference
Ratpac-two
Inheritance diagram for RAT::FitPathProc:
RAT::Processor RAT::Minimizable

Public Member Functions

virtual Processor::Result Event (DS::Root *ds, DS::EV *ev)
 
double operator() (double *params)
 
double operator() (const std::vector< double > &lParams) const
 
double Up () const
 
void BeginOfRun (DS::Run *run)
 
- 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 void SetS (std::string param, std::string value)
 
virtual Processor::Result DSEvent (DS::Root *ds)
 
virtual void EndOfRun (DS::Run *run)
 

Protected Member Functions

double PDFDirectTime (const double tresid) const
 
double PDFOtherTime (const double tresid) const
 
double PDFCherenkovAngle (const double cosalpha) const
 
double FTPProbability (const double x, const double y, const double z, const double dx, const double dy, const double dz, const double t) const
 
double AvgSquareTimeResid (double x, double y, double z, double t)
 

Protected Attributes

std::vector< hitfHits
 
TVector3 fFitPos
 
double fFitTime
 
std::vector< double > fSeed
 
double fDirectProb
 
double fOtherProb
 
double fPhotocathodeArea
 
double fLightSpeed
 
double fCherenkovMultiplier
 
double fDirectTime0
 
double fDirectTimeStep
 
double fOtherTime0
 
double fOtherTimeStep
 
std::vector< double > fDirectTimeProb
 
std::vector< double > fOtherTimeProb
 
double fCosAlpha0
 
double fCosAlphaStep
 
std::vector< double > fCosAlphaProb
 
bool fMigrad
 
int fStage
 
size_t fNumCycles
 
size_t fNumEvals
 
double fPosSigma0
 
double fPosSigma1
 
double fThetaSigma
 
double fPhiSigma
 
double fTimeSigma0
 
double fTimeSigma1
 
double fTemp0
 
double fTemp1
 
double fAlpha
 
- 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::FitPathProc::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.

◆ FTPProbability()

double RAT::FitPathProc::FTPProbability ( const double  x,
const double  y,
const double  z,
const double  dx,
const double  dy,
const double  dz,
const double  t 
) const
protected

Arguments are event {position},{direction unit},time Excuse my intentional use of basic types and explicit variables - optomization in progress


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