#include <EcalMipGraphs.h>
Public Member Functions | |
EcalMipGraphs (const edm::ParameterSet &) | |
~EcalMipGraphs () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 canvasNames_, EBDigis_, EBdigisHandle, EBRecHitCollection_, EEDigis_, EEdigisHandle, EERecHitCollection_, 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(), patZpeak::handle, and edm::ESHandle< class >::product().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 378 of file EcalMipGraphs.cc.
References canvasNames_, HcalMonitorModule_cfi::feds, intToString(), maskedChannels_, maskedFEDs_, seedFrequencyMap_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
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(), crysAndAmplitudesMap_, EcalElectronicsId::dccId(), DetId::det(), EBdigisHandle, DetId::Ecal, ecalElectronicsMap_, EEdigisHandle, relval_parameters_module::energy, fedMap_, FEDsAndDCCHeaders_, fileService, floatToString(), ecalMGPA::gainId(), EcalMGPASample::gainId(), gainRatio, getEEIndex(), EcalElectronicsMapping::getElectronicsId(), EcalFedMap::getSliceFromFed(), i, intToString(), GeomDetEnumerators::isBarrel(), TFileService::make(), naiveEvtNum_, mergeVDriftHistosByStation::name, ordinate, EcalCondDBWriter_cfi::pedestal, EcalDataFrame::sample(), EcalDataFrame::size(), and indexGen::title.
Referenced by selectHits().
|
private |
Definition at line 259 of file EcalMipGraphs.cc.
References allFedsTimingHist_, timingPdfMaker::can, crysAndAmplitudesMap_, EcalElectronicsId::dccId(), ecalElectronicsMap_, EcalRecHit::energy(), FEDsAndTimingHists_, spr::find(), getEEIndex(), EcalElectronicsMapping::getElectronicsId(), CaloNavigator< T, TOPO >::home(), i, EcalRecHit::id(), initHists(), intToString(), GeomDetEnumerators::isBarrel(), 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 indexGen::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().