#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 |
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, edm::ESHandle< CaloTopology > caloTopo) |
void | writeGraphs () |
Private Attributes | |
int | abscissa [10] |
TH1F * | allFedsTimingHist_ |
TTree * | canvasNames_ |
std::map< int, float > | crysAndAmplitudesMap_ |
edm::InputTag | EBDigis_ |
edm::Handle< EBDigiCollection > | EBdigisHandle |
edm::InputTag | EBRecHitCollection_ |
const EcalElectronicsMapping * | ecalElectronicsMap_ |
edm::InputTag | EEDigis_ |
edm::Handle< EEDigiCollection > | EEdigisHandle |
edm::InputTag | EERecHitCollection_ |
EcalFedMap * | fedMap_ |
std::map< int, EcalDCCHeaderBlock > | FEDsAndDCCHeaders_ |
std::map< int, TH1F * > | FEDsAndTimingHists_ |
TFile * | file_ |
edm::InputTag | headerProducer_ |
std::set< EBDetId > | listEBChannels |
std::set< EEDetId > | listEEChannels |
std::vector< int > | maskedChannels_ |
std::vector< std::string > | maskedEBs_ |
std::vector< int > | maskedFEDs_ |
double | minTimingAmp_ |
int | naiveEvtNum_ |
std::vector< std::string > * | names |
int | ordinate [10] |
int | runNum_ |
std::vector< int > | seedCrys_ |
std::map< std::string, int > | seedFrequencyMap_ |
int | side_ |
double | threshold_ |
Static Private Attributes | |
static edm::Service< TFileService > | fileService |
static float | gainRatio [3] = {1., 2., 12.} |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 59 of file EcalMipGraphs.h.
|
explicit |
Definition at line 42 of file EcalMipGraphs.cc.
References abscissa, allFedsTimingHist_, fedMap_, fileService, EcalFedMap::getFedFromSlice(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, TFileService::make(), maskedChannels_, maskedEBs_, maskedFEDs_, naiveEvtNum_, and seedCrys_.
|
override |
Definition at line 86 of file EcalMipGraphs.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 93 of file EcalMipGraphs.cc.
References edm::SortedCollection< T, SORT >::begin(), canvasNames_, EBDigis_, EBdigisHandle, EBRecHitCollection_, EEDigis_, EEdigisHandle, EERecHitCollection_, edm::SortedCollection< T, SORT >::end(), FEDsAndDCCHeaders_, fileService, edm::EventSetup::get(), get, headerProducer_, iEvent, listEBChannels, listEEChannels, TFileService::make(), naiveEvtNum_, names, runNum_, and selectHits().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 330 of file EcalMipGraphs.cc.
References HltBtagPostValidation_cff::c, ecalElectronicsMap_, get, and patZpeak::handle.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 337 of file EcalMipGraphs.cc.
References canvasNames_, ewkTauDQM_cfi::channels, l1tstage2emulator_dqm_sourceclient-live_cfg::feds, intToString(), maskedChannels_, maskedFEDs_, seedFrequencyMap_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 377 of file EcalMipGraphs.cc.
References EgammaValidation_cff::num.
Referenced by selectDigi().
|
private |
Definition at line 312 of file EcalMipGraphs.cc.
References EcalElectronicsId::dccId(), EcalElectronicsId::stripId(), EcalElectronicsId::towerId(), and EcalElectronicsId::xtalId().
Referenced by selectDigi(), and selectHits().
|
private |
Definition at line 318 of file EcalMipGraphs.cc.
References fedMap_, FEDsAndTimingHists_, fileService, EcalFedMap::getSliceFromFed(), intToString(), and TFileService::make().
Referenced by selectHits().
|
private |
Definition at line 370 of file EcalMipGraphs.cc.
References EgammaValidation_cff::num.
Referenced by endJob(), initHists(), selectDigi(), and selectHits().
|
private |
Definition at line 134 of file EcalMipGraphs.cc.
References abscissa, edm::DataFrameContainer::begin(), crysAndAmplitudesMap_, EcalElectronicsId::dccId(), DetId::det(), hgcalPerformanceValidation::df, EBdigisHandle, DetId::Ecal, ecalElectronicsMap_, EEdigisHandle, edm::DataFrameContainer::end(), HCALHighEnergyHPDFilter_cfi::energy, fedMap_, FEDsAndDCCHeaders_, fileService, dqmMemoryStats::float, floatToString(), ecalLiteDTU::gainId(), gainRatio, getEEIndex(), EcalElectronicsMapping::getElectronicsId(), EcalFedMap::getSliceFromFed(), mps_fire::i, intToString(), PixelPluginsPhase0_cfi::isBarrel, TFileService::make(), naiveEvtNum_, Skims_PA_cff::name, ordinate, EcalCondDBWriter_cfi::pedestal, and runGCPTkAlMap::title.
Referenced by selectHits().
|
private |
Definition at line 235 of file EcalMipGraphs.cc.
References allFedsTimingHist_, timingPdfMaker::can, crysAndAmplitudesMap_, EcalElectronicsId::dccId(), ecalElectronicsMap_, FEDsAndTimingHists_, spr::find(), getEEIndex(), EcalElectronicsMapping::getElectronicsId(), CaloTopology::getSubdetectorTopology(), hfClusterShapes_cfi::hits, CaloNavigator< T, TOPO >::home(), mps_fire::i, hit::id, initHists(), intToString(), PixelPluginsPhase0_cfi::isBarrel, dqmiolumiharvest::j, maskedChannels_, maskedFEDs_, minTimingAmp_, naiveEvtNum_, Skims_PA_cff::name, names, CaloNavigator< T, TOPO >::offsetBy(), mps_fire::result, fileCollector::seed, seedCrys_, seedFrequencyMap_, selectDigi(), side_, threshold_, and runGCPTkAlMap::title.
Referenced by analyze().
|
private |
|
private |
Definition at line 95 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectDigi().
|
private |
Definition at line 111 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectHits().
|
private |
Definition at line 114 of file EcalMipGraphs.h.
|
private |
Definition at line 107 of file EcalMipGraphs.h.
Referenced by selectDigi(), and selectHits().
|
private |
Definition at line 80 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 84 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 78 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 116 of file EcalMipGraphs.h.
Referenced by beginRun(), selectDigi(), and selectHits().
|
private |
Definition at line 81 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 85 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 79 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 115 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), initHists(), and selectDigi().
|
private |
Definition at line 108 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 106 of file EcalMipGraphs.h.
Referenced by initHists(), and selectHits().
|
private |
Definition at line 113 of file EcalMipGraphs.h.
|
staticprivate |
Definition at line 99 of file EcalMipGraphs.h.
Referenced by analyze(), EcalMipGraphs(), initHists(), and selectDigi().
|
staticprivate |
Definition at line 98 of file EcalMipGraphs.h.
Referenced by selectDigi().
|
private |
Definition at line 82 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 92 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 93 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 102 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), endJob(), and selectHits().
|
private |
Definition at line 105 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs().
|
private |
Definition at line 103 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), endJob(), and selectHits().
|
private |
Definition at line 90 of file EcalMipGraphs.h.
Referenced by selectHits().
|
private |
Definition at line 118 of file EcalMipGraphs.h.
Referenced by analyze(), EcalMipGraphs(), selectDigi(), and selectHits().
|
private |
Definition at line 101 of file EcalMipGraphs.h.
Referenced by analyze(), and selectHits().
|
private |
Definition at line 96 of file EcalMipGraphs.h.
Referenced by selectDigi().
|
private |
Definition at line 87 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 104 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectHits().
|
private |
Definition at line 109 of file EcalMipGraphs.h.
Referenced by endJob(), and selectHits().
|
private |
Definition at line 88 of file EcalMipGraphs.h.
Referenced by selectHits().
|
private |
Definition at line 89 of file EcalMipGraphs.h.
Referenced by selectHits().