#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 |
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 25 of file HcalLedAnalysis.h.
|
private |
Definition at line 57 of file HcalLedAnalysis.h.
HcalLedAnalysis::HcalLedAnalysis | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 10 of file HcalLedAnalysis.cc.
References edm::ParameterSet::getUntrackedParameter(), isotrackApplyRegressor::k, DeadROC_duringRun::runNum, and ecalGpuTask_cfi::sample.
HcalLedAnalysis::~HcalLedAnalysis | ( | ) |
Destructor.
All done, clean up!!
Definition at line 147 of file HcalLedAnalysis.cc.
References mps_fire::i.
|
private |
Definition at line 944 of file HcalLedAnalysis.cc.
References mps_fire::i, createfilelist::int, and hcalRecHitTable_cff::time.
|
private |
Definition at line 213 of file HcalLedAnalysis.cc.
References ALCARECOPPSCalTrackBasedSel_cff::detid, mps_fire::i, dqmiolumiharvest::j, and mathSSE::sqrt().
void HcalLedAnalysis::LedDone | ( | ) |
Definition at line 508 of file HcalLedAnalysis.cc.
References ecalGpuTask_cfi::sample.
|
private |
Definition at line 724 of file HcalLedAnalysis.cc.
References gpuClustering::adc, ALCARECOPPSCalTrackBasedSel_cff::detid, dqmdumpme::first, mps_fire::i, createfilelist::int, isotrackApplyRegressor::k, and HBHEDataFrame::size().
|
private |
Definition at line 865 of file HcalLedAnalysis.cc.
References gpuClustering::adc, ALCARECOPPSCalTrackBasedSel_cff::detid, dqmdumpme::first, mps_fire::i, createfilelist::int, isotrackApplyRegressor::k, and HFDataFrame::size().
|
private |
Definition at line 795 of file HcalLedAnalysis.cc.
References gpuClustering::adc, ALCARECOPPSCalTrackBasedSel_cff::detid, dqmdumpme::first, mps_fire::i, createfilelist::int, isotrackApplyRegressor::k, and HODataFrame::size().
void HcalLedAnalysis::LedSampleAnalysis | ( | ) |
Definition at line 460 of file HcalLedAnalysis.cc.
References ecalGpuTask_cfi::sample.
void HcalLedAnalysis::LedSetup | ( | const std::string & | m_outputFileROOT | ) |
Definition at line 178 of file HcalLedAnalysis.cc.
|
private |
Definition at line 476 of file HcalLedAnalysis.cc.
References isotrackApplyRegressor::bins, ALCARECOPPSCalTrackBasedSel_cff::detid, ALCARECOEcalPhiSym_cff::float, dqmiolumiharvest::j, and mergeVDriftHistosByStation::name.
|
private |
Definition at line 989 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(), mergeVDriftHistosByStation::name, ConfigBuilder::prefix, HcalCalibDataFrame::sample(), nano_mu_digi_cff::sector, 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 560 of file HcalLedAnalysis.cc.
References HcalCalibDataFrame::elecId(), HcalElectronicsId::fiberChanId(), photonIsolationHIProducer_cfi::hbhe, Hcal_Conditions_forGlobalTag_cff::hf, Hcal_Conditions_forGlobalTag_cff::ho, HcalCalibDataFrame::id(), HBHEDataFrame::id(), HFDataFrame::id(), HODataFrame::id(), createfilelist::int, dqmiolumiharvest::j, isotrackApplyRegressor::k, and ecalGpuTask_cfi::sample.
|
private |
Definition at line 640 of file HcalLedAnalysis.cc.
References ALCARECOPPSCalTrackBasedSel_cff::detid, mps_fire::i, edm::eventsetup::heterocontainer::insert(), and mergeVDriftHistosByStation::name.
|
private |
Definition at line 118 of file HcalLedAnalysis.h.
|
private |
Definition at line 115 of file HcalLedAnalysis.h.
Definition at line 113 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::ALLLEDS |
Definition at line 108 of file HcalLedAnalysis.h.
|
private |
Definition at line 117 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::CHI2 |
Definition at line 111 of file HcalLedAnalysis.h.
|
private |
Definition at line 121 of file HcalLedAnalysis.h.
|
private |
Definition at line 123 of file HcalLedAnalysis.h.
struct { ... } HcalLedAnalysis::hbHists |
struct { ... } HcalLedAnalysis::hfHists |
struct { ... } HcalLedAnalysis::hoHists |
TH1F* HcalLedAnalysis::LEDMEAN |
Definition at line 110 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::LEDRMS |
Definition at line 109 of file HcalLedAnalysis.h.
Definition at line 107 of file HcalLedAnalysis.h.
|
private |
Definition at line 114 of file HcalLedAnalysis.h.
|
private |
Definition at line 104 of file HcalLedAnalysis.h.
|
private |
Definition at line 89 of file HcalLedAnalysis.h.
|
private |
Definition at line 63 of file HcalLedAnalysis.h.
|
private |
Definition at line 101 of file HcalLedAnalysis.h.
|
private |
Definition at line 91 of file HcalLedAnalysis.h.
|
private |
Definition at line 90 of file HcalLedAnalysis.h.
|
private |
Definition at line 85 of file HcalLedAnalysis.h.
|
private |
Definition at line 82 of file HcalLedAnalysis.h.
|
private |
Definition at line 83 of file HcalLedAnalysis.h.
|
private |
Definition at line 84 of file HcalLedAnalysis.h.
|
private |
Definition at line 86 of file HcalLedAnalysis.h.
|
private |
Definition at line 105 of file HcalLedAnalysis.h.
|
private |
Definition at line 103 of file HcalLedAnalysis.h.
|
private |
Definition at line 88 of file HcalLedAnalysis.h.
|
private |
Definition at line 92 of file HcalLedAnalysis.h.
|
private |
Definition at line 122 of file HcalLedAnalysis.h.
Referenced by svgfig.Curve::Path().
|
private |
Definition at line 124 of file HcalLedAnalysis.h.
Referenced by crabFunctions.CrabTask::handleNoState(), and crabFunctions.CrabTask::update().