Skip to content
Merged
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
7 changes: 3 additions & 4 deletions PWGHF/D2H/TableProducer/treeCreatorDstarSpinAlignMixing.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
/// \author Mingze li <mingze.li@cern.ch>, CCNU/UniTo

#include "PWGHF/Core/CentralityEstimation.h"
#include "PWGHF/D2H/Utils/utilsFlow.h"
#include "PWGHF/Core/DecayChannels.h"
#include "PWGHF/D2H/Utils/utilsFlow.h"
#include "PWGHF/DataModel/CandidateReconstructionTables.h"
#include "PWGHF/DataModel/CandidateSelectionTables.h"

Expand Down Expand Up @@ -390,16 +390,15 @@ struct HfTreeCreatorDstarSpinAlignMixing {
if (activateAxisRotation) {
qVecNorm = ROOT::Math::RotationZ(axisRotationAngle)(qVecNorm);
}
float const cosThetaStarEP = qVecNorm.Dot(threeVecDauCM) / std::sqrt(threeVecDauCM.Mag2());
float const cosThetaStarEP = qVecNorm.Dot(threeVecDauCM) / std::sqrt(threeVecDauCM.Mag2());

rowGenMcParticles(
mcParticle.pt(),
mcParticle.eta(),
mcParticle.phi(),
mcParticle.y(),
cosThetaStarEP,
centrality);

centrality);
}

void processData(CollsWithQVecs const& collisions,
Expand Down
Loading