Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/bat_gen/runBatFit.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <BAT/BCLog.h>
#include <BAT/BCParameterSet.h>

#include <TCanvas.h>
//#include <TCanvas.h>
#include <TFile.h>
#include <TTree.h>

Expand Down
3 changes: 3 additions & 0 deletions src/DecayTreeVectorIntegral.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ DecayTreeVectorIntegral::DecayTreeVectorIntegral(const DecayTreeVector& dtv)
Diagonals_(DecayTrees_.size()),
OffDiagonals_(DecayTrees_.size() - 1)
{
for (size_t i = 0; i < Diagonals_.size(); ++i)
Diagonals_[i].value() = 1.;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value should be equal to the square of the number of symmetrizations for that DecayTree.


for (size_t i = 0; i < OffDiagonals_.size(); ++i)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

off-diagonals should also be initialized, and should be equal to the product of the number of symmetrizations in the two DecayTrees

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can we get the symmetrization indices from a DecayTree?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question.

OffDiagonals_[i] = ComplexIntegralElementMatrix::value_type(DecayTrees_.size() - i - 1);
}
Expand Down