MINT2
|
#include <ReadNTuple.h>
Public Member Functions | |
std::string | newFilename () const |
ReadNTuple (DalitzEventPattern *pat, std::string fname, std::string ntpName="DalitzEventList", const char *cuts="", long int maxEvents=-1) | |
~ReadNTuple () | |
bool | getTree () |
bool | SetDaughterBranchAddress (const char *Px, const char *Py, const char *Pz, const char *E, const char *pdg) |
bool | SetMotherBranchAddress (const char *Px, const char *Py, const char *Pz, const char *E, const char *pdg) |
void | AddSlowPion (const char *Px="SlowPion_PX", const char *Py="SlowPion_PY", const char *Pz="SlowPion_PZ", const char *E="SlowPion_E", const char *pdg="SlowPion_ID") |
void | SetEventPattern (DalitzEventPattern *pat) |
void | ApplyFiducalCuts () |
bool | passFiducalCuts (unsigned int entry) |
bool | passedFidCuts (float dx, float dy, float dz) |
bool | AddFriend (std::string fname, std::string ntpName) |
bool | getUpdatedTree () |
void | useWeights (bool Weights) |
void | weightVarName (std::string weightName) |
MINT::counted_ptr< DalitzEvent > | readEntry (unsigned int entry) |
bool | readit (MinimalEventList< DalitzEvent > *listPtr, int nEvents=-1, double scale=1.0) |
bool | testEventPattern () |
bool | passETAcut (unsigned int entry) |
float | Random () |
void | SetEntries (int entries) |
void | SetFirstEntry (int firstEntry) |
Public Member Functions inherited from ReadNTupleBase | |
ReadNTupleBase () | |
~ReadNTupleBase () | |
Private Attributes | |
TFile * | _file0 |
TTree * | _oldTree |
TTree * | _tree |
std::string | _fname |
std::string | _ntpName |
long int | _maxEvents |
TRandom | Rand |
TTree * | friendTree |
std::vector< std::vector< N > > | m_input_var |
std::vector< T > | m_pdg |
std::vector< int > | set_pat |
std::vector< N > | m_mother_var |
T | m_mother_pdg |
bool | m_useWeights |
std::string | m_weightName |
std::vector< N > | m_slowPion_var |
int | m_slowPion_pdg |
bool | slowPion |
int | m_particle |
const char * | _cuts |
Long64_t | _entries |
Long64_t | _firstentry |
TLorentzVector | _pMother |
DalitzEventPattern * | m_pat |
bool | _applyFiducalCuts |
Definition at line 31 of file ReadNTuple.h.
|
inline |
Definition at line 75 of file ReadNTuple.h.
|
inline |
Definition at line 119 of file ReadNTuple.h.
bool ReadNTuple< T, N >::AddFriend | ( | std::string | fname, |
std::string | ntpName | ||
) |
Definition at line 191 of file ReadNTuple.h.
void ReadNTuple< T, N >::AddSlowPion | ( | const char * | Px = "SlowPion_PX" , |
const char * | Py = "SlowPion_PY" , |
||
const char * | Pz = "SlowPion_PZ" , |
||
const char * | E = "SlowPion_E" , |
||
const char * | pdg = "SlowPion_ID" |
||
) |
Definition at line 640 of file ReadNTuple.h.
void ReadNTuple< T, N >::ApplyFiducalCuts | ( | ) |
Definition at line 265 of file ReadNTuple.h.
|
inline |
Definition at line 124 of file ReadNTuple.h.
bool ReadNTuple< T, N >::getUpdatedTree | ( | ) |
Definition at line 216 of file ReadNTuple.h.
std::string ReadNTuple< T, N >::newFilename | ( | ) | const |
Definition at line 174 of file ReadNTuple.h.
bool ReadNTuple< T, N >::passedFidCuts | ( | float | dx, |
float | dy, | ||
float | dz | ||
) |
Definition at line 271 of file ReadNTuple.h.
bool ReadNTuple< T, N >::passETAcut | ( | unsigned int | entry | ) |
Definition at line 653 of file ReadNTuple.h.
bool ReadNTuple< T, N >::passFiducalCuts | ( | unsigned int | entry | ) |
Definition at line 297 of file ReadNTuple.h.
|
inline |
Definition at line 162 of file ReadNTuple.h.
MINT::counted_ptr< DalitzEvent > ReadNTuple< T, N >::readEntry | ( | unsigned int | entry | ) |
Definition at line 346 of file ReadNTuple.h.
bool ReadNTuple< T, N >::readit | ( | MinimalEventList< DalitzEvent > * | listPtr, |
int | nEvents = -1 , |
||
double | scale = 1.0 |
||
) |
Definition at line 533 of file ReadNTuple.h.
bool ReadNTuple< T, N >::SetDaughterBranchAddress | ( | const char * | Px, |
const char * | Py, | ||
const char * | Pz, | ||
const char * | E, | ||
const char * | pdg | ||
) |
Definition at line 319 of file ReadNTuple.h.
|
inline |
Definition at line 167 of file ReadNTuple.h.
|
inline |
Definition at line 138 of file ReadNTuple.h.
|
inline |
Definition at line 168 of file ReadNTuple.h.
bool ReadNTuple< T, N >::SetMotherBranchAddress | ( | const char * | Px, |
const char * | Py, | ||
const char * | Pz, | ||
const char * | E, | ||
const char * | pdg | ||
) |
Definition at line 333 of file ReadNTuple.h.
bool ReadNTuple< T, N >::testEventPattern | ( | ) |
Definition at line 594 of file ReadNTuple.h.
void ReadNTuple< T, N >::useWeights | ( | bool | Weights | ) |
Definition at line 521 of file ReadNTuple.h.
void ReadNTuple< T, N >::weightVarName | ( | std::string | weightName | ) |
Definition at line 527 of file ReadNTuple.h.
|
private |
Definition at line 69 of file ReadNTuple.h.
|
private |
Definition at line 60 of file ReadNTuple.h.
|
private |
Definition at line 62 of file ReadNTuple.h.
|
private |
Definition at line 34 of file ReadNTuple.h.
|
private |
Definition at line 63 of file ReadNTuple.h.
|
private |
Definition at line 37 of file ReadNTuple.h.
|
private |
Definition at line 39 of file ReadNTuple.h.
|
private |
Definition at line 38 of file ReadNTuple.h.
|
private |
Definition at line 35 of file ReadNTuple.h.
|
private |
Definition at line 65 of file ReadNTuple.h.
|
private |
Definition at line 36 of file ReadNTuple.h.
|
private |
Definition at line 44 of file ReadNTuple.h.
|
private |
Definition at line 46 of file ReadNTuple.h.
|
private |
Definition at line 50 of file ReadNTuple.h.
|
private |
Definition at line 49 of file ReadNTuple.h.
|
private |
Definition at line 59 of file ReadNTuple.h.
|
private |
Definition at line 67 of file ReadNTuple.h.
|
private |
Definition at line 47 of file ReadNTuple.h.
|
private |
Definition at line 56 of file ReadNTuple.h.
|
private |
Definition at line 55 of file ReadNTuple.h.
|
private |
Definition at line 52 of file ReadNTuple.h.
|
private |
Definition at line 53 of file ReadNTuple.h.
|
private |
Definition at line 43 of file ReadNTuple.h.
|
private |
Definition at line 48 of file ReadNTuple.h.
|
private |
Definition at line 57 of file ReadNTuple.h.