368 const int respdgarray[] = {
390 const double kWmin = 0.9;
391 const double kWmax = 5.0;
394 while((respdg = respdgarray[ires++])) {
396 fMpBR1etaDef [respdg] =
new TH1D(
"",
"",kNW,kWmin,kWmax);
404 while((respdg = respdgarray[ires++])) {
405 TParticlePDG * res = pdglib->
Find(respdg);
407 for(
int j=0; j<res->NDecayChannels(); j++) {
408 TDecayChannel * dch = res->DecayChannel(j);
411 double br = dch->BranchingRatio();
413 for(
int k=0;
k<dch->NDaughters();
k++) {
414 int dpdg = dch->DaughterPdgCode(
k);
419 bool is_1gamma = (ngamma==1);
420 bool is_1eta = (neta ==1);
421 for(
int ibin = 1; ibin <=
fMpBR1gammaDef[respdg]->GetNbinsX(); ibin++) {
424 bool is_allowed = (W>mt);
425 if(is_allowed && is_1gamma) {
fMpBR1gammaDef[respdg]->Fill(W, br); }
426 if(is_allowed && is_1eta ) {
fMpBR1etaDef [respdg]->Fill(W, br); }
431 #ifdef _G_REWEIGHT_RESDEC_DEBUG_ 432 fTestFile =
new TFile(
"./resdec_reweight_test.root",
"recreate");
433 fTestNtp =
new TNtupleD(
"testntp",
"",
"costheta:wght");
const int kPdgP31m1910_DeltaP
const int kPdgS31m1620_DeltaM
const int kPdgP33m1232_DeltaPP
map< int, TH1D * > fMpBR1etaDef
const int kPdgF35m1905_DeltaM
const int kPdgD15m1675_N0
const int kPdgF35m1905_Delta0
const int kPdgF15m1680_NP
const int kPdgD33m1700_Delta0
const int kPdgD13m1700_NP
const int kPdgS11m1650_N0
const int kPdgF37m1950_DeltaM
const int kPdgF37m1950_DeltaP
const int kPdgS11m1535_N0
const int kPdgP33m1232_DeltaP
const int kPdgP33m1232_DeltaM
const int kPdgP31m1910_DeltaM
double fThetaDelta2NpiTwkDial
const int kPdgF37m1950_Delta0
const int kPdgD33m1700_DeltaPP
const int kPdgF35m1905_DeltaP
const int kPdgD15m1675_NP
const int kPdgF35m1905_DeltaPP
const int kPdgS31m1620_DeltaPP
const int kPdgP31m1910_DeltaPP
const int kPdgP33m1920_DeltaPP
const int kPdgP31m1910_Delta0
const int kPdgP33m1920_DeltaP
const int kPdgD33m1700_DeltaM
const int kPdgP33m1920_DeltaM
const int kPdgF37m1950_DeltaPP
const int kPdgD13m1520_NP
const int kPdgF15m1680_N0
const int kPdgP11m1710_N0
const int kPdgS11m1650_NP
const int kPdgP33m1232_Delta0
const int kPdgP13m1720_N0
const int kPdgP11m1440_N0
const int kPdgP33m1920_Delta0
const int kPdgD13m1520_N0
const int kPdgP11m1440_NP
const int kPdgS31m1620_Delta0
static PDGLibrary * Instance(void)
Singleton class to load & serve a TDatabasePDG.
TParticlePDG * Find(int pdgc)
const int kPdgP11m1710_NP
const int kPdgS11m1535_NP
map< int, TH1D * > fMpBR1gammaDef
const int kPdgS31m1620_DeltaP
const int kPdgP13m1720_NP
const int kPdgD13m1700_N0
const int kPdgD33m1700_DeltaP