16#include "gtest/gtest.h"
21 TEST(testNMultiplicityCalorimetricPar, HandlesConversionBetweenMaps)
23 std::map<UInt_t, TCutG*> m;
24 m[1] =
new TCutG(
"cut1", 4);
25 m[2] =
new TCutG(
"cut2", 4);
33 TEST(testMultiplicityCalorimetricPar, GetNeutronMultiplicity)
35 std::map<UInt_t, TCutG*> m;
36 m[0] =
new TCutG(
"cut0", 4);
37 m[0]->SetPoint(0, 0, 0);
38 m[0]->SetPoint(1, 0, 10);
39 m[0]->SetPoint(2, 10, 0);
40 m[0]->SetPoint(3, 0, 0);
41 m[1] =
new TCutG(
"cut1", 4);
42 m[1]->SetPoint(0, 0, 10);
43 m[1]->SetPoint(1, 0, 20);
44 m[1]->SetPoint(2, 20, 0);
45 m[1]->SetPoint(3, 10, 0);
46 m[2] =
new TCutG(
"cut2", 4);
47 m[2]->SetPoint(0, 0, 20);
48 m[2]->SetPoint(1, 0, 30);
49 m[2]->SetPoint(2, 30, 0);
50 m[2]->SetPoint(3, 20, 0);
NeuLAND number of clusters / energy - neutron multiplicity parameter storage.
std::map< UInt_t, TCutG * > GetNeutronCuts() const
void SetNeutronCuts(const std::map< UInt_t, TCutG * > &cuts)
UInt_t GetNeutronMultiplicity(const Double_t energy, const Double_t nClusters) const