#include <HcalQLPlotAnalAlgos.h>
Public Member Functions | |
void | end (void) |
HcalQLPlotAnalAlgos (const char *outputFilename, const edm::ParameterSet &histoParams) | |
void | processDigi (const HBHEDigiCollection &hbhedigic) |
void | processDigi (const HODigiCollection &hodigic) |
void | processDigi (const HFDigiCollection &hfdigic) |
void | processDigi (const HcalCalibDigiCollection &calibdigic, double calibFC2GeV) |
void | processRH (const HBHERecHitCollection &hbherhc, const HBHEDigiCollection &hbhedgc) |
void | processRH (const HORecHitCollection &horhc, const HODigiCollection &hodgc) |
void | processRH (const HFRecHitCollection &hfrhc, const HFDigiCollection &hfdgc) |
void | SetEventType (const HcalTBTriggerData &trigd) |
Private Member Functions | |
HcalCalibRecHit | recoCalib (const HcalCalibDataFrame &cdigi, double calibFC2GeV) |
Private Attributes | |
HcalQLPlotHistoMgr * | histos_ |
TFile * | mf_ |
HcalQLPlotHistoMgr::EventType | triggerID_ |
Definition at line 17 of file HcalQLPlotAnalAlgos.h.
HcalQLPlotAnalAlgos::HcalQLPlotAnalAlgos | ( | const char * | outputFilename, |
const edm::ParameterSet & | histoParams | ||
) |
Definition at line 43 of file HcalQLPlotAnalAlgos.cc.
References histos_, mf_, triggerID_, and HcalQLPlotHistoMgr::UNKNOWN.
void HcalQLPlotAnalAlgos::end | ( | void | ) |
Definition at line 57 of file HcalQLPlotAnalAlgos.cc.
References mf_.
Referenced by HcalQLPlotAnal::endJob().
void HcalQLPlotAnalAlgos::processDigi | ( | const HBHEDigiCollection & | hbhedigic | ) |
Definition at line 173 of file HcalQLPlotAnalAlgos.cc.
References HcalQLPlotHistoMgr::ADC, edm::SortedCollection< T, SORT >::begin(), stringResolutionProvider_cfi::bin, runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), HcalQLPlotHistoMgr::GetAHistogram(), histos_, hcalTTPDigis_cfi::id, HcalQLPlotHistoMgr::PEDESTAL, HcalQLPlotHistoMgr::PULSE, and triggerID_.
Referenced by HcalQLPlotAnal::analyze().
void HcalQLPlotAnalAlgos::processDigi | ( | const HODigiCollection & | hodigic | ) |
Definition at line 199 of file HcalQLPlotAnalAlgos.cc.
References HcalQLPlotHistoMgr::ADC, edm::SortedCollection< T, SORT >::begin(), stringResolutionProvider_cfi::bin, runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), HcalQLPlotHistoMgr::GetAHistogram(), histos_, hcalTTPDigis_cfi::id, HcalQLPlotHistoMgr::PEDESTAL, HcalQLPlotHistoMgr::PULSE, and triggerID_.
void HcalQLPlotAnalAlgos::processDigi | ( | const HFDigiCollection & | hfdigic | ) |
Definition at line 225 of file HcalQLPlotAnalAlgos.cc.
References HcalQLPlotHistoMgr::ADC, edm::SortedCollection< T, SORT >::begin(), stringResolutionProvider_cfi::bin, runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), HcalQLPlotHistoMgr::GetAHistogram(), histos_, hcalTTPDigis_cfi::id, HcalQLPlotHistoMgr::PEDESTAL, HcalQLPlotHistoMgr::PULSE, and triggerID_.
void HcalQLPlotAnalAlgos::processDigi | ( | const HcalCalibDigiCollection & | calibdigic, |
double | calibFC2GeV | ||
) |
Definition at line 278 of file HcalQLPlotAnalAlgos.cc.
References HcalCalibRecHit::amplitude(), edm::SortedCollection< T, SORT >::begin(), stringResolutionProvider_cfi::bin, runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), HcalQLPlotHistoMgr::ENERGY, HcalQLPlotHistoMgr::GetAHistogram(), histos_, hcalTTPDigis_cfi::id, HcalQLPlotHistoMgr::PULSE, recoCalib(), HcalQLPlotHistoMgr::TIME, HcalCalibRecHit::time(), and triggerID_.
void HcalQLPlotAnalAlgos::processRH | ( | const HBHERecHitCollection & | hbherhc, |
const HBHEDigiCollection & | hbhedgc | ||
) |
Definition at line 80 of file HcalQLPlotAnalAlgos.cc.
References edm::SortedCollection< T, SORT >::begin(), runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), HcalQLPlotHistoMgr::ENERGY, edm::SortedCollection< T, SORT >::find(), HcalQLPlotHistoMgr::GetAHistogram(), histos_, hcalTTPDigis_cfi::id, HcalQLPlotHistoMgr::TIME, and triggerID_.
Referenced by HcalQLPlotAnal::analyze().
void HcalQLPlotAnalAlgos::processRH | ( | const HORecHitCollection & | horhc, |
const HODigiCollection & | hodgc | ||
) |
Definition at line 111 of file HcalQLPlotAnalAlgos.cc.
References edm::SortedCollection< T, SORT >::begin(), runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), HcalQLPlotHistoMgr::ENERGY, edm::SortedCollection< T, SORT >::find(), HcalQLPlotHistoMgr::GetAHistogram(), histos_, hcalTTPDigis_cfi::id, HcalQLPlotHistoMgr::TIME, and triggerID_.
void HcalQLPlotAnalAlgos::processRH | ( | const HFRecHitCollection & | hfrhc, |
const HFDigiCollection & | hfdgc | ||
) |
Definition at line 142 of file HcalQLPlotAnalAlgos.cc.
References edm::SortedCollection< T, SORT >::begin(), runTauDisplay::eid, edm::SortedCollection< T, SORT >::end(), HcalQLPlotHistoMgr::ENERGY, edm::SortedCollection< T, SORT >::find(), HcalQLPlotHistoMgr::GetAHistogram(), histos_, hcalTTPDigis_cfi::id, HcalQLPlotHistoMgr::TIME, and triggerID_.
|
private |
Definition at line 251 of file HcalQLPlotAnalAlgos.cc.
References mps_fire::i, HcalCalibDataFrame::id(), findQualityFiles::maxI, HcalCalibDataFrame::presamples(), HcalCalibDataFrame::size(), cscNeutronWriter_cfi::t0, reco::t2, and ntuplemaker::time.
Referenced by processDigi().
void HcalQLPlotAnalAlgos::SetEventType | ( | const HcalTBTriggerData & | trigd | ) |
Definition at line 62 of file HcalQLPlotAnalAlgos.cc.
References HcalQLPlotHistoMgr::BEAM, MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, HcalQLPlotHistoMgr::LASER, HcalQLPlotHistoMgr::LED, HcalQLPlotHistoMgr::PEDESTAL, triggerID_, HcalQLPlotHistoMgr::UNKNOWN, HcalTBTriggerData::wasBeamTrigger(), HcalTBTriggerData::wasInSpillPedestalTrigger(), HcalTBTriggerData::wasLaserTrigger(), HcalTBTriggerData::wasLEDTrigger(), HcalTBTriggerData::wasOutSpillPedestalTrigger(), and HcalTBTriggerData::wasSpillIgnorantPedestalTrigger().
Referenced by HcalQLPlotAnal::analyze().
|
private |
Definition at line 41 of file HcalQLPlotAnalAlgos.h.
Referenced by HcalQLPlotAnalAlgos(), processDigi(), and processRH().
|
private |
Definition at line 42 of file HcalQLPlotAnalAlgos.h.
Referenced by end(), and HcalQLPlotAnalAlgos().
|
private |
Definition at line 40 of file HcalQLPlotAnalAlgos.h.
Referenced by HcalQLPlotAnalAlgos(), processDigi(), processRH(), and SetEventType().