23#include "analysis/OrcaKinFit/BaseTracer.h"
48 namespace OrcaKinFit {
53 class RootTracer:
public BaseTracer {
55 RootTracer(
const char* filename =
"trace.root",
const char* option =
"RECREATE");
56 virtual ~RootTracer();
59 RootTracer(
const RootTracer&) =
delete;
60 RootTracer& operator=(
const RootTracer&) =
delete;
64 virtual void initialize(BaseFitter& fitter)
override;
66 virtual void step(BaseFitter& fitter)
override;
68 virtual void substep(BaseFitter& fitter,
72 virtual void finish(BaseFitter& fitter)
override;
74 void printFitObjects(BaseFitter& fitter);
75 void printConstraints(BaseFitter& fitter);
78 void SetBranchAddresses();
79 void CreateBranches();
80 void CreateEventBranches(BaseFitter& fitter);
81 void FillParameterValues(BaseFitter& fitter);
96 Double_t parvalue[NPARMAX];
Abstract base class for different kinds of events.