123 new TNtuple(
"fluxntp",
"flux",
"x:y:z:t:px:py:pz:E:pdgc:wght");
125 LOG(
"test",
pINFO) <<
"Generating flux neutrinos";
127 unsigned int ievent = 0;
129 LOG(
"test",
pINFO) <<
"Event number: " << ievent;
132 double wght = flux->
Weight();
133 const TLorentzVector & x4 = flux->
Position();
134 const TLorentzVector & p4 = flux->
Momentum();
136 x4.X(), x4.Y(), x4.Z(), x4.T(),
137 p4.Px(), p4.Py(), p4.Pz(), p4.E(), pdgc, wght);
virtual const TLorentzVector & Position(void)=0
returns the flux neutrino 4-position (note: expect SI rather than physical units) ...
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
const unsigned int kNEvents
virtual bool GenerateNext(void)=0
generate the next flux neutrino (return false in err)
virtual int PdgCode(void)=0
returns the flux neutrino pdg code
virtual const TLorentzVector & Momentum(void)=0
returns the flux neutrino 4-momentum
virtual double Weight(void)=0
returns the flux neutrino weight (if any)