#include <EcalPedHists.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginRun (edm::Run const &, edm::EventSetup const &c) override |
void | endJob (void) override |
void | endRun (edm::Run const &, edm::EventSetup const &c) override |
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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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) |
Private Member Functions | |
void | initHists (int FED) |
std::string | intToString (int num) |
void | readEBdigis (edm::Handle< EBDigiCollection > digis) |
void | readEEdigis (edm::Handle< EEDigiCollection > digis) |
Private Attributes | |
bool | allFEDsSelected_ |
const edm::InputTag | barrelDigiCollection_ |
const edm::EDGetTokenT< EBDigiCollection > | ebDigiToken_ |
const EcalElectronicsMapping * | ecalElectronicsMap_ |
const edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > | ecalMappingToken_ |
const edm::EDGetTokenT< EEDigiCollection > | eeDigiToken_ |
const edm::InputTag | endcapDigiCollection_ |
EcalFedMap * | fedMap_ |
std::map< int, stringHistMap > | FEDsAndHistMaps_ |
std::string | fileName_ |
const edm::InputTag | headerProducer_ |
bool | histsFilled_ |
bool | inputIsOk_ |
std::vector< int > | listChannels_ |
std::vector< std::string > | listEBs_ |
std::vector< int > | listFEDs_ |
std::vector< int > | listSamples_ |
const edm::EDGetTokenT< EcalRawDataCollection > | rawDataToken_ |
TFile * | root_file_ |
int | runNum_ |
std::set< int > | theRealFedSet_ |
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) |
Definition at line 35 of file EcalPedHists.h.
EcalPedHists::EcalPedHists | ( | const edm::ParameterSet & | ps | ) |
Module which outputs a root file of ADC counts (all three gains) of user-selected channels (defaults to channel 1) for user-selected samples (defaults to samples 1,2,3) for user-selected supermodules.
Definition at line 13 of file EcalPedHists.cc.
References allFEDsSelected_, gather_cfg::cout, fedMap_, EcalFedMap::getFedFromSlice(), edm::ParameterSet::getUntrackedParameter(), histsFilled_, mps_fire::i, inputIsOk_, listChannels_, listEBs_, listFEDs_, listSamples_, and theRealFedSet_.
|
override |
Definition at line 107 of file EcalPedHists.cc.
|
overrideprotectedvirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 174 of file EcalPedHists.cc.
References allFEDsSelected_, barrelDigiCollection_, mtdUncalibratedRecHits_cfi::barrelDigis, edm::SortedCollection< T, SORT >::begin(), MillePedeFileConverter_cfg::e, ebDigiToken_, eeDigiToken_, edm::SortedCollection< T, SORT >::end(), endcapDigiCollection_, mtdUncalibratedRecHits_cfi::endcapDigis, FEDsAndHistMaps_, headerProducer_, initHists(), inputIsOk_, edm::HandleBase::isValid(), rawDataToken_, readEBdigis(), readEEdigis(), runNum_, and theRealFedSet_.
|
overrideprotected |
Definition at line 109 of file EcalPedHists.cc.
References HltBtagPostValidation_cff::c, ecalElectronicsMap_, and ecalMappingToken_.
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 115 of file EcalPedHists.cc.
References DMR_cfg::cerr, DeadROC_duringRun::dir, fedMap_, FEDsAndHistMaps_, fileName_, EcalFedMap::getSliceFromFed(), gpuVertexFinder::hist, histsFilled_, inputIsOk_, intToString(), listChannels_, hfnoseParametersInitialization_cfi::name2, root_file_, runNum_, and theRealFedSet_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
overrideprotected |
Definition at line 113 of file EcalPedHists.cc.
|
private |
Definition at line 239 of file EcalPedHists.cc.
References FEDsAndHistMaps_, intToString(), listChannels_, and hfnoseParametersInitialization_cfi::name2.
Referenced by analyze().
|
private |
Definition at line 377 of file EcalPedHists.cc.
References EgammaValidation_cff::num.
Referenced by endJob(), initHists(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 272 of file EcalPedHists.cc.
References gpuClustering::adc, edm::DataFrameContainer::begin(), DMR_cfg::cerr, EcalElectronicsId::dccId(), ecalElectronicsMap_, edm::DataFrameContainer::end(), FEDsAndHistMaps_, spr::find(), ecalLiteDTU::gainId(), EcalElectronicsMapping::getElectronicsId(), gpuVertexFinder::hist, histsFilled_, EBDetId::ic(), intToString(), listChannels_, listSamples_, hfnoseParametersInitialization_cfi::name2, ecalGpuTask_cfi::sample, and theRealFedSet_.
Referenced by analyze().
|
private |
Definition at line 326 of file EcalPedHists.cc.
References gpuClustering::adc, edm::DataFrameContainer::begin(), DMR_cfg::cerr, EcalElectronicsId::dccId(), ecalElectronicsMap_, edm::DataFrameContainer::end(), FEDsAndHistMaps_, spr::find(), ecalLiteDTU::gainId(), EcalElectronicsMapping::getElectronicsId(), gpuVertexFinder::hist, histsFilled_, intToString(), listChannels_, listSamples_, hfnoseParametersInitialization_cfi::name2, ecalGpuTask_cfi::sample, and theRealFedSet_.
Referenced by analyze().
|
private |
Definition at line 54 of file EcalPedHists.h.
Referenced by analyze(), and EcalPedHists().
|
private |
Definition at line 57 of file EcalPedHists.h.
Referenced by analyze().
|
private |
Definition at line 70 of file EcalPedHists.h.
Referenced by analyze().
|
private |
Definition at line 74 of file EcalPedHists.h.
Referenced by beginRun(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 72 of file EcalPedHists.h.
Referenced by beginRun().
|
private |
Definition at line 71 of file EcalPedHists.h.
Referenced by analyze().
|
private |
Definition at line 58 of file EcalPedHists.h.
Referenced by analyze().
|
private |
Definition at line 66 of file EcalPedHists.h.
Referenced by EcalPedHists(), and endJob().
|
private |
Definition at line 64 of file EcalPedHists.h.
Referenced by analyze(), endJob(), initHists(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 56 of file EcalPedHists.h.
Referenced by endJob().
|
private |
Definition at line 59 of file EcalPedHists.h.
Referenced by analyze().
|
private |
Definition at line 55 of file EcalPedHists.h.
Referenced by EcalPedHists(), endJob(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 53 of file EcalPedHists.h.
Referenced by analyze(), EcalPedHists(), and endJob().
|
private |
Definition at line 60 of file EcalPedHists.h.
Referenced by EcalPedHists(), endJob(), initHists(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 63 of file EcalPedHists.h.
Referenced by EcalPedHists().
|
private |
Definition at line 62 of file EcalPedHists.h.
Referenced by EcalPedHists().
|
private |
Definition at line 61 of file EcalPedHists.h.
Referenced by EcalPedHists(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 69 of file EcalPedHists.h.
Referenced by analyze().
|
private |
Definition at line 67 of file EcalPedHists.h.
Referenced by endJob().
|
private |
Definition at line 52 of file EcalPedHists.h.
|
private |
Definition at line 65 of file EcalPedHists.h.
Referenced by analyze(), EcalPedHists(), endJob(), readEBdigis(), and readEEdigis().