Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/Tracking/HitCountEval/HitCountEval.h>
Public Member Functions | |
HitCountEval (const std::string &name="HitCountEval", const std::string &file_name="g4eval.root") | |
int | Init (PHCompositeNode *const) |
int | process_event (PHCompositeNode *const) |
int | End (PHCompositeNode *const) |
Called at the end of all processing. | |
void | set_filename (const char *const file) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | InitRun (PHCompositeNode *) |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Private Attributes | |
std::string | output_file_name |
unsigned | event |
TTree * | hits [NELEMS(HitCountEval::hit_containers)] |
TTree * | normalized_hits [NELEMS(HitCountEval::hit_containers)] |
TH1F * | hit_count [NELEMS(HitCountEval::hit_containers)] |
TH1F * | eta_count [NELEMS(HitCountEval::hit_containers)] |
Float_t | hit_x |
Float_t | hit_y |
Float_t | hit_z |
Float_t | hit_px |
Float_t | hit_py |
Float_t | hit_pz |
Float_t | particle_initial_px |
Float_t | particle_initial_py |
Float_t | particle_initial_pz |
Int_t | hit_id |
Int_t | hit_layer |
Int_t | hit_event |
Double_t | normalized_hit_eta |
Double_t | normalized_hit_count |
Static Private Attributes | |
static const char *const | hit_containers [NHITCONTAINERS] |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = std::numeric_limits<int>::max() - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 32 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 32 of file HitCountEval.h
HitCountEval::HitCountEval | ( | const std::string & | name = "HitCountEval" , |
const std::string & | file_name = "g4eval.root" |
||
) |
Definition at line 38 of file HitCountEval.cc.
View newest version in sPHENIX GitHub at line 38 of file HitCountEval.cc
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
|
virtual |
Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).
Reimplemented from SubsysReco.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
void HitCountEval::set_filename | ( | const char *const | file | ) |
|
private |
Definition at line 50 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 50 of file HitCountEval.h
|
private |
Definition at line 44 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 44 of file HitCountEval.h
|
staticprivate |
Definition at line 45 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 45 of file HitCountEval.h
|
private |
Definition at line 49 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 49 of file HitCountEval.h
|
private |
Definition at line 65 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 65 of file HitCountEval.h
|
private |
Definition at line 63 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 63 of file HitCountEval.h
|
private |
Definition at line 64 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 64 of file HitCountEval.h
|
private |
Definition at line 56 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 56 of file HitCountEval.h
|
private |
Definition at line 57 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 57 of file HitCountEval.h
|
private |
Definition at line 58 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 58 of file HitCountEval.h
|
private |
Definition at line 53 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 53 of file HitCountEval.h
|
private |
Definition at line 54 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 54 of file HitCountEval.h
|
private |
Definition at line 55 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 55 of file HitCountEval.h
|
private |
Definition at line 47 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 47 of file HitCountEval.h
|
private |
Definition at line 68 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 68 of file HitCountEval.h
|
private |
Definition at line 67 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 67 of file HitCountEval.h
|
private |
Definition at line 48 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 48 of file HitCountEval.h
|
private |
Definition at line 42 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 42 of file HitCountEval.h
|
private |
Definition at line 59 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 59 of file HitCountEval.h
|
private |
Definition at line 60 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 60 of file HitCountEval.h
|
private |
Definition at line 61 of file HitCountEval.h.
View newest version in sPHENIX GitHub at line 61 of file HitCountEval.h