#include <ESPedestalTask.h>
Definition at line 11 of file ESPedestalTask.h.
ESPedestalTask::~ESPedestalTask |
( |
| ) |
|
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 126 of file ESPedestalTask.cc.
References ESSample::adc(), edm::Event::getByLabel(), ESDataFrame::id(), edm::EventBase::id(), edm::HandleBase::isValid(), edm::EventID::run(), ESDataFrame::sample(), HcalObjRepresent::setup(), strip(), and ESDetId::zside().
139 int zside, plane, ix, iy,
strip, iz;
151 iz = (zside==1) ? 0:1;
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
const ESDetId & id() const
const ESSample & sample(int i) const
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
int senCount_[2][2][40][40]
int adc() const
get the ADC sample (singed 16 bits)
MonitorElement * meADC_[4288][32]
void ESPedestalTask::beginJob |
( |
void |
| ) |
|
|
privatevirtual |
void ESPedestalTask::cleanup |
( |
void |
| ) |
|
|
private |
void ESPedestalTask::endJob |
( |
void |
| ) |
|
|
privatevirtual |
void ESPedestalTask::reset |
( |
void |
| ) |
|
|
private |
void ESPedestalTask::setup |
( |
void |
| ) |
|
|
private |
Definition at line 66 of file ESPedestalTask.cc.
References gather_cfg::cout, mergeVDriftHistosByStation::file, and i.
70 int iz, ip, ix, iy, fed, kchip, pace, bundle, fiber, optorx;
71 int senZ_[4288], senP_[4288], senX_[4288], senY_[4288];
76 if( file.is_open() ) {
81 file>> iz >> ip >> ix >> iy >> fed >> kchip >> pace >> bundle >> fiber >> optorx;
88 iz = (senZ_[
i]==1) ? 0:1;
93 cout<<
"ESPedestalTask : Look up table file can not be found in "<<
lookup_.
fullPath().c_str()<<endl;
102 for (
int is=0; is<32; ++is) {
103 sprintf(hname,
"ADC Z %d P %d X %d Y %d Str %d", senZ_[
i], senP_[i], senX_[i], senY_[i], is+1);
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
int senCount_[2][2][40][40]
std::string fullPath() const
MonitorElement * meADC_[4288][32]
void setCurrentFolder(const std::string &fullpath)
bool ESPedestalTask::enableCleanup_ |
|
private |
int ESPedestalTask::firstDAC_ |
|
private |
int ESPedestalTask::gain_ |
|
private |
int ESPedestalTask::ievt_ |
|
private |
bool ESPedestalTask::init_ |
|
private |
int ESPedestalTask::isPed_ |
|
private |
bool ESPedestalTask::mergeRuns_ |
|
private |
int ESPedestalTask::nDAC_ |
|
private |
int ESPedestalTask::nLines_ |
|
private |
std::string ESPedestalTask::outputFile_ |
|
private |
int ESPedestalTask::precision_ |
|
private |
std::string ESPedestalTask::prefixME_ |
|
private |
int ESPedestalTask::runNum_ |
|
private |
int ESPedestalTask::runtype_ |
|
private |
int ESPedestalTask::senCount_[2][2][40][40] |
|
private |
int ESPedestalTask::seqtype_ |
|
private |
int ESPedestalTask::vDAC_[5] |
|
private |