#include <EcalMipGraphs.h>
Private Member Functions | |
void | analyze (edm::Event const &, edm::EventSetup const &) override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | endJob () override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
std::string | floatToString (float num) |
int | getEEIndex (EcalElectronicsId elecId) |
void | initHists (int) |
std::string | intToString (int num) |
TGraph * | selectDigi (DetId det, int ievt) |
void | selectHits (edm::Handle< EcalRecHitCollection > hits, int ievt) |
void | writeGraphs () |
Static Private Attributes | |
static edm::Service< TFileService > | fileService |
static float | gainRatio [3] = {1., 2., 12.} |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 59 of file EcalMipGraphs.h.
|
explicit |
Definition at line 40 of file EcalMipGraphs.cc.
References abscissa, allFedsTimingHist_, fedMap_, fileService, edm::ParameterSet::getUntrackedParameter(), mps_fire::i, TFileService::make(), maskedChannels_, maskedEBs_, maskedFEDs_, naiveEvtNum_, and seedCrys_.
|
override |
Definition at line 91 of file EcalMipGraphs.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 98 of file EcalMipGraphs.cc.
References caloTopo_, canvasNames_, EBdigisHandle, ebDigiToken_, ebRecHitToken_, EEdigisHandle, eeDigiToken_, eeRecHitToken_, edm::EventID::event(), FEDsAndDCCHeaders_, fileService, edm::Event::getByToken(), edm::EventSetup::getData(), edm::EventBase::id(), listEBChannels, listEEChannels, TFileService::make(), naiveEvtNum_, names, rawDataToken_, edm::EventID::run(), runNum_, selectHits(), and topologyToken_.
|
overrideprivate |
Definition at line 332 of file EcalMipGraphs.cc.
References ecalElectronicsMap_, ecalMappingToken_, and edm::EventSetup::getData().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 339 of file EcalMipGraphs.cc.
References canvasNames_, unpackBuffers-CaloStage1::feds, intToString(), maskedChannels_, maskedFEDs_, seedFrequencyMap_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by o2olib.O2ORunMgr::executeJob().
|
overrideprivate |
Definition at line 336 of file EcalMipGraphs.cc.
|
private |
|
private |
Definition at line 314 of file EcalMipGraphs.cc.
References EcalElectronicsId::dccId(), EcalElectronicsId::stripId(), EcalElectronicsId::towerId(), and EcalElectronicsId::xtalId().
Referenced by selectDigi(), and selectHits().
|
private |
Definition at line 320 of file EcalMipGraphs.cc.
References fedMap_, FEDsAndTimingHists_, fileService, EcalFedMap::getSliceFromFed(), intToString(), and TFileService::make().
Referenced by selectHits().
|
private |
Definition at line 372 of file EcalMipGraphs.cc.
Referenced by endJob(), initHists(), selectDigi(), and selectHits().
|
private |
Definition at line 136 of file EcalMipGraphs.cc.
References abscissa, EcalMGPASample::adc(), crysAndAmplitudesMap_, EcalElectronicsId::dccId(), DetId::det(), isotrackApplyRegressor::df, EBdigisHandle, DetId::Ecal, ecalElectronicsMap_, EEdigisHandle, relval_parameters_module::energy, fedMap_, FEDsAndDCCHeaders_, fileService, floatToString(), ecalLiteDTU::gainId(), EcalMGPASample::gainId(), gainRatio, getEEIndex(), EcalElectronicsMapping::getElectronicsId(), EcalFedMap::getSliceFromFed(), mps_fire::i, intToString(), PixelPluginsPhase0_cfi::isBarrel, TFileService::make(), naiveEvtNum_, mergeVDriftHistosByStation::name, ordinate, EcalCondDBWriter_cfi::pedestal, EcalDataFrame::sample(), EcalDataFrame::size(), and runGCPTkAlMap::title.
Referenced by selectHits().
|
private |
Definition at line 237 of file EcalMipGraphs.cc.
References allFedsTimingHist_, caloTopo_, timingPdfMaker::can, crysAndAmplitudesMap_, EcalElectronicsId::dccId(), ecalElectronicsMap_, EcalRecHit::energy(), FEDsAndTimingHists_, spr::find(), getEEIndex(), EcalElectronicsMapping::getElectronicsId(), CaloTopology::getSubdetectorTopology(), CaloNavigator< T, TOPO >::home(), mps_fire::i, EcalRecHit::id(), initHists(), intToString(), PixelPluginsPhase0_cfi::isBarrel, dqmiolumiharvest::j, maskedChannels_, maskedFEDs_, minTimingAmp_, naiveEvtNum_, mergeVDriftHistosByStation::name, names, CaloNavigator< T, TOPO >::offsetBy(), mps_fire::result, fileCollector::seed, seedCrys_, seedFrequencyMap_, selectDigi(), side_, threshold_, EcalRecHit::time(), and runGCPTkAlMap::title.
Referenced by analyze().
|
private |
|
private |
Definition at line 105 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectDigi().
|
private |
Definition at line 121 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectHits().
|
private |
Definition at line 127 of file EcalMipGraphs.h.
Referenced by analyze(), and selectHits().
|
private |
Definition at line 124 of file EcalMipGraphs.h.
|
private |
Definition at line 117 of file EcalMipGraphs.h.
Referenced by selectDigi(), and selectHits().
|
private |
Definition at line 81 of file EcalMipGraphs.h.
|
private |
Definition at line 85 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 91 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 79 of file EcalMipGraphs.h.
|
private |
Definition at line 89 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 126 of file EcalMipGraphs.h.
Referenced by beginRun(), selectDigi(), and selectHits().
|
private |
Definition at line 94 of file EcalMipGraphs.h.
Referenced by beginRun().
|
private |
Definition at line 82 of file EcalMipGraphs.h.
|
private |
Definition at line 86 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 92 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 80 of file EcalMipGraphs.h.
|
private |
Definition at line 90 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 125 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), initHists(), and selectDigi().
|
private |
Definition at line 118 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 116 of file EcalMipGraphs.h.
Referenced by initHists(), and selectHits().
|
private |
Definition at line 123 of file EcalMipGraphs.h.
|
staticprivate |
Definition at line 109 of file EcalMipGraphs.h.
Referenced by analyze(), EcalMipGraphs(), initHists(), and selectDigi().
|
staticprivate |
Definition at line 108 of file EcalMipGraphs.h.
Referenced by selectDigi().
|
private |
Definition at line 83 of file EcalMipGraphs.h.
|
private |
Definition at line 102 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 103 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 112 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), endJob(), and selectHits().
|
private |
Definition at line 115 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs().
|
private |
Definition at line 113 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), endJob(), and selectHits().
|
private |
Definition at line 100 of file EcalMipGraphs.h.
Referenced by selectHits().
|
private |
Definition at line 129 of file EcalMipGraphs.h.
Referenced by analyze(), EcalMipGraphs(), selectDigi(), and selectHits().
|
private |
Definition at line 111 of file EcalMipGraphs.h.
Referenced by analyze(), and selectHits().
|
private |
Definition at line 106 of file EcalMipGraphs.h.
Referenced by selectDigi().
|
private |
Definition at line 88 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 97 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 114 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectHits().
|
private |
Definition at line 119 of file EcalMipGraphs.h.
Referenced by endJob(), and selectHits().
|
private |
Definition at line 98 of file EcalMipGraphs.h.
Referenced by selectHits().
|
private |
Definition at line 99 of file EcalMipGraphs.h.
Referenced by selectHits().
|
private |
Definition at line 95 of file EcalMipGraphs.h.
Referenced by analyze().