Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DBCALShower_factory_IU Class Reference

#include <DBCALShower_factory_IU.h>

+ Inheritance diagram for DBCALShower_factory_IU:

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 DBCALGeometrydBCALGeom
 

Detailed Description

Definition at line 23 of file DBCALShower_factory_IU.h.

Constructor & Destructor Documentation

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.

DBCALShower_factory_IU::~DBCALShower_factory_IU ( )
inline

Definition at line 28 of file DBCALShower_factory_IU.h.

Member Function Documentation

jerror_t DBCALShower_factory_IU::erun ( void  )
private

Definition at line 110 of file DBCALShower_factory_IU.cc.

References CovarianceLookupTable.

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().

const char* DBCALShower_factory_IU::Tag ( void  )
inline

Definition at line 30 of file DBCALShower_factory_IU.h.

Member Data Documentation

double DBCALShower_factory_IU::const_term
private

Definition at line 46 of file DBCALShower_factory_IU.h.

Referenced by brun(), DBCALShower_factory_IU(), and evnt().

string DBCALShower_factory_IU::COVARIANCEFILENAME
private

Definition at line 42 of file DBCALShower_factory_IU.h.

Referenced by DBCALShower_factory_IU(), and LoadCovarianceLookupTables().

TH2F* DBCALShower_factory_IU::CovarianceLookupTable[5][5]
private

Definition at line 43 of file DBCALShower_factory_IU.h.

Referenced by erun(), FillCovarianceMatrix(), and LoadCovarianceLookupTables().

const DBCALGeometry* DBCALShower_factory_IU::dBCALGeom
private

Definition at line 58 of file DBCALShower_factory_IU.h.

Referenced by brun(), and evnt().

double DBCALShower_factory_IU::first_exp_param0
private

Definition at line 48 of file DBCALShower_factory_IU.h.

Referenced by brun(), DBCALShower_factory_IU(), and evnt().

double DBCALShower_factory_IU::first_exp_param1
private

Definition at line 49 of file DBCALShower_factory_IU.h.

Referenced by brun(), DBCALShower_factory_IU(), and evnt().

double DBCALShower_factory_IU::first_term_scale_factor
private

Definition at line 47 of file DBCALShower_factory_IU.h.

Referenced by brun(), DBCALShower_factory_IU(), and evnt().

double DBCALShower_factory_IU::LOAD_CCDB_CONSTANTS
private

Definition at line 45 of file DBCALShower_factory_IU.h.

Referenced by brun(), and DBCALShower_factory_IU().

double DBCALShower_factory_IU::m_zTarget
private

Definition at line 56 of file DBCALShower_factory_IU.h.

Referenced by brun(), evnt(), and FillCovarianceMatrix().

double DBCALShower_factory_IU::second_exp_const_term
private

Definition at line 51 of file DBCALShower_factory_IU.h.

Referenced by brun(), DBCALShower_factory_IU(), and evnt().

double DBCALShower_factory_IU::second_exp_param0
private

Definition at line 53 of file DBCALShower_factory_IU.h.

Referenced by brun(), DBCALShower_factory_IU(), and evnt().

double DBCALShower_factory_IU::second_exp_param1
private

Definition at line 54 of file DBCALShower_factory_IU.h.

Referenced by brun(), DBCALShower_factory_IU(), and evnt().

double DBCALShower_factory_IU::second_exp_scale_factor
private

Definition at line 52 of file DBCALShower_factory_IU.h.

Referenced by brun(), DBCALShower_factory_IU(), and evnt().

double DBCALShower_factory_IU::second_term_scale_factor
private

Definition at line 50 of file DBCALShower_factory_IU.h.

Referenced by brun(), DBCALShower_factory_IU(), and evnt().

int DBCALShower_factory_IU::VERBOSE
private

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