#include <HcalLedAnalysis.h>
Classes | |
struct | CALIBBUNCH |
Public Member Functions | |
HcalLedAnalysis (const edm::ParameterSet &ps) | |
Constructor. More... | |
void | LedDone () |
void | LedSampleAnalysis () |
void | LedSetup (const std::string &m_outputFileROOT) |
void | processLedEvent (const HBHEDigiCollection &hbhe, const HODigiCollection &ho, const HFDigiCollection &hf, const HcalCalibDigiCollection &calib, const HcalDbService &cond) |
~HcalLedAnalysis () | |
Destructor. More... | |
Private Types | |
typedef std::pair< TH1F *, std::pair< std::map< int, std::vector< double > >, std::vector< TH1F * > > > | LEDBUNCH |
Private Member Functions | |
float | BinsizeCorr (float time) |
void | GetLedConst (std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT) |
void | LedHBHEHists (const HcalDetId &detid, const HBHEDataFrame &ledDigi, std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT, const HcalDbService &cond) |
void | LedHFHists (const HcalDetId &detid, const HFDataFrame &ledDigi, std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT, const HcalDbService &cond) |
void | LedHOHists (const HcalDetId &detid, const HODataFrame &ledDigi, std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT, const HcalDbService &cond) |
void | LedTrendings (std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT) |
void | ProcessCalibEvent (int fiberChan, HcalCalibDetId calibId, const HcalCalibDataFrame &digi) |
void | SetupLEDHists (int id, const HcalDetId detid, std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT) |
Private Attributes | |
std::map< HcalCalibDetId, CALIBBUNCH >::iterator | _meca |
std::map< HcalDetId, std::map< int, float > >::iterator | _meee |
std::map< HcalDetId, std::map< int, LEDBUNCH > >::iterator | _meol |
std::map< HcalCalibDetId, CALIBBUNCH > | calibHists |
int | evt |
int | evt_curr |
struct { | |
TH1F * ALLLEDS | |
TH1F * CHI2 | |
TH1F * LEDMEAN | |
TH1F * LEDRMS | |
std::map< HcalDetId, std::map< int, LEDBUNCH > > LEDTRENDS | |
} | hbHists |
struct { | |
TH1F * ALLLEDS | |
TH1F * CHI2 | |
TH1F * LEDMEAN | |
TH1F * LEDRMS | |
std::map< HcalDetId, std::map< int, LEDBUNCH > > LEDTRENDS | |
} | hfHists |
struct { | |
TH1F * ALLLEDS | |
TH1F * CHI2 | |
TH1F * LEDMEAN | |
TH1F * LEDRMS | |
std::map< HcalDetId, std::map< int, LEDBUNCH > > LEDTRENDS | |
} | hoHists |
std::map< HcalDetId, std::map< int, float > > | m_AllPedVals |
const HcalQIECoder * | m_coder |
int | m_endTS |
TFile * | m_file |
int | m_fitflag |
int | m_hiSaveflag |
std::ofstream | m_logFile |
int | m_nevtsample |
std::ofstream | m_outFile |
std::string | m_outputFileROOT |
std::string | m_outputFileText |
std::string | m_outputFileX |
std::ofstream | m_outputFileXML |
const HcalPedestal * | m_ped |
const HcalQIEShape * | m_shape |
int | m_startTS |
bool | m_usecalib |
int | sample |
std::vector< bool > | state |
Definition at line 30 of file HcalLedAnalysis.h.
|
private |
Definition at line 62 of file HcalLedAnalysis.h.
HcalLedAnalysis::HcalLedAnalysis | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 11 of file HcalLedAnalysis.cc.
References gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), dqmdumpme::k, convertSQLitetoXML_cfg::output, DeadROC_duringRun::runNum, and simplePhotonAnalyzer_cfi::sample.
HcalLedAnalysis::~HcalLedAnalysis | ( | ) |
Destructor.
All done, clean up!!
Definition at line 149 of file HcalLedAnalysis.cc.
References mps_fire::i.
|
private |
Definition at line 954 of file HcalLedAnalysis.cc.
References mps_fire::i, and createfilelist::int.
|
private |
Definition at line 215 of file HcalLedAnalysis.cc.
References HcalDetId::depth(), mps_fire::i, HcalDetId::ietaAbs(), HcalDetId::iphi(), dqmiolumiharvest::j, convertSQLitetoXML_cfg::output, DetId::rawId(), mathSSE::sqrt(), HcalDetId::subdet(), and HcalDetId::zside().
void HcalLedAnalysis::LedDone | ( | ) |
Definition at line 510 of file HcalLedAnalysis.cc.
References gather_cfg::cout, and simplePhotonAnalyzer_cfi::sample.
|
private |
Definition at line 734 of file HcalLedAnalysis.cc.
References ecalMGPA::adc(), dqmdumpme::first, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestal(), mps_fire::i, createfilelist::int, dqmdumpme::k, and HBHEDataFrame::size().
|
private |
Definition at line 875 of file HcalLedAnalysis.cc.
References ecalMGPA::adc(), dqmdumpme::first, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestal(), mps_fire::i, createfilelist::int, dqmdumpme::k, and HFDataFrame::size().
|
private |
Definition at line 805 of file HcalLedAnalysis.cc.
References ecalMGPA::adc(), dqmdumpme::first, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestal(), mps_fire::i, createfilelist::int, dqmdumpme::k, and HODataFrame::size().
void HcalLedAnalysis::LedSampleAnalysis | ( | ) |
Definition at line 462 of file HcalLedAnalysis.cc.
References simplePhotonAnalyzer_cfi::sample.
void HcalLedAnalysis::LedSetup | ( | const std::string & | m_outputFileROOT | ) |
Definition at line 180 of file HcalLedAnalysis.cc.
|
private |
Definition at line 478 of file HcalLedAnalysis.cc.
References trigObjTnPSource_cfi::bins, HcalDetId::depth(), dqmMemoryStats::float, HcalDetId::ieta(), HcalDetId::iphi(), dqmiolumiharvest::j, and Skims_PA_cff::name.
|
private |
Definition at line 999 of file HcalLedAnalysis.cc.
References HcalQIESample::adc(), HcalCalibDetId::calibFlavor(), HcalCalibDetId::CalibrationBox, HcalCalibDetId::cboxChannelString(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalCalibDetId::hcalSubdet(), mps_fire::i, HcalCalibDetId::ieta(), HcalCalibDetId::iphi(), Skims_PA_cff::name, ZMuMuAnalysisNtupler_cff::prefix, HcalCalibDataFrame::sample(), HcalCalibDataFrame::size(), and AlCaHLTBitMon_QueryRunRegistry::string.
void HcalLedAnalysis::processLedEvent | ( | const HBHEDigiCollection & | hbhe, |
const HODigiCollection & | ho, | ||
const HFDigiCollection & | hf, | ||
const HcalCalibDigiCollection & | calib, | ||
const HcalDbService & | cond | ||
) |
Definition at line 562 of file HcalLedAnalysis.cc.
References edm::SortedCollection< T, SORT >::begin(), HcalCalibDataFrame::elecId(), edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), HcalElectronicsId::fiberChanId(), mps_fire::i, HcalCalibDataFrame::id(), HODataFrame::id(), HBHEDataFrame::id(), HFDataFrame::id(), createfilelist::int, dqmiolumiharvest::j, dqmdumpme::k, simplePhotonAnalyzer_cfi::sample, and edm::SortedCollection< T, SORT >::size().
|
private |
Definition at line 650 of file HcalLedAnalysis.cc.
References HcalDetId::depth(), mps_fire::i, HcalDetId::ieta(), edm::eventsetup::heterocontainer::insert(), HcalDetId::iphi(), and Skims_PA_cff::name.
|
private |
Definition at line 124 of file HcalLedAnalysis.h.
|
private |
Definition at line 121 of file HcalLedAnalysis.h.
Definition at line 119 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::ALLLEDS |
Definition at line 114 of file HcalLedAnalysis.h.
|
private |
Definition at line 123 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::CHI2 |
Definition at line 117 of file HcalLedAnalysis.h.
|
private |
Definition at line 127 of file HcalLedAnalysis.h.
|
private |
Definition at line 129 of file HcalLedAnalysis.h.
struct { ... } HcalLedAnalysis::hbHists |
struct { ... } HcalLedAnalysis::hfHists |
struct { ... } HcalLedAnalysis::hoHists |
TH1F* HcalLedAnalysis::LEDMEAN |
Definition at line 116 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::LEDRMS |
Definition at line 115 of file HcalLedAnalysis.h.
Definition at line 113 of file HcalLedAnalysis.h.
|
private |
Definition at line 120 of file HcalLedAnalysis.h.
|
private |
Definition at line 110 of file HcalLedAnalysis.h.
|
private |
Definition at line 95 of file HcalLedAnalysis.h.
|
private |
Definition at line 68 of file HcalLedAnalysis.h.
|
private |
Definition at line 107 of file HcalLedAnalysis.h.
|
private |
Definition at line 97 of file HcalLedAnalysis.h.
|
private |
Definition at line 91 of file HcalLedAnalysis.h.
|
private |
Definition at line 96 of file HcalLedAnalysis.h.
|
private |
Definition at line 90 of file HcalLedAnalysis.h.
|
private |
Definition at line 87 of file HcalLedAnalysis.h.
|
private |
Definition at line 88 of file HcalLedAnalysis.h.
|
private |
Definition at line 89 of file HcalLedAnalysis.h.
|
private |
Definition at line 92 of file HcalLedAnalysis.h.
|
private |
Definition at line 111 of file HcalLedAnalysis.h.
|
private |
Definition at line 109 of file HcalLedAnalysis.h.
|
private |
Definition at line 94 of file HcalLedAnalysis.h.
|
private |
Definition at line 98 of file HcalLedAnalysis.h.
|
private |
Definition at line 128 of file HcalLedAnalysis.h.
Referenced by svgfig.Curve::Path().
|
private |
Definition at line 130 of file HcalLedAnalysis.h.
Referenced by crabFunctions.CrabTask::handleNoState(), and crabFunctions.CrabTask::update().