#include <ESPedestalTask.h>
Definition at line 13 of file ESPedestalTask.h.
ESPedestalTask::~ESPedestalTask |
( |
| ) |
|
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 125 of file ESPedestalTask.cc.
References ESSample::adc(), edm::Event::getByToken(), ESDataFrame::id(), edm::EventBase::id(), edm::HandleBase::isValid(), edm::EventID::run(), ESDataFrame::sample(), HcalObjRepresent::setup(), and ESDetId::zside().
138 int zside, plane, ix, iy, strip, iz;
150 iz = (zside==1) ? 0:1;
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const ESDetId & id() const
const ESSample & sample(int i) const
edm::EDGetTokenT< ESDigiCollection > digitoken_
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 65 of file ESPedestalTask.cc.
References gather_cfg::cout, mergeVDriftHistosByStation::file, and i.
69 int iz, ip, ix, iy, fed, kchip, pace, bundle, fiber, optorx;
70 int senZ_[4288], senP_[4288], senX_[4288], senY_[4288];
75 if( file.is_open() ) {
80 file>> iz >> ip >> ix >> iy >> fed >> kchip >> pace >> bundle >> fiber >> optorx;
87 iz = (senZ_[
i]==1) ? 0:1;
92 cout<<
"ESPedestalTask : Look up table file can not be found in "<<
lookup_.
fullPath().c_str()<<endl;
101 for (
int is=0; is<32; ++is) {
102 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 |