GenTree.cxx
Go to the documentation of this file.
1 
2 
3 #include "garana/Base/GenTree.h"
4 
5 using namespace garana;
6 
7 const std::vector<Int_t>* GenTree::GetGIndex() const {
8  return fGIndex;
9 }
10 
11 bool GenTree::NuInAV(const UInt_t& igen) const {
12  if(this->NuRegion(igen)==0 || this->NuRegion(igen)==1)
13  return true;
14  else
15  return false;
16 }
17 bool GenTree::NuInIV(const UInt_t& igen) const {
18  if(this->NuRegion(igen)==2)
19  return true;
20  else
21  return false;
22 }
23 bool GenTree::NuInCalo(const UInt_t& igen) const {
24  if(this->NuRegion(igen)==3 || this->NuRegion(igen)==4)
25  return true;
26  else
27  return false;
28 }
const std::vector< Int_t > * GetGIndex() const
whether or not subentry is GENIE interaction, index of GENIE interaction
Definition: GenTree.cxx:7
bool NuInIV(const UInt_t &igen) const
Definition: GenTree.cxx:17
bool NuInAV(const UInt_t &igen) const
Definition: GenTree.cxx:11
bool NuInCalo(const UInt_t &igen) const
Definition: GenTree.cxx:23
virtual const int NuRegion(const UInt_t &igen) const =0
region code where the vertex is located
const std::vector< Int_t > * fGIndex
Definition: GenTree.h:66