ant
A2 ant: class-based analysis framework
sigmaPlus.cc File Reference
+ Include dependency graph for sigmaPlus.cc:

Classes

class  sigmaPlus_Test
 

Typedefs

using sigmaPlus_PlotBase = TreePlotterBase_t< sigmaPlus::PionProdTree >
 

Variables

auto getEgamma
 
auto reducedChi2
 
auto getTreeFitPhotonIndices
 
auto getLorentzSumFitted
 

Typedef Documentation

◆ sigmaPlus_PlotBase

Variable Documentation

◆ getEgamma

auto getEgamma
Initial value:
= [] (const TParticleTree_t& tree)
{
return tree->Get()->Ek();
}
Tree< TParticlePtr >::node_t TParticleTree_t
Definition: TParticle.h:22

◆ getLorentzSumFitted

auto getLorentzSumFitted
Initial value:
= [](const vector<utils::TreeFitter::tree_t>& nodes)
{
vector<TLorentzVector> acc;
for ( const auto& node: nodes)
{
acc.push_back(node->Get().LVSum);
}
return acc;
}

◆ getTreeFitPhotonIndices

auto getTreeFitPhotonIndices
Initial value:
= [] (const TParticleList& orig_Photons,
const utils::TreeFitter& treeFitter)
{
const auto allP = treeFitter.GetFitParticles();
const vector<utils::Fitter::FitParticle> fitPhotons(allP.begin()+1,
allP.end());
vector<unsigned> combination;
for (unsigned iFit = 0; iFit < fitPhotons.size(); ++iFit)
{
for (unsigned iOrig = 0; iOrig < orig_Photons.size(); ++iOrig)
{
if ( fitPhotons.at(iFit).Particle == orig_Photons.at(iOrig))
{
combination.push_back(iOrig);
continue;
}
}
}
return combination;
}
Definition: TreeFitter.h:11
std::vector< TParticlePtr > TParticleList
Definition: TParticle.h:21

◆ reducedChi2

auto reducedChi2
Initial value:
= [](const APLCON::Result_t& ares)
{
return 1. * ares.ChiSquare / ares.NDoF;
}