#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 |
char | output [100] |
int | sample |
std::vector< bool > | state |
Definition at line 32 of file HcalLedAnalysis.h.
|
private |
Definition at line 68 of file HcalLedAnalysis.h.
HcalLedAnalysis::HcalLedAnalysis | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 12 of file HcalLedAnalysis.cc.
References gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), gen::k, convertSQLitetoXML_cfg::output, and compare_using_db::sample.
HcalLedAnalysis::~HcalLedAnalysis | ( | ) |
Destructor.
All done, clean up!!
Definition at line 144 of file HcalLedAnalysis.cc.
References i.
|
private |
Definition at line 848 of file HcalLedAnalysis.cc.
References i.
|
private |
Definition at line 207 of file HcalLedAnalysis.cc.
References HcalDetId::depth(), cond::rpcobgas::detid, i, HcalDetId::ietaAbs(), HcalDetId::iphi(), j, convertSQLitetoXML_cfg::output, DetId::rawId(), mathSSE::sqrt(), HcalDetId::subdet(), and HcalDetId::zside().
void HcalLedAnalysis::LedDone | ( | ) |
Definition at line 471 of file HcalLedAnalysis.cc.
References gather_cfg::cout, and compare_using_db::sample.
|
private |
Definition at line 644 of file HcalLedAnalysis.cc.
References ecalMGPA::adc(), first, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestal(), i, gen::k, and HBHEDataFrame::size().
|
private |
Definition at line 774 of file HcalLedAnalysis.cc.
References ecalMGPA::adc(), first, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestal(), i, gen::k, and HFDataFrame::size().
|
private |
Definition at line 710 of file HcalLedAnalysis.cc.
References ecalMGPA::adc(), first, HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HcalDbService::getPedestal(), i, gen::k, and HODataFrame::size().
void HcalLedAnalysis::LedSampleAnalysis | ( | ) |
Definition at line 423 of file HcalLedAnalysis.cc.
References compare_using_db::sample.
void HcalLedAnalysis::LedSetup | ( | const std::string & | m_outputFileROOT | ) |
Definition at line 172 of file HcalLedAnalysis.cc.
|
private |
Definition at line 439 of file HcalLedAnalysis.cc.
References HcalDetId::depth(), cond::rpcobgas::detid, HcalDetId::ieta(), HcalDetId::iphi(), j, and mergeVDriftHistosByStation::name.
|
private |
Definition at line 893 of file HcalLedAnalysis.cc.
References HcalQIESample::adc(), HcalCalibDetId::calibFlavor(), HcalCalibDetId::CalibrationBox, HcalCalibDetId::cboxChannelString(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HcalCalibDetId::hcalSubdet(), i, HcalCalibDetId::ieta(), HcalCalibDetId::iphi(), mergeVDriftHistosByStation::name, prof2calltree::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 524 of file HcalLedAnalysis.cc.
References edm::SortedCollection< T, SORT >::begin(), HcalCalibDataFrame::elecId(), edm::SortedCollection< T, SORT >::end(), HcalElectronicsId::fiberChanId(), i, HBHEDataFrame::id(), HFDataFrame::id(), HcalCalibDataFrame::id(), HODataFrame::id(), j, gen::k, compare_using_db::sample, and edm::SortedCollection< T, SORT >::size().
|
private |
Definition at line 610 of file HcalLedAnalysis.cc.
References HcalDetId::depth(), cond::rpcobgas::detid, i, HcalDetId::ieta(), edm::eventsetup::heterocontainer::insert(), HcalDetId::iphi(), and mergeVDriftHistosByStation::name.
|
private |
Definition at line 122 of file HcalLedAnalysis.h.
|
private |
Definition at line 119 of file HcalLedAnalysis.h.
Definition at line 117 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::ALLLEDS |
Definition at line 112 of file HcalLedAnalysis.h.
|
private |
Definition at line 121 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::CHI2 |
Definition at line 115 of file HcalLedAnalysis.h.
|
private |
Definition at line 125 of file HcalLedAnalysis.h.
|
private |
Definition at line 127 of file HcalLedAnalysis.h.
struct { ... } HcalLedAnalysis::hbHists |
struct { ... } HcalLedAnalysis::hfHists |
struct { ... } HcalLedAnalysis::hoHists |
TH1F* HcalLedAnalysis::LEDMEAN |
Definition at line 114 of file HcalLedAnalysis.h.
TH1F* HcalLedAnalysis::LEDRMS |
Definition at line 113 of file HcalLedAnalysis.h.
Definition at line 111 of file HcalLedAnalysis.h.
|
private |
Definition at line 118 of file HcalLedAnalysis.h.
|
private |
Definition at line 108 of file HcalLedAnalysis.h.
|
private |
Definition at line 93 of file HcalLedAnalysis.h.
|
private |
Definition at line 74 of file HcalLedAnalysis.h.
|
private |
Definition at line 105 of file HcalLedAnalysis.h.
|
private |
Definition at line 95 of file HcalLedAnalysis.h.
|
private |
Definition at line 88 of file HcalLedAnalysis.h.
|
private |
Definition at line 94 of file HcalLedAnalysis.h.
|
private |
Definition at line 87 of file HcalLedAnalysis.h.
|
private |
Definition at line 84 of file HcalLedAnalysis.h.
|
private |
Definition at line 85 of file HcalLedAnalysis.h.
|
private |
Definition at line 86 of file HcalLedAnalysis.h.
|
private |
Definition at line 89 of file HcalLedAnalysis.h.
|
private |
Definition at line 109 of file HcalLedAnalysis.h.
|
private |
Definition at line 107 of file HcalLedAnalysis.h.
|
private |
Definition at line 92 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 126 of file HcalLedAnalysis.h.
Referenced by svgfig.Curve::Path().
|
private |
Definition at line 128 of file HcalLedAnalysis.h.