Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MvtxQAHisto Class Reference

#include <prototype/blob/master/offline/packages/MvtxPrototype1/MvtxQAHisto.h>

+ Inheritance diagram for MvtxQAHisto:
+ Collaboration diagram for MvtxQAHisto:

Public Member Functions

 MvtxQAHisto (const std::string &name="MvtxQAHisto")
 
int Init (PHCompositeNode *)
 
int process_event (PHCompositeNode *)
 
int End (PHCompositeNode *)
 Called at the end of all processing.
 
void set_filename (const char *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 Member Functions

void GetNodes (PHCompositeNode *)
 

Private Attributes

std::string _outfile
 
int _event
 
unsigned int _flags
 
float beam_x [4]
 
float beam_y [4]
 
TH2F * h2d_hit [4]
 
TH2F * h2d_hit_beam [4]
 
TH2F * h2d_hit_trk [4]
 
TH1F * h1d_hit_per_evt [4]
 
TH2F * h2d_clus [4]
 
TH2F * h2d_clus_beam [4]
 
TH1F * h1d_clus_per_evt [4]
 
TH1F * h1d_clus_size_x [4]
 
TH1F * h1d_clus_size_z [4]
 
TrkrClusterContainercluscon
 
TrkrHitSetContainerhitsetcon
 
TH1F * h1d_trk_finder_x
 
TH1F * h1d_trk_finder_z
 
TH2F * h2d_trk_finder
 
TH1F * h1d_clus_associated
 
TH1F * h1d_clus_eff
 

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")
 

Detailed Description

Definition at line 16 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 16 of file MvtxQAHisto.h

Constructor & Destructor Documentation

MvtxQAHisto::MvtxQAHisto ( const std::string &  name = "MvtxQAHisto")

Definition at line 50 of file MvtxQAHisto.C.

View newest version in sPHENIX GitHub at line 50 of file MvtxQAHisto.C

References _outfile, beam_x, and beam_y.

Member Function Documentation

int MvtxQAHisto::End ( PHCompositeNode )
virtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 268 of file MvtxQAHisto.C.

View newest version in sPHENIX GitHub at line 268 of file MvtxQAHisto.C

References _outfile, PHTFileServer::cd(), PHTFileServer::get(), and PHTFileServer::write().

+ Here is the call graph for this function:

void MvtxQAHisto::GetNodes ( PHCompositeNode topNode)
private

Definition at line 285 of file MvtxQAHisto.C.

View newest version in sPHENIX GitHub at line 285 of file MvtxQAHisto.C

References cluscon, and hitsetcon.

Referenced by process_event().

+ Here is the caller graph for this function:

int MvtxQAHisto::Init ( PHCompositeNode )
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.

Definition at line 72 of file MvtxQAHisto.C.

View newest version in sPHENIX GitHub at line 72 of file MvtxQAHisto.C

References _outfile, PHTFileServer::get(), h1d_clus_associated, h1d_clus_eff, h1d_clus_per_evt, h1d_clus_size_x, h1d_clus_size_z, h1d_hit_per_evt, h1d_trk_finder_x, h1d_trk_finder_z, h2d_clus, h2d_clus_beam, h2d_hit, h2d_hit_beam, h2d_hit_trk, h2d_trk_finder, PHTFileServer::open(), and PHWHERE.

+ Here is the call graph for this function:

int MvtxQAHisto::process_event ( PHCompositeNode )
virtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

Definition at line 108 of file MvtxQAHisto.C.

View newest version in sPHENIX GitHub at line 108 of file MvtxQAHisto.C

References _event, beam_x, beam_y, cluscon, Acts::UnitConstants::e, GetNodes(), h1d_clus_per_evt, h1d_clus_size_x, h1d_clus_size_z, h1d_hit_per_evt, h1d_trk_finder_x, h1d_trk_finder_z, h2d_clus, h2d_clus_beam, h2d_hit, h2d_trk_finder, hitsetcon, norm, and PHWHERE.

+ Here is the call graph for this function:

void MvtxQAHisto::set_filename ( const char *  file)
inline

Definition at line 32 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 32 of file MvtxQAHisto.h

References _outfile, and file.

Referenced by Fun4All_TestBeam().

+ Here is the caller graph for this function:

Member Data Documentation

int MvtxQAHisto::_event
private

Definition at line 40 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 40 of file MvtxQAHisto.h

Referenced by process_event().

unsigned int MvtxQAHisto::_flags
private

Definition at line 46 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 46 of file MvtxQAHisto.h

std::string MvtxQAHisto::_outfile
private

Definition at line 37 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 37 of file MvtxQAHisto.h

Referenced by End(), Init(), MvtxQAHisto(), and set_filename().

float MvtxQAHisto::beam_x[4]
private

Definition at line 48 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 48 of file MvtxQAHisto.h

Referenced by MvtxQAHisto(), and process_event().

float MvtxQAHisto::beam_y[4]
private

Definition at line 49 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 49 of file MvtxQAHisto.h

Referenced by MvtxQAHisto(), and process_event().

TrkrClusterContainer* MvtxQAHisto::cluscon
private

Definition at line 62 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 62 of file MvtxQAHisto.h

Referenced by GetNodes(), and process_event().

TH1F* MvtxQAHisto::h1d_clus_associated
private

Definition at line 69 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 69 of file MvtxQAHisto.h

Referenced by Init().

TH1F* MvtxQAHisto::h1d_clus_eff
private

Definition at line 70 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 70 of file MvtxQAHisto.h

Referenced by Init().

TH1F* MvtxQAHisto::h1d_clus_per_evt[4]
private

Definition at line 58 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 58 of file MvtxQAHisto.h

Referenced by Init(), and process_event().

TH1F* MvtxQAHisto::h1d_clus_size_x[4]
private

Definition at line 59 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 59 of file MvtxQAHisto.h

Referenced by Init(), and process_event().

TH1F* MvtxQAHisto::h1d_clus_size_z[4]
private

Definition at line 60 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 60 of file MvtxQAHisto.h

Referenced by Init(), and process_event().

TH1F* MvtxQAHisto::h1d_hit_per_evt[4]
private

Definition at line 54 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 54 of file MvtxQAHisto.h

Referenced by Init(), and process_event().

TH1F* MvtxQAHisto::h1d_trk_finder_x
private

Definition at line 65 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 65 of file MvtxQAHisto.h

Referenced by Init(), and process_event().

TH1F* MvtxQAHisto::h1d_trk_finder_z
private

Definition at line 66 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 66 of file MvtxQAHisto.h

Referenced by Init(), and process_event().

TH2F* MvtxQAHisto::h2d_clus[4]
private

Definition at line 56 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 56 of file MvtxQAHisto.h

Referenced by Init(), and process_event().

TH2F* MvtxQAHisto::h2d_clus_beam[4]
private

Definition at line 57 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 57 of file MvtxQAHisto.h

Referenced by Init(), and process_event().

TH2F* MvtxQAHisto::h2d_hit[4]
private

Definition at line 51 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 51 of file MvtxQAHisto.h

Referenced by Init(), and process_event().

TH2F* MvtxQAHisto::h2d_hit_beam[4]
private

Definition at line 52 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 52 of file MvtxQAHisto.h

Referenced by Init().

TH2F* MvtxQAHisto::h2d_hit_trk[4]
private

Definition at line 53 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 53 of file MvtxQAHisto.h

Referenced by Init().

TH2F* MvtxQAHisto::h2d_trk_finder
private

Definition at line 67 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 67 of file MvtxQAHisto.h

Referenced by Init(), and process_event().

TrkrHitSetContainer* MvtxQAHisto::hitsetcon
private

Definition at line 63 of file MvtxQAHisto.h.

View newest version in sPHENIX GitHub at line 63 of file MvtxQAHisto.h

Referenced by GetNodes(), and process_event().


The documentation for this class was generated from the following files: