Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/mbd/MbdCalib.h>
Public Member Functions | |
MbdCalib () | |
virtual | ~MbdCalib () |
float | get_qgain (const int ipmt) const |
float | get_tq0 (const int ipmt) const |
int | get_sampmax (const int ifeech) const |
std::vector< float > | get_shape (const int ifeech) const |
std::vector< float > | get_sherr (const int ifeech) const |
int | Download_Gains (const std::string &dbfile) |
int | Download_TQT0 (const std::string &dbfile) |
int | Download_TTT0 (const std::string &dbfile) |
int | Download_Slew (const std::string &dbfile) |
int | Download_SampMax (const std::string &dbfile) |
int | Download_Shapes (const std::string &dbfile) |
int | Download_All () |
int | Write_CDB_SampMax (const std::string &dbfile) |
int | Write_CDB_Shapes (const std::string &dbfile) |
int | Write_CDB_All () |
int | Write_SampMax (const std::string &dbfile) |
int | Write_TQT0 (const std::string &dbfile) |
void | Reset () |
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 | Print (const std::string &what="ALL") const |
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. | |
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 Fun4AllBase | |
Fun4AllBase (const std::string &name="NONAME") | |
Definition at line 23 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 23 of file MbdCalib.h
MbdCalib::MbdCalib | ( | ) |
Definition at line 20 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 20 of file MbdCalib.cc
References _mbdgeom, _rc, do_templatefit, PHFlag::FlagExist(), PHFlag::get_IntFlag(), recoConsts::instance(), and Reset().
|
inlinevirtual |
Definition at line 31 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 31 of file MbdCalib.h
int MbdCalib::Download_All | ( | ) |
Definition at line 36 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 36 of file MbdCalib.cc
References _cdb, _rc, _status, do_templatefit, Download_Gains(), Download_SampMax(), Download_Shapes(), Download_TQT0(), PHFlag::FlagExist(), PHFlag::get_StringFlag(), PHFlag::get_uint64Flag(), CDBInterface::getUrl(), CDBInterface::instance(), PHWHERE, and Fun4AllBase::Verbosity().
Referenced by MbdEvent::InitRun().
int MbdCalib::Download_Gains | ( | const std::string & | dbfile | ) |
Definition at line 124 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 124 of file MbdCalib.cc
References _qfit_chi2ndf, _qfit_integ, _qfit_integerr, _qfit_mpv, _qfit_mpverr, _qfit_sigma, _qfit_sigmaerr, _status, CDBTTree::GetFloatValue(), infile, CDBTTree::LoadCalibrations(), MbdDefs::MBD_N_PMT, path, PHWHERE, and Fun4AllBase::Verbosity().
Referenced by Download_All().
int MbdCalib::Download_SampMax | ( | const std::string & | dbfile | ) |
Definition at line 339 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 339 of file MbdCalib.cc
References _sampmax, _status, feech, CDBTTree::GetIntValue(), infile, CDBTTree::LoadCalibrations(), MbdDefs::MBD_N_FEECH, path, PHWHERE, and Fun4AllBase::Verbosity().
Referenced by Download_All().
int MbdCalib::Download_Shapes | ( | const std::string & | dbfile | ) |
Definition at line 524 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 524 of file MbdCalib.cc
References _mbdgeom, _shape_maxrange, _shape_minrange, _shape_npts, _shape_y, _sherr_maxrange, _sherr_minrange, _sherr_npts, _sherr_yerr, _status, CDBTTree::GetFloatValue(), CDBTTree::GetIntValue(), infile, CDBTTree::LoadCalibrations(), MbdDefs::MBD_N_FEECH, path, PHWHERE, shape(), and Fun4AllBase::Verbosity().
Referenced by Download_All().
int MbdCalib::Download_Slew | ( | const std::string & | dbfile | ) |
Definition at line 397 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 397 of file MbdCalib.cc
References _mbdgeom, _sherr_maxrange, _sherr_minrange, _sherr_npts, _sherr_yerr, _slew_maxrange, _slew_minrange, _slew_npts, _slew_y, _status, CDBTTree::GetFloatValue(), CDBTTree::GetIntValue(), infile, CDBTTree::LoadCalibrations(), MbdDefs::MBD_N_FEECH, path, PHWHERE, and Fun4AllBase::Verbosity().
int MbdCalib::Download_TQT0 | ( | const std::string & | dbfile | ) |
Definition at line 199 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 199 of file MbdCalib.cc
References _status, _tqfit_t0mean, _tqfit_t0meanerr, _tqfit_t0sigma, _tqfit_t0sigmaerr, CDBTTree::GetFloatValue(), infile, CDBTTree::LoadCalibrations(), MbdDefs::MBD_N_PMT, path, PHWHERE, and Fun4AllBase::Verbosity().
Referenced by Download_All().
int MbdCalib::Download_TTT0 | ( | const std::string & | dbfile | ) |
Definition at line 269 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 269 of file MbdCalib.cc
References _status, _ttfit_t0mean, _ttfit_t0meanerr, _ttfit_t0sigma, _ttfit_t0sigmaerr, CDBTTree::GetFloatValue(), infile, CDBTTree::LoadCalibrations(), MbdDefs::MBD_N_PMT, path, PHWHERE, and Fun4AllBase::Verbosity().
|
inline |
Definition at line 33 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 33 of file MbdCalib.h
References _qfit_mpv.
Referenced by MbdEvent::SetRawData().
|
inline |
Definition at line 35 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 35 of file MbdCalib.h
References _sampmax.
Referenced by MbdEvent::InitRun(), and MbdEvent::SetRawData().
|
inline |
Definition at line 36 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 36 of file MbdCalib.h
References _shape_y.
Referenced by MbdEvent::InitRun().
|
inline |
Definition at line 37 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 37 of file MbdCalib.h
References _sherr_yerr.
Referenced by MbdEvent::InitRun().
|
inline |
Definition at line 34 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 34 of file MbdCalib.h
References _tqfit_t0mean.
Referenced by MbdEvent::SetRawData().
void MbdCalib::Reset | ( | ) |
Definition at line 843 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 843 of file MbdCalib.cc
References _qfit_chi2ndf, _qfit_integ, _qfit_integerr, _qfit_mpv, _qfit_mpverr, _qfit_sigma, _qfit_sigmaerr, _sampmax, _tqfit_t0mean, _tqfit_t0meanerr, _tqfit_t0sigma, and _tqfit_t0sigmaerr.
Referenced by MbdCalib().
int MbdCalib::Write_CDB_All | ( | ) |
Definition at line 838 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 838 of file MbdCalib.cc
int MbdCalib::Write_CDB_SampMax | ( | const std::string & | dbfile | ) |
Definition at line 712 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 712 of file MbdCalib.cc
References _sampmax, and MbdDefs::MBD_N_FEECH.
int MbdCalib::Write_CDB_Shapes | ( | const std::string & | dbfile | ) |
Definition at line 770 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 770 of file MbdCalib.cc
References _mbdgeom, _sampmax, _shape_maxrange, _shape_minrange, _shape_npts, _shape_y, _sherr_maxrange, _sherr_minrange, _sherr_npts, _sherr_yerr, and MbdDefs::MBD_N_FEECH.
int MbdCalib::Write_SampMax | ( | const std::string & | dbfile | ) |
Definition at line 743 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 743 of file MbdCalib.cc
References _sampmax, and MbdDefs::MBD_N_PMT.
int MbdCalib::Write_TQT0 | ( | const std::string & | dbfile | ) |
Definition at line 756 of file MbdCalib.cc.
View newest version in sPHENIX GitHub at line 756 of file MbdCalib.cc
References _tqfit_t0mean, _tqfit_t0meanerr, _tqfit_t0sigma, _tqfit_t0sigmaerr, and MbdDefs::MBD_N_PMT.
|
private |
Definition at line 60 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 60 of file MbdCalib.h
Referenced by Download_All().
|
private |
Definition at line 68 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 68 of file MbdCalib.h
|
private |
Definition at line 63 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 63 of file MbdCalib.h
Referenced by Download_Shapes(), Download_Slew(), MbdCalib(), and Write_CDB_Shapes().
|
private |
Definition at line 77 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 77 of file MbdCalib.h
Referenced by Download_Gains(), and Reset().
|
private |
Definition at line 71 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 71 of file MbdCalib.h
Referenced by Download_Gains(), and Reset().
|
private |
Definition at line 74 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 74 of file MbdCalib.h
Referenced by Download_Gains(), and Reset().
|
private |
Definition at line 72 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 72 of file MbdCalib.h
Referenced by Download_Gains(), get_qgain(), and Reset().
|
private |
Definition at line 75 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 75 of file MbdCalib.h
Referenced by Download_Gains(), and Reset().
|
private |
Definition at line 73 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 73 of file MbdCalib.h
Referenced by Download_Gains(), and Reset().
|
private |
Definition at line 76 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 76 of file MbdCalib.h
Referenced by Download_Gains(), and Reset().
|
private |
Definition at line 61 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 61 of file MbdCalib.h
Referenced by Download_All(), and MbdCalib().
|
private |
Definition at line 98 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 98 of file MbdCalib.h
Referenced by Download_SampMax(), get_sampmax(), Reset(), Write_CDB_SampMax(), Write_CDB_Shapes(), and Write_SampMax().
|
private |
Definition at line 104 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 104 of file MbdCalib.h
Referenced by Download_Shapes(), and Write_CDB_Shapes().
|
private |
Definition at line 103 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 103 of file MbdCalib.h
Referenced by Download_Shapes(), and Write_CDB_Shapes().
|
private |
Definition at line 102 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 102 of file MbdCalib.h
Referenced by Download_Shapes(), and Write_CDB_Shapes().
|
private |
Definition at line 105 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 105 of file MbdCalib.h
Referenced by Download_Shapes(), get_shape(), and Write_CDB_Shapes().
|
private |
Definition at line 109 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 109 of file MbdCalib.h
Referenced by Download_Shapes(), Download_Slew(), and Write_CDB_Shapes().
|
private |
Definition at line 108 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 108 of file MbdCalib.h
Referenced by Download_Shapes(), Download_Slew(), and Write_CDB_Shapes().
|
private |
Definition at line 107 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 107 of file MbdCalib.h
Referenced by Download_Shapes(), Download_Slew(), and Write_CDB_Shapes().
|
private |
Definition at line 110 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 110 of file MbdCalib.h
Referenced by Download_Shapes(), Download_Slew(), get_sherr(), and Write_CDB_Shapes().
|
private |
Definition at line 94 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 94 of file MbdCalib.h
Referenced by Download_Slew().
|
private |
Definition at line 93 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 93 of file MbdCalib.h
Referenced by Download_Slew().
|
private |
Definition at line 92 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 92 of file MbdCalib.h
Referenced by Download_Slew().
|
private |
Definition at line 95 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 95 of file MbdCalib.h
Referenced by Download_Slew().
|
private |
Definition at line 65 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 65 of file MbdCalib.h
Referenced by Download_All(), Download_Gains(), Download_SampMax(), Download_Shapes(), Download_Slew(), Download_TQT0(), and Download_TTT0().
|
private |
Definition at line 86 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 86 of file MbdCalib.h
Referenced by Download_TQT0(), get_tq0(), Reset(), and Write_TQT0().
|
private |
Definition at line 87 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 87 of file MbdCalib.h
Referenced by Download_TQT0(), Reset(), and Write_TQT0().
|
private |
Definition at line 88 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 88 of file MbdCalib.h
Referenced by Download_TQT0(), Reset(), and Write_TQT0().
|
private |
Definition at line 89 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 89 of file MbdCalib.h
Referenced by Download_TQT0(), Reset(), and Write_TQT0().
|
private |
Definition at line 80 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 80 of file MbdCalib.h
Referenced by Download_TTT0().
|
private |
Definition at line 81 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 81 of file MbdCalib.h
Referenced by Download_TTT0().
|
private |
Definition at line 82 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 82 of file MbdCalib.h
Referenced by Download_TTT0().
|
private |
Definition at line 83 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 83 of file MbdCalib.h
Referenced by Download_TTT0().
|
private |
Definition at line 101 of file MbdCalib.h.
View newest version in sPHENIX GitHub at line 101 of file MbdCalib.h
Referenced by Download_All(), and MbdCalib().