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

#include <analysis/blob/master/MvtxTelescope/AnaMvtxTB2019/AnaMvtxTestBeam2019.h>

+ Inheritance diagram for AnaMvtxTestBeam2019:
+ Collaboration diagram for AnaMvtxTestBeam2019:

Public Member Functions

 AnaMvtxTestBeam2019 (const std::string &name="AnaMvtxTestBeam2019", const std::string &ofName="out.root")
 
virtual ~AnaMvtxTestBeam2019 ()
 
int Init (PHCompositeNode *)
 
int InitRun (PHCompositeNode *)
 
int process_event (PHCompositeNode *)
 
int End (PHCompositeNode *)
 Called at the end of all processing.
 
MvtxStandaloneTrackinggetStandaloneTracking ()
 
void set_out_filename (const char *_fname)
 
void set_do_tracking (bool _do)
 
void set_ref_align_stave (int _ref_stave)
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int EndRun (const int)
 Called at the end of each run.
 
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

int GetNodes (PHCompositeNode *)
 
double CalcSlope (double x0, double y0, double x1, double y1)
 Get all nodes.
 
double CalcIntecept (double x0, double y0, double m)
 
double CalcProjection (double x, double m, double b)
 

Private Attributes

TrkrHitSetContainerv1m_hits
 
TrkrClusterContainerv1m_clusters
 
TList * m_lout_clusterQA
 
TList * m_lout_tracking
 
TH1D * h1d_nevents
 
TH1D * h1d_hit_layer
 number of events
 
TH1D * h1d_clu_layer
 number of hits per layers
 
TH1D * h1d_clu_map
 number of clusters per layers
 
TH2F * h2f_hit_map [NLAYER]
 cluster map
 
TH2F * h2f_clu_xz [NLAYER]
 
TH1D * h1d_clu_mean_dx [NLAYER]
 
TH1D * h1d_clu_mean_dz [NLAYER]
 
TH1D * h1d_clu_size [NLAYER]
 
TH1D * h1d_clu_size_phi [NLAYER]
 
TH1D * h1d_clu_size_z [NLAYER]
 
TH1D * htrk
 
TH1D * htrk_clus
 
TH1D * htrk_dz [NLAYER]
 
TH1D * htrk_dx [NLAYER]
 
TH1D * htrk_chi2xy
 
TH1D * htrk_chi2zy
 
TH1D * htrk_cut
 
TH1D * htrk_cut_clus
 
TH1D * htrk_cut_dx [NLAYER]
 
TH1D * htrk_cut_dz [NLAYER]
 
TH1D * htrk_cut_chi2xy
 
TH1D * htrk_cut_chi2zy
 
std::string m_foutname
 
bool do_tracking
 
int m_ievent
 
int m_ref_align_stave
 
MvtxStandaloneTrackingm_mvtxtracking
 

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 39 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 39 of file AnaMvtxTestBeam2019.h

Constructor & Destructor Documentation

AnaMvtxTestBeam2019::AnaMvtxTestBeam2019 ( const std::string &  name = "AnaMvtxTestBeam2019",
const std::string &  ofName = "out.root" 
)
virtual AnaMvtxTestBeam2019::~AnaMvtxTestBeam2019 ( )
inlinevirtual

Definition at line 46 of file AnaMvtxTestBeam2019.h.

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

References m_mvtxtracking.

Member Function Documentation

double AnaMvtxTestBeam2019::CalcIntecept ( double  x0,
double  y0,
double  m 
)
private

Definition at line 493 of file AnaMvtxTestBeam2019.cc.

View newest version in sPHENIX GitHub at line 493 of file AnaMvtxTestBeam2019.cc

References Acts::UnitConstants::m.

double AnaMvtxTestBeam2019::CalcProjection ( double  x,
double  m,
double  b 
)
private

Definition at line 504 of file AnaMvtxTestBeam2019.cc.

View newest version in sPHENIX GitHub at line 504 of file AnaMvtxTestBeam2019.cc

References KFPMath::b.

double AnaMvtxTestBeam2019::CalcSlope ( double  x0,
double  y0,
double  x1,
double  y1 
)
private

Get all nodes.

Definition at line 482 of file AnaMvtxTestBeam2019.cc.

View newest version in sPHENIX GitHub at line 482 of file AnaMvtxTestBeam2019.cc

References x0.

int AnaMvtxTestBeam2019::End ( PHCompositeNode )
virtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 429 of file AnaMvtxTestBeam2019.cc.

View newest version in sPHENIX GitHub at line 429 of file AnaMvtxTestBeam2019.cc

References cd(), PHTFileServer::cd(), PHTFileServer::close(), Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), m_foutname, m_lout_clusterQA, m_lout_tracking, PHTFileServer::open(), and PHTFileServer::write().

+ Here is the call graph for this function:

int AnaMvtxTestBeam2019::GetNodes ( PHCompositeNode topNode)
private

Definition at line 456 of file AnaMvtxTestBeam2019.cc.

View newest version in sPHENIX GitHub at line 456 of file AnaMvtxTestBeam2019.cc

References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, m_clusters, m_hits, and PHWHERE.

Referenced by process_event().

+ Here is the caller graph for this function:

MvtxStandaloneTracking* AnaMvtxTestBeam2019::getStandaloneTracking ( )
inline

Definition at line 57 of file AnaMvtxTestBeam2019.h.

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

References m_mvtxtracking.

Referenced by Fun4All_TestBeam().

+ Here is the caller graph for this function:

int AnaMvtxTestBeam2019::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 96 of file AnaMvtxTestBeam2019.cc.

View newest version in sPHENIX GitHub at line 96 of file AnaMvtxTestBeam2019.cc

