#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 25 of file HcalLedAnalysis.h.
|
private |
Definition at line 57 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(), isotrackApplyRegressor::k, convertSQLitetoXML_cfg::output, DeadROC_duringRun::runNum, and makeMEIFBenchmarkPlots::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.
|
private |
Definition at line 215 of file HcalLedAnalysis.cc.
References HcalDetId::depth(), gpuVertexFinder::fit, 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 makeMEIFBenchmarkPlots::sample.
|
private |
Definition at line 734 of file HcalLedAnalysis.cc.
References gpuClustering::adc, first, gpuVertexFinder::fit, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestal(), mps_fire::i, isotrackApplyRegressor::k, and HBHEDataFrame::size().
|
private |
Definition at line 875 of file HcalLedAnalysis.cc.
References gpuClustering::adc, first, gpuVertexFinder::fit, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestal(), mps_fire::i, isotrackApplyRegressor::k, and HFDataFrame::size().
|
private |
Definition at line 805 of file HcalLedAnalysis.cc.
References gpuClustering::adc, first, gpuVertexFinder::fit, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestal(), mps_fire::i, isotrackApplyRegressor::k, and HODataFrame::size().
void HcalLedAnalysis::LedSampleAnalysis | ( | ) |
Definition at line 462 of file HcalLedAnalysis.cc.
References makeMEIFBenchmarkPlots::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 HcalDetId::depth(), HcalDetId::ieta(), HcalDetId::iphi(), dqmiolumiharvest::j, and mergeVDriftHistosByStation::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(), mergeVDriftHistosByStation::name, PostProcessorHGCAL_cfi::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(), HFDataFrame::id(), HBHEDataFrame::id(), dqmiolumiharvest::j, isotrackApplyRegressor::k, makeMEIFBenchmarkPlots::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 mergeVDriftHistosByStation::name.
|
private |
Definition at line 119 of file HcalLedAnalysis.h.
|
private |
Definition at line 116 of file HcalLedAnalysis.h.
Definition at line 114 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::ALLLEDS |
Definition at line 109 of file HcalLedAnalysis.h.
|
private |
Definition at line 118 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::CHI2 |
Definition at line 112 of file HcalLedAnalysis.h.
|
private |
Definition at line 122 of file HcalLedAnalysis.h.
|
private |
Definition at line 124 of file HcalLedAnalysis.h.
struct { ... } HcalLedAnalysis::hbHists |
struct { ... } HcalLedAnalysis::hfHists |
struct { ... } HcalLedAnalysis::hoHists |
TH1F* HcalLedAnalysis::LEDMEAN |
Definition at line 111 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::LEDRMS |
Definition at line 110 of file HcalLedAnalysis.h.
Definition at line 108 of file HcalLedAnalysis.h.
|
private |
Definition at line 115 of file HcalLedAnalysis.h.
|
private |
Definition at line 105 of file HcalLedAnalysis.h.
|
private |
Definition at line 90 of file HcalLedAnalysis.h.
|
private |
Definition at line 63 of file HcalLedAnalysis.h.
|
private |
Definition at line 102 of file HcalLedAnalysis.h.
|
private |
Definition at line 92 of file HcalLedAnalysis.h.
|
private |
Definition at line 86 of file HcalLedAnalysis.h.
|
private |
Definition at line 91 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 87 of file HcalLedAnalysis.h.
|
private |
Definition at line 106 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 93 of file HcalLedAnalysis.h.
|
private |
Definition at line 123 of file HcalLedAnalysis.h.
Referenced by svgfig.Curve::Path().
|
private |
Definition at line 125 of file HcalLedAnalysis.h.
Referenced by crabFunctions.CrabTask::handleNoState(), and crabFunctions.CrabTask::update().