R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandNeutronReconstructionMon.cxx File Reference
#include "R3BNeulandNeutronReconstructionMon.h"
#include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <numeric>
#include <utility>
#include "TClonesArray.h"
#include "TDirectory.h"
#include "TH1D.h"
#include "TH2D.h"
#include <TFile.h>
#include "FairLogger.h"
#include "FairMCPoint.h"
#include "FairRootManager.h"
#include "FairRtdbRun.h"
#include "FairRuntimeDb.h"
#include "R3BMCTrack.h"
#include "R3BNeulandNeutron.h"
#include "R3BNeulandPoint.h"
Include dependency graph for R3BNeulandNeutronReconstructionMon.cxx:

Go to the source code of this file.

Functions

Double_t Distance (const R3BNeulandNeutron &nn, const FairMCPoint &mc)
 
Double_t Score (const std::vector< std::pair< R3BNeulandNeutron, FairMCPoint > > &combination)
 
template<typename T, typename U>
std::vector< std::vector< std::pair< T, U > > > GetAllCombinations (std::vector< T > ts, std::vector< U > us, std::function< bool(const U &, const U &)> comparator)
 

Variables

static const Double_t c2 = 898.75517873681758374
 
static const Double_t massNeutron = 939.565379
 

Function Documentation

◆ Distance()

Double_t Distance ( const R3BNeulandNeutron & nn,
const FairMCPoint & mc )

Definition at line 42 of file R3BNeulandNeutronReconstructionMon.cxx.

◆ GetAllCombinations()

template<typename T, typename U>
std::vector< std::vector< std::pair< T, U > > > GetAllCombinations ( std::vector< T > ts,
std::vector< U > us,
std::function< bool(const U &, const U &)> comparator )

Definition at line 60 of file R3BNeulandNeutronReconstructionMon.cxx.

◆ Score()

Double_t Score ( const std::vector< std::pair< R3BNeulandNeutron, FairMCPoint > > & combination)

Definition at line 50 of file R3BNeulandNeutronReconstructionMon.cxx.

Variable Documentation

◆ c2

const Double_t c2 = 898.75517873681758374
static

Definition at line 39 of file R3BNeulandNeutronReconstructionMon.cxx.

◆ massNeutron

const Double_t massNeutron = 939.565379
static

Definition at line 40 of file R3BNeulandNeutronReconstructionMon.cxx.