References chipColor, do_tracking, Fun4AllReturnCodes::EVENT_OK, h1d_clu_layer, h1d_clu_map, h1d_clu_mean_dx, h1d_clu_mean_dz, h1d_clu_size, h1d_clu_size_phi, h1d_clu_size_z, h1d_hit_layer, h1d_nevents, h2f_clu_xz, h2f_hit_map, htrk, htrk_chi2xy, htrk_chi2zy, htrk_clus, htrk_cut, htrk_cut_chi2xy, htrk_cut_chi2zy, htrk_cut_clus, htrk_cut_dx, htrk_cut_dz, htrk_dx, htrk_dz, m_lout_clusterQA, m_lout_tracking, NCOL, NLAYER, and NROW.

int AnaMvtxTestBeam2019::InitRun ( PHCompositeNode )
virtual

Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.

Reimplemented from SubsysReco.

Definition at line 228 of file AnaMvtxTestBeam2019.cc.

View newest version in sPHENIX GitHub at line 228 of file AnaMvtxTestBeam2019.cc

References Fun4AllReturnCodes::EVENT_OK, and m_ievent.

void AnaMvtxTestBeam2019::set_do_tracking ( bool  _do)
inline

Definition at line 61 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 61 of file AnaMvtxTestBeam2019.h

References do_tracking.

Referenced by Fun4All_TestBeam().

+ Here is the caller graph for this function:

void AnaMvtxTestBeam2019::set_out_filename ( const char *  _fname)
inline

Definition at line 60 of file AnaMvtxTestBeam2019.h.

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

References m_foutname.

Referenced by Fun4All_TestBeam().

+ Here is the caller graph for this function:

void AnaMvtxTestBeam2019::set_ref_align_stave ( int  _ref_stave)
inline

Definition at line 63 of file AnaMvtxTestBeam2019.h.

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

References m_ref_align_stave.

Referenced by Fun4All_TestBeam().

+ Here is the caller graph for this function:

Member Data Documentation

bool AnaMvtxTestBeam2019::do_tracking
private

Definition at line 112 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 112 of file AnaMvtxTestBeam2019.h

Referenced by Init(), process_event(), and set_do_tracking().

TH1D* AnaMvtxTestBeam2019::h1d_clu_layer
private

number of hits per layers

Definition at line 83 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 83 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::h1d_clu_map
private

number of clusters per layers

Definition at line 84 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 84 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::h1d_clu_mean_dx[NLAYER]
private

Definition at line 88 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 88 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::h1d_clu_mean_dz[NLAYER]
private

Definition at line 89 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 89 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::h1d_clu_size[NLAYER]
private

Definition at line 90 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 90 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::h1d_clu_size_phi[NLAYER]
private

Definition at line 91 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 91 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::h1d_clu_size_z[NLAYER]
private

Definition at line 92 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 92 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::h1d_hit_layer
private

number of events

Definition at line 82 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 82 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::h1d_nevents
private

Definition at line 81 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 81 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH2F* AnaMvtxTestBeam2019::h2f_clu_xz[NLAYER]
private

Definition at line 86 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 86 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH2F* AnaMvtxTestBeam2019::h2f_hit_map[NLAYER]
private

cluster map

Definition at line 85 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 85 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk
private

Definition at line 94 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 94 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_chi2xy
private

Definition at line 98 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 98 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_chi2zy
private

Definition at line 99 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 99 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_clus
private

Definition at line 95 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 95 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_cut
private

Definition at line 101 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 101 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_cut_chi2xy
private

Definition at line 105 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 105 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_cut_chi2zy
private

Definition at line 106 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 106 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_cut_clus
private

Definition at line 102 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 102 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_cut_dx[NLAYER]
private

Definition at line 103 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 103 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_cut_dz[NLAYER]
private

Definition at line 104 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 104 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_dx[NLAYER]
private

Definition at line 97 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 97 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TH1D* AnaMvtxTestBeam2019::htrk_dz[NLAYER]
private

Definition at line 96 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 96 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), Init(), and process_event().

TrkrClusterContainerv1* AnaMvtxTestBeam2019::m_clusters
private

Definition at line 75 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 75 of file AnaMvtxTestBeam2019.h

Referenced by GetNodes(), and process_event().

std::string AnaMvtxTestBeam2019::m_foutname
private

Definition at line 109 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 109 of file AnaMvtxTestBeam2019.h

Referenced by End(), and set_out_filename().

TrkrHitSetContainerv1* AnaMvtxTestBeam2019::m_hits
private

Definition at line 74 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 74 of file AnaMvtxTestBeam2019.h

Referenced by GetNodes(), and process_event().

int AnaMvtxTestBeam2019::m_ievent
private

Definition at line 114 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 114 of file AnaMvtxTestBeam2019.h

Referenced by InitRun(), and process_event().

TList* AnaMvtxTestBeam2019::m_lout_clusterQA
private

Definition at line 78 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 78 of file AnaMvtxTestBeam2019.h

Referenced by End(), and Init().

TList* AnaMvtxTestBeam2019::m_lout_tracking
private

Definition at line 79 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 79 of file AnaMvtxTestBeam2019.h

Referenced by End(), and Init().

MvtxStandaloneTracking* AnaMvtxTestBeam2019::m_mvtxtracking
private

Definition at line 117 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 117 of file AnaMvtxTestBeam2019.h

Referenced by AnaMvtxTestBeam2019(), getStandaloneTracking(), process_event(), and ~AnaMvtxTestBeam2019().

int AnaMvtxTestBeam2019::m_ref_align_stave
private

Definition at line 115 of file AnaMvtxTestBeam2019.h.

View newest version in sPHENIX GitHub at line 115 of file AnaMvtxTestBeam2019.h

Referenced by process_event(), and set_ref_align_stave().


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