EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eic_qa/blob/master/source/EvalRootTTree.h>
Public Member Functions | |
EvalRootTTree () | |
virtual | ~EvalRootTTree () |
void | Reset () |
Clear Event. | |
EvalHit * | AddHit (const PHG4Hit *g4hit) |
EvalTower * | AddTower (const RawTower *twr) |
EvalCluster * | AddCluster (const RawCluster *clus) |
void | set_event_number (const int i) |
int | get_event_number () const |
void | set_gpid (const int i) |
int | get_gpid () const |
void | set_gvx (const double v) |
double | get_gvx () const |
void | set_gvy (const double v) |
double | get_gvy () const |
void | set_gvz (const double v) |
double | get_gvz () const |
void | set_gpx (const double p) |
double | get_gpx () const |
void | set_gpy (const double p) |
double | get_gpy () const |
void | set_gpz (const double p) |
double | get_gpz () const |
void | set_ge (const double p) |
double | get_ge () const |
void | set_geta (const double d) |
double | get_geta () const |
void | set_gphi (const double d) |
double | get_gphi () const |
void | set_gtheta (const double d) |
double | get_gtheta () const |
void | set_nhits (const int n) |
int | get_nhits () const |
void | set_hesum (const double d) |
double | get_hesum () const |
EvalHit * | get_hit (const size_t i) const |
void | set_ntowers (const int n) |
int | get_ntowers () const |
void | set_tesum (const double d) |
double | get_tesum () const |
EvalTower * | get_tower (const size_t i) const |
void | set_nclusters (const int n) |
int | get_nclusters () const |
void | set_cesum (const double d) |
double | get_cesum () const |
EvalCluster * | get_cluster (const size_t i) const |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual void | identify (std::ostream &os=std::cout) const |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | isValid (const float) const |
virtual int | isValid (const double) const |
virtual int | isValid (const int) const |
virtual int | isValid (const unsigned int) const |
virtual int | isImplemented (const float f) const |
virtual int | isImplemented (const double f) const |
virtual int | isImplemented (const int i) const |
virtual int | isImplemented (const unsigned int i) const |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Private Attributes | |
TClonesArray * | SnglHits = nullptr |
TClonesArray * | SnglTowers = nullptr |
TClonesArray * | SnglClusters = nullptr |
int | event = 0 |
int | gpid = -99999 |
int | nhits = 0 |
int | ntowers = 0 |
int | nclusters = 0 |
double | hesum = 0. |
double | tesum = 0. |
double | cesum = 0. |
double | gvx = NAN |
double | gvy = NAN |
double | gvz = NAN |
double | gpx = NAN |
double | gpy = NAN |
double | ge = NAN |
double | gpz = NAN |
double | geta = NAN |
double | gphi = NAN |
double | gtheta = NAN |
Definition at line 16 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 16 of file EvalRootTTree.h
EvalRootTTree::EvalRootTTree | ( | ) |
Definition at line 18 of file EvalRootTTree.cc.
View newest version in sPHENIX GitHub at line 18 of file EvalRootTTree.cc
References NCLU, NHIT, NTWR, SnglClusters, SnglHits, and SnglTowers.
|
virtual |
Definition at line 25 of file EvalRootTTree.cc.
View newest version in sPHENIX GitHub at line 25 of file EvalRootTTree.cc
References SnglClusters, SnglHits, and SnglTowers.
EvalCluster * EvalRootTTree::AddCluster | ( | const RawCluster * | clus | ) |
Definition at line 112 of file EvalRootTTree.cc.
View newest version in sPHENIX GitHub at line 112 of file EvalRootTTree.cc
References NCLU, and SnglClusters.
Definition at line 74 of file EvalRootTTree.cc.
View newest version in sPHENIX GitHub at line 74 of file EvalRootTTree.cc
Definition at line 93 of file EvalRootTTree.cc.
View newest version in sPHENIX GitHub at line 93 of file EvalRootTTree.cc
References NTWR, and SnglTowers.
|
inline |
Definition at line 81 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 81 of file EvalRootTTree.h
References cesum.
EvalCluster * EvalRootTTree::get_cluster | ( | const size_t | i | ) | const |
Definition at line 125 of file EvalRootTTree.cc.
View newest version in sPHENIX GitHub at line 125 of file EvalRootTTree.cc
References SnglClusters.
Referenced by LoopEval().
|
inline |
Definition at line 28 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 28 of file EvalRootTTree.h
References event.
|
inline |
Definition at line 52 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 52 of file EvalRootTTree.h
References ge.
Referenced by LoopEvalFR(), LoopEvalHR(), and LoopEvalPortableCircularCut().
|
inline |
Definition at line 55 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 55 of file EvalRootTTree.h
References geta.
Referenced by LoopEvalFR(), LoopEvalHR(), and LoopEvalPortableCircularCut().
|
inline |
Definition at line 58 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 58 of file EvalRootTTree.h
References gphi.
Referenced by LoopEvalFR(), LoopEvalHR(), and LoopEvalPortableCircularCut().
|
inline |
Definition at line 31 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 31 of file EvalRootTTree.h
References gpid.
|
inline |
Definition at line 43 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 43 of file EvalRootTTree.h
References gpx.
|
inline |
Definition at line 46 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 46 of file EvalRootTTree.h
References gpy.
|
inline |
Definition at line 49 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 49 of file EvalRootTTree.h
References gpz.
|
inline |
Definition at line 61 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 61 of file EvalRootTTree.h
References gtheta.
Referenced by LoopEvalFR(), LoopEvalHR(), and LoopEvalPortableCircularCut().
|
inline |
Definition at line 34 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 34 of file EvalRootTTree.h
References gvx.
|
inline |
Definition at line 37 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 37 of file EvalRootTTree.h
References gvy.
|
inline |
Definition at line 40 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 40 of file EvalRootTTree.h
References gvz.
|
inline |
Definition at line 67 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 67 of file EvalRootTTree.h
References hesum.
EvalHit * EvalRootTTree::get_hit | ( | const size_t | i | ) | const |
Definition at line 87 of file EvalRootTTree.cc.
View newest version in sPHENIX GitHub at line 87 of file EvalRootTTree.cc
References SnglHits.
Referenced by LoopEval().
|
inline |
Definition at line 79 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 79 of file EvalRootTTree.h
References nclusters.
Referenced by LoopEval().
|
inline |
Definition at line 65 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 65 of file EvalRootTTree.h
References nhits.
Referenced by LoopEval().
|
inline |
Definition at line 72 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 72 of file EvalRootTTree.h
References ntowers.
Referenced by LoopEval(), LoopEvalFR(), LoopEvalHR(), and LoopEvalPortableCircularCut().
|
inline |
Definition at line 74 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 74 of file EvalRootTTree.h
References tesum.
EvalTower * EvalRootTTree::get_tower | ( | const size_t | i | ) | const |
Definition at line 106 of file EvalRootTTree.cc.
View newest version in sPHENIX GitHub at line 106 of file EvalRootTTree.cc
References SnglTowers.
Referenced by LoopEval(), LoopEvalFR(), LoopEvalHR(), and LoopEvalPortableCircularCut().
|
virtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 35 of file EvalRootTTree.cc.
View newest version in sPHENIX GitHub at line 35 of file EvalRootTTree.cc
References cesum, ge, geta, gphi, gpid, gpx, gpy, gpz, gtheta, gvx, gvy, gvz, hesum, nclusters, NHIT, nhits, ntowers, NTWR, SnglClusters, SnglHits, SnglTowers, and tesum.
|
inline |
Definition at line 80 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 80 of file EvalRootTTree.h
|
inline |
Definition at line 27 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 27 of file EvalRootTTree.h
|
inline |
Definition at line 51 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 51 of file EvalRootTTree.h
|
inline |
Definition at line 54 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 54 of file EvalRootTTree.h
|
inline |
Definition at line 57 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 57 of file EvalRootTTree.h
|
inline |
Definition at line 30 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 30 of file EvalRootTTree.h
References gpid.
|
inline |
Definition at line 42 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 42 of file EvalRootTTree.h
|
inline |
Definition at line 45 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 45 of file EvalRootTTree.h
|
inline |
Definition at line 48 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 48 of file EvalRootTTree.h
|
inline |
Definition at line 60 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 60 of file EvalRootTTree.h
|
inline |
Definition at line 33 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 33 of file EvalRootTTree.h
|
inline |
Definition at line 36 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 36 of file EvalRootTTree.h
|
inline |
Definition at line 39 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 39 of file EvalRootTTree.h
|
inline |
Definition at line 66 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 66 of file EvalRootTTree.h
|
inline |
Definition at line 78 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 78 of file EvalRootTTree.h
|
inline |
Definition at line 64 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 64 of file EvalRootTTree.h
|
inline |
Definition at line 71 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 71 of file EvalRootTTree.h
|
inline |
Definition at line 73 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 73 of file EvalRootTTree.h
|
private |
Definition at line 97 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 97 of file EvalRootTTree.h
Referenced by get_cesum(), Reset(), and set_cesum().
|
private |
Definition at line 90 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 90 of file EvalRootTTree.h
Referenced by get_event_number().
|
private |
Definition at line 103 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 103 of file EvalRootTTree.h
|
private |
Definition at line 105 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 105 of file EvalRootTTree.h
Referenced by get_geta(), Reset(), and set_geta().
|
private |
Definition at line 106 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 106 of file EvalRootTTree.h
Referenced by get_gphi(), Reset(), and set_gphi().
|
private |
Definition at line 91 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 91 of file EvalRootTTree.h
Referenced by get_gpid(), Reset(), and set_gpid().
|
private |
Definition at line 101 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 101 of file EvalRootTTree.h
|
private |
Definition at line 102 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 102 of file EvalRootTTree.h
|
private |
Definition at line 104 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 104 of file EvalRootTTree.h
|
private |
Definition at line 107 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 107 of file EvalRootTTree.h
Referenced by get_gtheta(), Reset(), and set_gtheta().
|
private |
Definition at line 98 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 98 of file EvalRootTTree.h
|
private |
Definition at line 99 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 99 of file EvalRootTTree.h
|
private |
Definition at line 100 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 100 of file EvalRootTTree.h
|
private |
Definition at line 95 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 95 of file EvalRootTTree.h
Referenced by get_hesum(), Reset(), and set_hesum().
|
private |
Definition at line 94 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 94 of file EvalRootTTree.h
Referenced by get_nclusters(), Reset(), and set_nclusters().
|
private |
Definition at line 92 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 92 of file EvalRootTTree.h
Referenced by get_nhits(), Reset(), and set_nhits().
|
private |
Definition at line 93 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 93 of file EvalRootTTree.h
Referenced by get_ntowers(), Reset(), and set_ntowers().
|
private |
Definition at line 88 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 88 of file EvalRootTTree.h
Referenced by AddCluster(), EvalRootTTree(), get_cluster(), Reset(), and ~EvalRootTTree().
|
private |
Definition at line 86 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 86 of file EvalRootTTree.h
Referenced by AddHit(), EvalRootTTree(), get_hit(), Reset(), and ~EvalRootTTree().
|
private |
Definition at line 87 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 87 of file EvalRootTTree.h
Referenced by AddTower(), EvalRootTTree(), get_tower(), Reset(), and ~EvalRootTTree().
|
private |
Definition at line 96 of file EvalRootTTree.h.
View newest version in sPHENIX GitHub at line 96 of file EvalRootTTree.h
Referenced by get_tesum(), Reset(), and set_tesum().