#include <mEmcRecoModuleRealYear3v1.h>
Inherits emcRecoModule.
Inheritance diagram for mEmcRecoModuleRealYear3v1:
By default, all emcal sectors are treated, the various data obtained from database come from Postgres, and the full variability of tower gains is used. While the default should be fine, experts may want to play with some parameters, explained hereafter.
The sectors to be treated can be changed according recoConsts flag EMCSECTORS, e.g.
recoConsts* rc = recoConsts::instance(); rc->set_CharFlag("EMCSECTORS","pbsc"); // use only PbSc rc->set_CharFlag("EMCSECTORS","pbgl"); // use only PbGl rc->set_CharFlag("EMCSECTORS","W0E3"); // use only W0 and E3 sectors
Calibration data source can be changed using recoConsts flag EMCDATASOURCE, e.g.
recoConsts* rc = recoConsts::instance(); rc->set_CharFlag("EMCDATASOURCE","File_ASCII"); // use ASCII file as data source (WARNING: this is really an export mode of operation!) rc->set_CharFlag("EMCDATASOURCE","DB_Objy"); // use Objy as data source (if that still works...)
Usage of gain variation can be disconnected if recoConsts flag EMCCONSTANTGAINS is set to 1.
Definition at line 42 of file mEmcRecoModuleRealYear3v1.h.
Public Member Functions | |
mEmcRecoModuleRealYear3v1 (const PHFlag &) | |
virtual | ~mEmcRecoModuleRealYear3v1 () |
int | ana (PHCompositeNode *topNode) |
Main method to do the work for each event. | |
int | end (PHCompositeNode *topNode) |
When we are done. | |
const char * | getName () const |
The name of this module. | |
int | setup (PHCompositeNode *topNode) |
Defines the nodes we need, together with the list of (PH)modules to be called at each event (in that order) : 1. | |
virtual void | identify (std::ostream &os=std::cout) const |
virtual void | Reset () |
virtual int | isValid () const |
Private Member Functions | |
void | createNodeTree (PHCompositeNode *topNode) |
void | setup_calibrator (PHCompositeNode *topNode) |
void | setup_clustering (PHCompositeNode *topNode) |
Private Attributes | |
emcModuleHelper * | fModules |
PHTimeStamp * | fTimeStamp |
int | fRunNumber |
std::string | fDstNodeName |
bool | fConstantGains |
std::string | fSectors |
emcManageable::EStorage | fDataSource |
std::ostringstream | fStartupMessage |
Static Private Attributes | |
static const float | fgTowerThresholdPbSc = 0.010 |
static const float | fgTowerThresholdPbGl = 0.014 |
static const float | fgMinClusterEnergyPbSc = 0.015 |
static const float | fgMinClusterEnergyPbGl = 0.060 |
|
Definition at line 30 of file mEmcRecoModuleRealYear3v1.C. |
|
Definition at line 104 of file mEmcRecoModuleRealYear3v1.C. References fModules, and fTimeStamp. |
|
Main method to do the work for each event.
Implements emcRecoModule. Definition at line 112 of file mEmcRecoModuleRealYear3v1.C. References emcModuleHelper::event(), and fModules. |
|
Definition at line 119 of file mEmcRecoModuleRealYear3v1.C. References emcNodeHelper::makeCompositeNode(). Referenced by setup(). |
|
When we are done.
Implements emcRecoModule. Definition at line 137 of file mEmcRecoModuleRealYear3v1.C. |
|
The name of this module.
Implements emcRecoModule. Definition at line 54 of file mEmcRecoModuleRealYear3v1.h. |
|
|
|
Definition at line 68 of file mEmcRecoModuleRealYear3v1.h. |
|
Definition at line 66 of file mEmcRecoModuleRealYear3v1.h. |
|
Defines the nodes we need, together with the list of (PH)modules to be called at each event (in that order) : 1. mEmcCalibratorModulev1 2. mEmcTOFCorr5Module 3. mEmcClusterizerv0 Implements emcRecoModule. Definition at line 151 of file mEmcRecoModuleRealYear3v1.C. References emcModuleHelper::add(), createNodeTree(), fDstNodeName, emcNodeHelper::findCompositeNode(), fModules, fRunNumber, fStartupMessage, mEmcTOFCorr5Module::instance(), mEmcTOFCorr5, emcModuleHelper::print(), mEmcTOFCorr5Module::readDataFromDB(), setup_calibrator(), and setup_clustering(). |
|
Definition at line 199 of file mEmcRecoModuleRealYear3v1.C. References emcModuleHelper::add(), emcNodeHelper::addObject(), fConstantGains, fDataSource, emcNodeHelper::findCompositeNode(), fModules, fRunNumber, fSectors, and fTimeStamp. Referenced by setup(). |
|
|
Definition at line 82 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup_calibrator(). |
|
Definition at line 85 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup_calibrator(). |
|
Definition at line 81 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup(), and setup_clustering(). |
|
Definition at line 91 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup_clustering(). |
|
Definition at line 90 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup_clustering(). |
|
Definition at line 89 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup_clustering(). |
|
Definition at line 88 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup_clustering(). |
|
Definition at line 78 of file mEmcRecoModuleRealYear3v1.h. Referenced by ana(), setup(), setup_calibrator(), setup_clustering(), and ~mEmcRecoModuleRealYear3v1(). |
|
Definition at line 80 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup(), and setup_calibrator(). |
|
Definition at line 84 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup_calibrator(). |
|
Definition at line 86 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup(). |
|
Definition at line 79 of file mEmcRecoModuleRealYear3v1.h. Referenced by setup_calibrator(), and ~mEmcRecoModuleRealYear3v1(). |