emcBadNormt Class Reference
[Tower calibration]

#include <emcBadNormt.h>

List of all members.


Detailed Description

Test class.

Not for general user !

This class is a check related to the way we deal with energy calibration in emcDCProcessorv3::calibrateEnergyPbSc(). We hereby investigate the effect of the limit we put on the normt factor.

Definition at line 22 of file emcBadNormt.h.

Public Member Functions

 emcBadNormt (const char *outputdir="/tmp")
void addRun (int runnumber)
void clearRun ()
void print (std::ostream &out=std::cout)
void process (float normt_limit=47.84)

Private Member Functions

void initGainBaseLine (emcCalibrationDataHelper &)

Private Attributes

std::vector< int > fRuns
std::vector< int > fNbad
std::vector< float > fGainBaseLineFactor
std::string fOutputDir
std::vector< TH2 * > fHistos


Constructor & Destructor Documentation

emcBadNormt::emcBadNormt const char *  outputdir = "/tmp"  ) 
 

Definition at line 18 of file emcBadNormt.C.

References EmcIndexer::EmcSectorId(), and fHistos.


Member Function Documentation

void emcBadNormt::addRun int  runnumber  )  [inline]
 

Definition at line 28 of file emcBadNormt.h.

References fRuns.

Referenced by run_BadNormt().

void emcBadNormt::clearRun  )  [inline]
 

Definition at line 33 of file emcBadNormt.h.

References fNbad, and fRuns.

void emcBadNormt::initGainBaseLine emcCalibrationDataHelper  )  [private]
 

Definition at line 34 of file emcBadNormt.C.

References fGainBaseLineFactor, emcCalibrationDataHelper::getGainBaseLine(), and EmcIndexer::PXSM144_iSiSM144().

Referenced by process().

void emcBadNormt::print std::ostream &  out = std::cout  ) 
 

Definition at line 60 of file emcBadNormt.C.

References fNbad, and fRuns.

Referenced by run_BadNormt().

void emcBadNormt::process float  normt_limit = 47.84  ) 
 

Definition at line 79 of file emcBadNormt.C.

References EmcIndexer::decodeTowerId(), fGainBaseLineFactor, fHistos, fRuns, emcCalibrationDataHelper::getCalibration(), emcDataManager::GetInstance(), emcTimeStamp::getTimeStamp(), initGainBaseLine(), emcManageable::kDB_Objy, emcManageable::kFile_ASCII, EmcIndexer::PXSM144iCH_iPX(), emcDataManager::Read(), emcRejectList::set(), emcRejectList::set_or(), emcManageable::SetDestination(), and emcManageable::SetSource().

Referenced by run_BadNormt().


Member Data Documentation

std::vector<float> emcBadNormt::fGainBaseLineFactor [private]
 

Definition at line 50 of file emcBadNormt.h.

Referenced by initGainBaseLine(), and process().

std::vector<TH2*> emcBadNormt::fHistos [private]
 

Definition at line 52 of file emcBadNormt.h.

Referenced by emcBadNormt(), and process().

std::vector<int> emcBadNormt::fNbad [private]
 

Definition at line 49 of file emcBadNormt.h.

Referenced by clearRun(), and print().

std::string emcBadNormt::fOutputDir [private]
 

Definition at line 51 of file emcBadNormt.h.

std::vector<int> emcBadNormt::fRuns [private]
 

Definition at line 48 of file emcBadNormt.h.

Referenced by addRun(), clearRun(), print(), and process().


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