#include "GtInverseBeta.h"#include "KRLInverseBeta.hh"#include "KRLReactorFlux.hh"#include "GaudiKernel/IRndmGenSvc.h"#include "HepMC/GenVertex.h"#include "HepMC/GenEvent.h"#include "CLHEP/Units/SystemOfUnits.h"#include <CLHEP/Units/PhysicalConstants.h>#include <TROOT.h>#include <TRandom.h>#include <sstream>Include dependency graph for GtInverseBeta.cc:
Go to the source code of this file.
Functions | |
| Double_t | inverse_beta_prob (Double_t *x, Double_t *par) |
| Double_t inverse_beta_prob | ( | Double_t * | x, | |
| Double_t * | par | |||
| ) |
Definition at line 17 of file GtInverseBeta.cc.
00018 { 00019 Double_t engInMeV = x[0]; 00020 Double_t cosThEL = x[1]; 00021 Double_t prob; 00022 //do NOT need to multiply by the jacobian sin(theta) here! 00023 00024 KRLReactorFlux gReactorFlux; 00025 KRLInverseBeta gInverseBeta; 00026 prob = gReactorFlux.Flux(engInMeV) 00027 *gInverseBeta.DSigDCosTh(engInMeV, cosThEL); 00028 //prob = gReactorFlux->Flux(engInMeV)*gInverseBeta->SigmaTot(engInMeV); 00029 return prob; 00030 }
1.4.7