6 #ifndef LBNEANALYSIS_HH 7 #define LBNEANALYSIS_HH 10 #include "G4Trajectory.hh" 11 #include "G4TrajectoryPoint.hh" 12 #include "dk2nu/tree/dk2nu.h" 13 #include "dk2nu/tree/dkmeta.h" 19 #include "G4TrajectoryContainer.hh" 23 class G4ParticleDefinition;
48 void FillNeutrinoNtuple(
const G4Track& track,
const std::vector<G4VTrajectory*>& nuHistory);
66 void CalcLocationWeights(
const bsim::DkMeta* dkmeta, bsim::Dk2Nu* dk2nu,
bool useRealisticNearDetectorVolume);
void FillTrackingPlaneH1Data(const G4Step &aStep)
TTree * fHorn2TrackingTree
LBNETrajectory * GetParentTrajectory(G4int parentID)
void FillNeutrinoNtuple(const G4Track &track, const std::vector< G4VTrajectory * > &nuHistory)
std::vector< G4double > fXdet_far
double fMudEdx_ion[kMaxP]
std::vector< G4String > fDetNameNear
double fParticleMass[kMaxP]
void FillTrackingPlaneH2Data(const G4Step &aStep)
LBNETrajectory * GetTrajectory(G4int trackID)
void SetEntry(G4int entry)
TTree * fOutTreeDk2NuMeta
void SetCount(G4int count)
double fParticleEnergy[kMaxP]
std::vector< G4double > fYdet_far
bool fDk2NuDetectorFileRead
void FillTrackingNtuple(const G4Track &track, LBNETrajectory *currTrajectory)
void TrackThroughGeometry(const LBNETrajectory *TrackTrajectory)
void FillAlcoveTrackingPlaneData(const G4Step &aStep)
LBNEDataNtp_t * fLBNEOutNtpData
std::vector< G4double > fXdet_near
static LBNEAnalysis * instance
static LBNEAnalysis * getInstance()
void setDetectorPositions()
void CalcLocationWeights(const bsim::DkMeta *dkmeta, bsim::Dk2Nu *dk2nu, bool useRealisticNearDetectorVolume)
void FillTrackingPlaneData(const G4Step &aStep)
std::vector< G4double > fZdet_far
char nuNtupleFileName[1024]
std::vector< G4String > vstring_t
TTree * fAlcoveTrackingTree
double fParticleDZ[kMaxP]
int numEntFillNTuDk2nuPzR_
double fParticleDY[kMaxP]
void FillTrackingPlaneDPData(const G4Step &aStep)
std::vector< G4double > fYdet_near
std::map< int, int > code
G4bool CreateDk2NuOutput()
TTree * fTargetOutputTree
TTree * fHorn1TrackingTree
G4double GetDistanceInVolume(LBNETrajectory *wanted_traj, G4String wanted_vol)
void FillTargetOutputData(const G4Step &aStep)
std::ofstream fOutDBGDk2nu_
LBNEDataNtp_t * fTrackingPlaneData
std::vector< G4String > fDetNameFar
double fParticleDX[kMaxP]
std::vector< G4double > fZdet_near
std::vector< bsim::Traj > vec_traj
char nuNtupleFileNameDK2Nu[1024]