#include <EcalMipGraphs.h>
Private Member Functions | |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | endJob () |
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 &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 61 of file EcalMipGraphs.h.
|
explicit |
Definition at line 42 of file EcalMipGraphs.cc.
References abscissa, allFedsTimingHist_, fedMap_, fileService, edm::ParameterSet::getUntrackedParameter(), i, TFileService::make(), maskedChannels_, maskedEBs_, maskedFEDs_, naiveEvtNum_, and seedCrys_.
EcalMipGraphs::~EcalMipGraphs | ( | ) |
Definition at line 92 of file EcalMipGraphs.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 103 of file EcalMipGraphs.cc.
References edm::SortedCollection< T, SORT >::begin(), canvasNames_, EBDigis_, EBdigisHandle, EBRecHitCollection_, EEDigis_, EEdigisHandle, EERecHitCollection_, edm::SortedCollection< T, SORT >::end(), edm::EventID::event(), FEDsAndDCCHeaders_, fileService, edm::EventSetup::get(), edm::Event::getByLabel(), headerProducer_, edm::EventBase::id(), listEBChannels, listEEChannels, TFileService::make(), naiveEvtNum_, names, edm::EventID::run(), runNum_, and selectHits().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 369 of file EcalMipGraphs.cc.
References ecalElectronicsMap_, edm::EventSetup::get(), cmsBatch::handle, and edm::ESHandle< T >::product().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 378 of file EcalMipGraphs.cc.
References canvasNames_, intToString(), maskedChannels_, maskedFEDs_, seedFrequencyMap_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 425 of file EcalMipGraphs.cc.
Referenced by selectDigi().
|
private |
Definition at line 348 of file EcalMipGraphs.cc.
References EcalElectronicsId::dccId(), EcalElectronicsId::stripId(), EcalElectronicsId::towerId(), and EcalElectronicsId::xtalId().
Referenced by selectDigi(), and selectHits().
|
private |
Definition at line 355 of file EcalMipGraphs.cc.
References fedMap_, FEDsAndTimingHists_, fileService, EcalFedMap::getSliceFromFed(), intToString(), and TFileService::make().
Referenced by selectHits().
|
private |
Definition at line 417 of file EcalMipGraphs.cc.
Referenced by endJob(), initHists(), selectDigi(), and selectHits().
|
private |
Definition at line 151 of file EcalMipGraphs.cc.
References abscissa, EcalMGPASample::adc(), edm::DataFrameContainer::begin(), crysAndAmplitudesMap_, EcalElectronicsId::dccId(), DetId::det(), EBdigisHandle, DetId::Ecal, ecalElectronicsMap_, EEdigisHandle, edm::DataFrameContainer::end(), fedMap_, FEDsAndDCCHeaders_, fileService, objects.autophobj::float, floatToString(), ecalMGPA::gainId(), EcalMGPASample::gainId(), gainRatio, getEEIndex(), EcalElectronicsMapping::getElectronicsId(), EcalFedMap::getSliceFromFed(), i, intToString(), gedGsfElectrons_cfi::isBarrel, TFileService::make(), naiveEvtNum_, dataset::name, ordinate, muonCSCDigis_cfi::pedestal, EcalDataFrame::sample(), EcalDataFrame::size(), and fftjetcommon_cfi::title.
Referenced by selectHits().
|
private |
Definition at line 259 of file EcalMipGraphs.cc.
References allFedsTimingHist_, edm::SortedCollection< T, SORT >::begin(), crysAndAmplitudesMap_, EcalElectronicsId::dccId(), ecalElectronicsMap_, edm::SortedCollection< T, SORT >::end(), EcalRecHit::energy(), FEDsAndTimingHists_, spr::find(), getEEIndex(), EcalElectronicsMapping::getElectronicsId(), CaloTopology::getSubdetectorTopology(), CaloNavigator< T, TOPO >::home(), i, EcalRecHit::id(), initHists(), intToString(), gedGsfElectrons_cfi::isBarrel, j, maskedChannels_, maskedFEDs_, minTimingAmp_, naiveEvtNum_, dataset::name, names, CaloNavigator< T, TOPO >::offsetBy(), mps_fire::result, SurveyInfoScenario_cff::seed, seedCrys_, seedFrequencyMap_, selectDigi(), side_, threshold_, EcalRecHit::time(), and fftjetcommon_cfi::title.
Referenced by analyze().
|
private |
|
private |
Definition at line 99 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectDigi().
|
private |
Definition at line 115 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectHits().
|
private |
Definition at line 118 of file EcalMipGraphs.h.
|
private |
Definition at line 111 of file EcalMipGraphs.h.
Referenced by selectDigi(), and selectHits().
|
private |
Definition at line 84 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 88 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 82 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 120 of file EcalMipGraphs.h.
Referenced by beginRun(), selectDigi(), and selectHits().
|
private |
Definition at line 85 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 89 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 83 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 119 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), initHists(), and selectDigi().
|
private |
Definition at line 112 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 110 of file EcalMipGraphs.h.
Referenced by initHists(), and selectHits().
|
private |
Definition at line 117 of file EcalMipGraphs.h.
|
staticprivate |
Definition at line 103 of file EcalMipGraphs.h.
Referenced by analyze(), EcalMipGraphs(), initHists(), and selectDigi().
|
staticprivate |
Definition at line 102 of file EcalMipGraphs.h.
Referenced by selectDigi().
|
private |
Definition at line 86 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 96 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 97 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 106 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), endJob(), and selectHits().
|
private |
Definition at line 109 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs().
|
private |
Definition at line 107 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), endJob(), and selectHits().
|
private |
Definition at line 94 of file EcalMipGraphs.h.
Referenced by selectHits().
|
private |
Definition at line 122 of file EcalMipGraphs.h.
Referenced by analyze(), EcalMipGraphs(), selectDigi(), and selectHits().
|
private |
Definition at line 105 of file EcalMipGraphs.h.
Referenced by analyze(), and selectHits().
|
private |
Definition at line 100 of file EcalMipGraphs.h.
Referenced by selectDigi().
|
private |
Definition at line 91 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 108 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectHits().
|
private |
Definition at line 113 of file EcalMipGraphs.h.
Referenced by endJob(), and selectHits().
|
private |
Definition at line 92 of file EcalMipGraphs.h.
Referenced by selectHits().
|
private |
Definition at line 93 of file EcalMipGraphs.h.
Referenced by selectHits().