All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GSimpleInterface.h
Go to the documentation of this file.
1 #ifndef _GSIMPLEINTERFACE_H_
2 #define _GSIMPLEINTERFACE_H_
3 
4 #include "FluxInterface.h"
5 
6 #include "Tools/Flux/GNuMIFlux.h"
7 #include "Tools/Flux/GSimpleNtpFlux.h"
8 
9 class TTree;
10 class TFile;
11 
12 namespace fluxr {
14  {
15  public:
18 
19  const Long64_t GetEntries() {return fNEntries;};
20  const int GetRun() {return fRun;};
21  const void SetRun(int run) {fRun = run;};
22  const float GetPOT() {return fPOT;};
23  const TLorentzVector GetNuPosition() {return fNuPos;};
24  const TLorentzVector GetNuMomentum() {return fNuMom;};
25 
26  void SetRootFile(TFile* rootFileName);
27  bool FillMCFlux(Long64_t ientry, simb::MCFlux& mcflux);
28 
29  private:
30  TTree* fFluxTree;
31  TTree* fMetaTree;
32  genie::flux::GSimpleNtpEntry* fGSimpleEntry;
33  genie::flux::GSimpleNtpNuMI* fGSimpleNuMI;
34  genie::flux::GSimpleNtpAux* fGSimpleAux;
35  genie::flux::GSimpleNtpMeta* fGSimpleMeta;
36  Long64_t fNEntries;
37  int fRun;
38  float fPOT;
39  TLorentzVector fNuPos;
40  TLorentzVector fNuMom;
41  };
42 
43 }
44 
45 #endif // _GSIMPLEINTERFACE_H_
genie::flux::GSimpleNtpEntry * fGSimpleEntry
const TLorentzVector GetNuMomentum()
genie::flux::GSimpleNtpNuMI * fGSimpleNuMI
const TLorentzVector GetNuPosition()
const void SetRun(int run)
const Long64_t GetEntries()
void SetRootFile(TFile *rootFileName)
genie::flux::GSimpleNtpMeta * fGSimpleMeta
genie::flux::GSimpleNtpAux * fGSimpleAux
bool FillMCFlux(Long64_t ientry, simb::MCFlux &mcflux)