-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetKin_nuc.h
41 lines (31 loc) · 1.1 KB
/
getKin_nuc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include <iostream>
#include <iomanip>
#include <cmath>
#include "TH1D.h"
#include "TH2D.h"
#include "TGraph.h"
#include "TFile.h"
#include "TChain.h"
#include "TTree.h"
#include "TLorentzVector.h"
#include "TStopwatch.h"
#include "TRandom3.h"
#include "TSystem.h"
#include "neutpart.h"
#include "neutfsipart.h"
#include "neutvect.h"
#include "neutfsivert.h"
#include "neutvtx.h"
#include "neutrootTreeSingleton.h"
void getKin(std::string fileName, int fitType);
void Usage(void);
bool isCC1ppip(NeutVect *nvect, double EnuMax);
bool isCC1npip(NeutVect *nvect, double EnuMax);
bool isCC1pi0(NeutVect *nvect, double EnuMax);
bool isCC1ppim(NeutVect *nvect, double EnuMax);
bool isCC1npim(NeutVect *nvect, double EnuMax);
TH1D* FluxUnfoldedScaling(TH1D* mcHist, TH1D* fluxHist);
double Q2CCpiprec(TLorentzVector pnu, TLorentzVector pmu, TLorentzVector ppip, double binding=0.);
double EnuCCpiprec(TLorentzVector pnu, TLorentzVector pmu, TLorentzVector ppip, double binding=0.);
double Wrec(TLorentzVector pnu, TLorentzVector pmu, double EHad=0, double binding=0);
double MpPi(TLorentzVector pp, TLorentzVector ppi);