#include <EcalPedHists.h>
Public Member Functions | |
EcalPedHists (const edm::ParameterSet &ps) | |
~EcalPedHists () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginRun (edm::Run const &, edm::EventSetup const &c) |
void | endJob (void) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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_ |
edm::InputTag | barrelDigiCollection_ |
const EcalElectronicsMapping * | ecalElectronicsMap_ |
edm::InputTag | endcapDigiCollection_ |
EcalFedMap * | fedMap_ |
std::map< int, stringHistMap > | FEDsAndHistMaps_ |
std::string | fileName_ |
edm::InputTag | headerProducer_ |
bool | histsFilled_ |
bool | inputIsOk_ |
std::vector< int > | listChannels_ |
std::vector< std::string > | listEBs_ |
std::vector< int > | listFEDs_ |
std::vector< int > | listSamples_ |
TFile * | root_file_ |
int | runNum_ |
std::set< int > | theRealFedSet_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 34 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_, i, inputIsOk_, listChannels_, listEBs_, listFEDs_, listSamples_, and theRealFedSet_.
EcalPedHists::~EcalPedHists | ( | ) |
Definition at line 120 of file EcalPedHists.cc.
|
protectedvirtual |
Implements edm::EDAnalyzer.
Definition at line 197 of file EcalPedHists.cc.
References allFEDsSelected_, barrelDigiCollection_, endcapDigiCollection_, cppFunctionSkipper::exception, L1Comparator_cfi::FEDid, FEDsAndHistMaps_, edm::Event::getByLabel(), headerProducer_, edm::EventBase::id(), initHists(), inputIsOk_, readEBdigis(), readEEdigis(), edm::EventID::run(), runNum_, and theRealFedSet_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 124 of file EcalPedHists.cc.
References ecalElectronicsMap_, edm::EventSetup::get(), and edm::ESHandle< class >::product().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 131 of file EcalPedHists.cc.
References dtNoiseDBValidation_cfg::cerr, dir, fedMap_, FEDsAndHistMaps_, fileName_, EcalFedMap::getSliceFromFed(), estimatePileup::hist, histsFilled_, inputIsOk_, intToString(), listChannels_, root_file_, runNum_, and theRealFedSet_.
|
private |
Definition at line 275 of file EcalPedHists.cc.
References L1Comparator_cfi::FEDid, FEDsAndHistMaps_, intToString(), and listChannels_.
Referenced by analyze().
|
private |
Definition at line 424 of file EcalPedHists.cc.
Referenced by endJob(), initHists(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 311 of file EcalPedHists.cc.
References ecalMGPA::adc(), dtNoiseDBValidation_cfg::cerr, ecalElectronicsMap_, L1Comparator_cfi::FEDid, FEDsAndHistMaps_, spr::find(), ecalMGPA::gainId(), EcalElectronicsMapping::getElectronicsId(), estimatePileup::hist, histsFilled_, EBDetId::ic(), intToString(), listChannels_, listSamples_, compare_using_db::sample, and theRealFedSet_.
Referenced by analyze().
|
private |
Definition at line 369 of file EcalPedHists.cc.
References ecalMGPA::adc(), dtNoiseDBValidation_cfg::cerr, ecalElectronicsMap_, L1Comparator_cfi::FEDid, FEDsAndHistMaps_, spr::find(), ecalMGPA::gainId(), EcalElectronicsMapping::getElectronicsId(), estimatePileup::hist, histsFilled_, intToString(), listChannels_, listSamples_, compare_using_db::sample, and theRealFedSet_.
Referenced by analyze().
|
private |
Definition at line 53 of file EcalPedHists.h.
Referenced by analyze(), and EcalPedHists().
|
private |
Definition at line 56 of file EcalPedHists.h.
Referenced by analyze().
|
private |
Definition at line 67 of file EcalPedHists.h.
Referenced by beginRun(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 57 of file EcalPedHists.h.
Referenced by analyze().
|
private |
Definition at line 65 of file EcalPedHists.h.
Referenced by EcalPedHists(), and endJob().
|
private |
Definition at line 63 of file EcalPedHists.h.
Referenced by analyze(), endJob(), initHists(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 55 of file EcalPedHists.h.
Referenced by endJob().
|
private |
Definition at line 58 of file EcalPedHists.h.
Referenced by analyze().
|
private |
Definition at line 54 of file EcalPedHists.h.
Referenced by EcalPedHists(), endJob(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 52 of file EcalPedHists.h.
Referenced by analyze(), EcalPedHists(), and endJob().
|
private |
Definition at line 59 of file EcalPedHists.h.
Referenced by EcalPedHists(), endJob(), initHists(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 62 of file EcalPedHists.h.
Referenced by EcalPedHists().
|
private |
Definition at line 61 of file EcalPedHists.h.
Referenced by EcalPedHists().
|
private |
Definition at line 60 of file EcalPedHists.h.
Referenced by EcalPedHists(), readEBdigis(), and readEEdigis().
|
private |
Definition at line 66 of file EcalPedHists.h.
Referenced by endJob().
|
private |
Definition at line 51 of file EcalPedHists.h.
|
private |
Definition at line 64 of file EcalPedHists.h.
Referenced by analyze(), EcalPedHists(), endJob(), readEBdigis(), and readEEdigis().