Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
KSkwarczynski committed Jul 3, 2024
1 parent d99d5d2 commit 5bccf19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions mcmc/FitterBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ void FitterBase::DragRace() {
MACH3LOG_INFO("It took {:.6f} s for a single GetLikelihood of sample: {}", clockRace.RealTime(), samples[ivs]->GetName());
}


for (size_t s = 0; s < systematics.size(); ++s) {
TStopwatch clockRace;
clockRace.Start();
Expand All @@ -461,7 +460,6 @@ void FitterBase::DragRace() {
MACH3LOG_INFO("It took {:.6f} s for a single get likelihood of cov: {}", clockRace.RealTime(), systematics[s]->getName());
}
MACH3LOG_INFO("End of race");

}

// *************************
Expand All @@ -488,7 +486,6 @@ void FitterBase::RunLLHScan() {

// Now finally get onto the LLH scan stuff
// Very similar code to MCMC but never start MCMC; just scan over the parameter space

std::vector<TDirectory *> Cov_LLH(systematics.size());
for(unsigned int ivc = 0; ivc < systematics.size(); ivc++ )
{
Expand Down
4 changes: 2 additions & 2 deletions mcmc/FitterBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class FitterBase {
/// @brief Constructor
/// @param fitMan A pointer to a manager object, which will handle all settings.
FitterBase(manager * const fitMan);
/// @brief Destructor
/// @brief Destructor for the FitterBase class.
virtual ~FitterBase();

/// @brief This function adds a sample PDF object to the analysis framework. The sample PDF object will be utilized in fitting procedures or likelihood scans.
Expand All @@ -48,7 +48,7 @@ class FitterBase {
/// @brief The specific fitting algorithm implemented in this function depends on the derived class. It could be Markov Chain Monte Carlo (MCMC), MinuitFit, or another algorithm.
virtual void runMCMC() = 0;

/// @brief Checks how much time we need for every sample/covariance object
/// @brief Calculates the required time for each sample or covariance object in a drag race simulation. Inpsired by Dan's feature
void DragRace();

/// @brief Perform a 1D likelihood scan.
Expand Down

0 comments on commit 5bccf19

Please sign in to comment.