20 #ifdef WITH_ECAL_COND_DB
123 if (
h01_[ism-1] )
delete h01_[ism-1];
124 if (
h02_[ism-1] )
delete h02_[ism-1];
125 if (
h03_[ism-1] )
delete h03_[ism-1];
140 #ifdef WITH_ECAL_COND_DB
154 if (
ievt_ % 10 == 0 ) {
166 sprintf(histo, (
prefixME_ +
"/EECosmicTask/Sel/EECT energy sel %s").c_str(),
Numbers::sEE(ism).c_str());
168 h01_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h01_[ism-1] );
171 sprintf(histo, (
prefixME_ +
"/EECosmicTask/Spectrum/EECT 1x1 energy spectrum %s").c_str(),
Numbers::sEE(ism).c_str());
176 sprintf(histo, (
prefixME_ +
"/EECosmicTask/Spectrum/EECT 3x3 energy spectrum %s").c_str(),
Numbers::sEE(ism).c_str());
void beginRun(void)
BeginRun.
Cache logicID vector from database.
virtual ~EECosmicClient()
Destructor.
T getUntrackedParameter(std::string const &, T const &) const
Some "id" conversions.
std::vector< int > superModules_
static std::string sEE(const int ism)
MonitorElement * meh02_[18]
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
Ecal Monitor Utils for Client.
void cleanup(void)
Cleanup.
void analyze(void)
Analyze.
EECosmicClient(const edm::ParameterSet &ps)
Constructor.
MonitorElement * meh01_[18]
int ism(int ieta, int iphi)
void beginJob(void)
BeginJob.
MonitorElement * meh03_[18]