#include <AtMCFitter.h>
Definition at line 31 of file AtMCFitter.h.
◆ ClusterPtr
◆ MapPtr
◆ ObjPair
◆ ParamPtr
◆ PsaPtr
◆ PulsePtr
◆ SimPtr
◆ AtMCFitter()
◆ ~AtMCFitter()
virtual MCFitter::AtMCFitter::~AtMCFitter |
( |
| ) |
|
|
virtualdefault |
◆ CreateParamDistros()
virtual void MCFitter::AtMCFitter::CreateParamDistros |
( |
| ) |
|
|
protectedpure virtual |
◆ DefineEvent()
Sample parameter distributions and constrain the system to simulate an event. The parameters in AtMCResult will be used to then simulate an event. This function calls Sample() on all the parameter distributions and saves them.
Reimplemented in MCFitter::AtMCFission.
Definition at line 200 of file AtMCFitter.cxx.
◆ DigitizeEvent()
int MCFitter::AtMCFitter::DigitizeEvent |
( |
const TClonesArray & |
points, |
|
|
int |
idx, |
|
|
AtPulse * |
pulse |
|
) |
| |
|
protected |
◆ Exec()
◆ FillResultArrays()
void MCFitter::AtMCFitter::FillResultArrays |
( |
TClonesArray & |
resultArray, |
|
|
TClonesArray & |
simEvent, |
|
|
TClonesArray & |
simRawEvent |
|
) |
| |
Fill the TClonesArray in order of smallest to largest chi2.
Definition at line 177 of file AtMCFitter.cxx.
◆ GetParameter()
◆ Init()
void MCFitter::AtMCFitter::Init |
( |
| ) |
|
◆ ObjectiveFunction()
virtual double MCFitter::AtMCFitter::ObjectiveFunction |
( |
const AtBaseEvent & |
expEvent, |
|
|
int |
SimEventID, |
|
|
AtMCResult & |
definition |
|
) |
| |
|
protectedpure virtual |
This is the thing we are minimizing between events (SimEventID is index in TClonesArray)
Implemented in MCFitter::AtMCFission.
◆ RecenterParamDistributions()
void MCFitter::AtMCFitter::RecenterParamDistributions |
( |
| ) |
|
|
protectedvirtual |
Recenter the parameter distributions around the best result and truncate the parameter space.
Definition at line 207 of file AtMCFitter.cxx.
◆ RunIterRange()
void MCFitter::AtMCFitter::RunIterRange |
( |
int |
startIter, |
|
|
int |
numIter, |
|
|
AtPulse * |
pulse |
|
) |
| |
|
protected |
◆ RunRound()
void MCFitter::AtMCFitter::RunRound |
( |
| ) |
|
|
protected |
◆ SetNumEventsToSave()
void MCFitter::AtMCFitter::SetNumEventsToSave |
( |
int |
num | ) |
|
|
inline |
◆ SetNumIter()
void MCFitter::AtMCFitter::SetNumIter |
( |
int |
iter | ) |
|
|
inline |
◆ SetNumRounds()
void MCFitter::AtMCFitter::SetNumRounds |
( |
int |
rounds | ) |
|
|
inline |
Set number of times to run fNumIter iterations and then re-center and truncate the parameter space.
Definition at line 85 of file AtMCFitter.h.
◆ SetNumThreads()
void MCFitter::AtMCFitter::SetNumThreads |
( |
int |
num | ) |
|
◆ SetParamDistributions()
virtual void MCFitter::AtMCFitter::SetParamDistributions |
( |
const AtPatternEvent & |
event | ) |
|
|
protectedpure virtual |
◆ SetPSA()
void MCFitter::AtMCFitter::SetPSA |
( |
PsaPtr |
psa | ) |
|
|
inline |
◆ SetTimeEvent()
void MCFitter::AtMCFitter::SetTimeEvent |
( |
bool |
val | ) |
|
|
inline |
◆ SimulateEvent()
virtual TClonesArray MCFitter::AtMCFitter::SimulateEvent |
( |
AtMCResult & |
definition | ) |
|
|
protectedpure virtual |
Simulate an event using the parameters in the passed AtMCResult class and return an array of the AtMCPoints to then digitize.
Implemented in MCFitter::AtMCFission.
◆ fClusterize
◆ fCurrentEvent
◆ fEventArray
std::vector<AtEvent> MCFitter::AtMCFitter::fEventArray |
|
protected |
◆ fMap
MapPtr MCFitter::AtMCFitter::fMap |
|
protected |
◆ fNumEventsToSave
int MCFitter::AtMCFitter::fNumEventsToSave {10} |
|
protected |
◆ fNumIter
int MCFitter::AtMCFitter::fNumIter {1} |
|
protected |
◆ fNumRounds
int MCFitter::AtMCFitter::fNumRounds {1} |
|
protected |
◆ fNumThreads
int MCFitter::AtMCFitter::fNumThreads {1} |
|
protected |
◆ fPar
const AtDigiPar* MCFitter::AtMCFitter::fPar {nullptr} |
|
protected |
◆ fParameters
std::map<std::string, ParamPtr> MCFitter::AtMCFitter::fParameters |
|
protected |
◆ fPSA
PsaPtr MCFitter::AtMCFitter::fPSA {nullptr} |
|
protected |
◆ fPulse
◆ fRawEventArray
std::vector<AtRawEvent> MCFitter::AtMCFitter::fRawEventArray |
|
protected |
◆ fResultMutex
std::mutex MCFitter::AtMCFitter::fResultMutex |
|
protected |
Store the iteration number sorted by lowest objective funtion.
Things below here need to be written to by threads and will be locked using a shared mutex
Definition at line 69 of file AtMCFitter.h.
◆ fResults
◆ fSim
SimPtr MCFitter::AtMCFitter::fSim |
|
protected |
◆ fThPulse
std::vector<PulsePtr> MCFitter::AtMCFitter::fThPulse |
|
protected |
◆ fTimeEvent
bool MCFitter::AtMCFitter::fTimeEvent {false} |
|
protected |
The documentation for this class was generated from the following files: