1 #ifndef _DK2NUINTERFACE_H_
2 #define _DK2NUINTERFACE_H_
9 #include "TLorentzRotation.h"
12 #include "dk2nu/tree/dkmeta.h"
13 #include "dk2nu/tree/dk2nu.h"
14 #include "dk2nu/tree/NuChoice.h"
16 #include "fhiclcpp/ParameterSet.h"
33 bool FillMCFlux(Long64_t ientry, simb::MCFlux& mcflux);
38 void Init(fhicl::ParameterSet
const & ps);
39 void User2BeamPos(
const TLorentzVector& usrxyz, TLorentzVector& beamxyz)
const;
40 void Beam2UserPos(
const TLorentzVector& beamxyz, TLorentzVector& usrxyz)
const;
41 void Beam2UserP4(
const TLorentzVector& beamp4, TLorentzVector& usrp4)
const;
71 #endif // _DK2NUINTERFACE_H_
const void SetRun(int run)
bool FillMCFlux(Long64_t ientry, simb::MCFlux &mcflux)
const Long64_t GetEntries()
TLorentzVector fFluxWindowDir2
bsim::NuChoice * fNuChoice
const TLorentzVector GetNuPosition()
const TLorentzVector GetNuMomentum()
void User2BeamPos(const TLorentzVector &usrxyz, TLorentzVector &beamxyz) const
TVector3 AnglesToAxis(double theta, double phi)
void Beam2UserPos(const TLorentzVector &beamxyz, TLorentzVector &usrxyz) const
TVector3 fFluxWindowPtUser[3]
bsim::NuChoice * GetNuChoice()
TLorentzRotation fBeamRotInv
TLorentzVector fFluxWindowBase
void Init(fhicl::ParameterSet const &ps)
void Beam2UserP4(const TLorentzVector &beamp4, TLorentzVector &usrp4) const
TLorentzVector fFluxWindowDir1
void SetRootFile(TFile *rootFile)
TLorentzRotation fBeamRot