6 #include "art/Framework/Core/EDProducer.h"
7 #include "art/Framework/Principal/Event.h"
8 #include "art/Framework/Principal/Handle.h"
9 #include "art/Framework/Services/Registry/ServiceHandle.h"
10 #include "art/Persistency/Common/PtrMaker.h"
11 #include "art/Utilities/ToolMacros.h"
12 #include "cetlib/cpu_timer.h"
13 #include "fhiclcpp/ParameterSet.h"
14 #include "messagefacility/MessageLogger/MessageLogger.h"
54 void configure(
const fhicl::ParameterSet&)
override;
84 fStart = TVector3(pset.get<
double>(
"X"), pset.get<
double>(
"Y"), pset.get<
double>(
"Z"));
85 fDir = TVector3(pset.get<
double>(
"Xdir"), pset.get<
double>(
"Ydir"), pset.get<
double>(
"Zdir"));
87 fE = pset.get<
double>(
"E");
88 fM = pset.get<
double>(
"M");
99 higgs.
mom = TLorentzVector(p,
fE);
104 higgs.
kmom = TLorentzVector(0, 0, 0, 0);
TLorentzVector pos_beamcoord
double fE
Energy of Higgs [GeV].
TLorentzVector mom_beamcoord
TVector3 fDir
Direction of Higgs ray (unit vector)
~MonoEnergyHiggsFlux()
Destructor.
double fStartTime
Start time of Higgs in detector time [us].
IMeVPrtlStage interface class definiton. General interface behind each stage. Provides random number ...
bool MakeFlux(const simb::MCFlux &flux, MeVPrtlFlux &higgs, double &weight) override
MonoEnergyHiggsFlux(fhicl::ParameterSet const &pset)
Constructor.
void configure(const fhicl::ParameterSet &) override
Interface for configuring the particular algorithm tool.
TVector3 fStart
Start of Higgs ray in detector coordinates [cm].
MonoEnergyHiggsFlux class definiton.
double MaxWeight() override
This is an interface for an art Tool which turns MCFlux objects (which is a meson decay to neutrinos)...
IMeVPrtlFlux interface class definiton.
TLorentzVector kmom_beamcoord
double fM
Mass of Higgs [GeV].