Hall-D Software
alpha
|
#include <DBCALShower_factory_IU.h>
Public Member Functions | |
DBCALShower_factory_IU () | |
~DBCALShower_factory_IU () | |
const char * | Tag (void) |
jerror_t | LoadCovarianceLookupTables (JEventLoop *eventLoop) |
jerror_t | FillCovarianceMatrix (DBCALShower *shower) |
Private Member Functions | |
jerror_t | evnt (JEventLoop *loop, uint64_t eventnumber) |
jerror_t | brun (JEventLoop *loop, int32_t runnumber) |
jerror_t | erun (void) |
Private Attributes | |
int | VERBOSE |
string | COVARIANCEFILENAME |
TH2F * | CovarianceLookupTable [5][5] |
double | LOAD_CCDB_CONSTANTS |
double | const_term |
double | first_term_scale_factor |
double | first_exp_param0 |
double | first_exp_param1 |
double | second_term_scale_factor |
double | second_exp_const_term |
double | second_exp_scale_factor |
double | second_exp_param0 |
double | second_exp_param1 |
double | m_zTarget |
const DBCALGeometry * | dBCALGeom |
Definition at line 23 of file DBCALShower_factory_IU.h.
DBCALShower_factory_IU::DBCALShower_factory_IU | ( | ) |
< default to make no change to energy
< default to make no change to energy
< default to make no change to energy
< default to make no change to energy
< default to make no change to energy
< default to make no change to energy
< default to make no change to energy
< default to make no change to energy
< default to make no change to energy
< >0 once off info ; >2 event by event ; >3 everything
< Setting the filename will take precidence over the CCDB. Files must end in ij.txt, where i and j are integers corresponding to the element of the matrix
use to set energy corrections on command line
Definition at line 26 of file DBCALShower_factory_IU.cc.
References const_term, COVARIANCEFILENAME, first_exp_param0, first_exp_param1, first_term_scale_factor, LOAD_CCDB_CONSTANTS, second_exp_const_term, second_exp_param0, second_exp_param1, second_exp_scale_factor, second_term_scale_factor, and VERBOSE.
|
inline |
Definition at line 28 of file DBCALShower_factory_IU.h.
|
private |
Definition at line 58 of file DBCALShower_factory_IU.cc.
References const_term, dBCALGeom, first_exp_param0, first_exp_param1, first_term_scale_factor, DApplication::GetDGeometry(), DGeometry::GetTargetZ(), LOAD_CCDB_CONSTANTS, LoadCovarianceLookupTables(), m_zTarget, printf(), second_exp_const_term, second_exp_param0, second_exp_param1, second_exp_scale_factor, second_term_scale_factor, and VERBOSE.
|
private |
Definition at line 110 of file DBCALShower_factory_IU.cc.
References CovarianceLookupTable.
|
private |
Definition at line 123 of file DBCALShower_factory_IU.cc.
References const_term, dBCALGeom, FillCovarianceMatrix(), first_exp_param0, first_exp_param1, first_term_scale_factor, DBCALGeometry::GetBCAL_inner_rad(), k_cm, k_nsec, m_zTarget, printf(), second_exp_const_term, second_exp_param0, second_exp_param1, second_exp_scale_factor, second_term_scale_factor, sin(), and VERBOSE.
jerror_t DBCALShower_factory_IU::FillCovarianceMatrix | ( | DBCALShower * | shower | ) |
This function takes a BCALShower object and using the internal variables overwrites any existing covaraince matrix using lookup tables.
Definition at line 203 of file DBCALShower_factory_IU.cc.
References CovarianceLookupTable, DBCALShower::E, DBCALShower::ExyztCovariance, m_zTarget, printf(), sin(), sqrt(), VERBOSE, DBCALShower::x, DBCALShower::y, and DBCALShower::z.
Referenced by evnt().
jerror_t DBCALShower_factory_IU::LoadCovarianceLookupTables | ( | JEventLoop * | eventLoop | ) |
Definition at line 263 of file DBCALShower_factory_IU.cc.
References COVARIANCEFILENAME, CovarianceLookupTable, filename, japp, printf(), savedir, sprintf(), and VERBOSE.
Referenced by brun().
|
inline |
Definition at line 30 of file DBCALShower_factory_IU.h.
|
private |
Definition at line 46 of file DBCALShower_factory_IU.h.
Referenced by brun(), DBCALShower_factory_IU(), and evnt().
|
private |
Definition at line 42 of file DBCALShower_factory_IU.h.
Referenced by DBCALShower_factory_IU(), and LoadCovarianceLookupTables().
|
private |
Definition at line 43 of file DBCALShower_factory_IU.h.
Referenced by erun(), FillCovarianceMatrix(), and LoadCovarianceLookupTables().
|
private |
Definition at line 58 of file DBCALShower_factory_IU.h.
|
private |
Definition at line 48 of file DBCALShower_factory_IU.h.
Referenced by brun(), DBCALShower_factory_IU(), and evnt().
|
private |
Definition at line 49 of file DBCALShower_factory_IU.h.
Referenced by brun(), DBCALShower_factory_IU(), and evnt().
|
private |
Definition at line 47 of file DBCALShower_factory_IU.h.
Referenced by brun(), DBCALShower_factory_IU(), and evnt().
|
private |
Definition at line 45 of file DBCALShower_factory_IU.h.
Referenced by brun(), and DBCALShower_factory_IU().
|
private |
Definition at line 56 of file DBCALShower_factory_IU.h.
Referenced by brun(), evnt(), and FillCovarianceMatrix().
|
private |
Definition at line 51 of file DBCALShower_factory_IU.h.
Referenced by brun(), DBCALShower_factory_IU(), and evnt().
|
private |
Definition at line 53 of file DBCALShower_factory_IU.h.
Referenced by brun(), DBCALShower_factory_IU(), and evnt().
|
private |
Definition at line 54 of file DBCALShower_factory_IU.h.
Referenced by brun(), DBCALShower_factory_IU(), and evnt().
|
private |
Definition at line 52 of file DBCALShower_factory_IU.h.
Referenced by brun(), DBCALShower_factory_IU(), and evnt().
|
private |
Definition at line 50 of file DBCALShower_factory_IU.h.
Referenced by brun(), DBCALShower_factory_IU(), and evnt().
|
private |
Definition at line 41 of file DBCALShower_factory_IU.h.
Referenced by brun(), DBCALShower_factory_IU(), evnt(), FillCovarianceMatrix(), and LoadCovarianceLookupTables().