#include <EcalMipGraphs.h>
Public Member Functions | |
EcalMipGraphs (const edm::ParameterSet &) | |
~EcalMipGraphs () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 |
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 &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 62 of file EcalMipGraphs.h.
|
explicit |
Definition at line 43 of file EcalMipGraphs.cc.
References abscissa, allFedsTimingHist_, fedMap_, fileService, edm::ParameterSet::getUntrackedParameter(), i, TFileDirectory::make(), maskedChannels_, maskedEBs_, maskedFEDs_, naiveEvtNum_, and seedCrys_.
EcalMipGraphs::~EcalMipGraphs | ( | ) |
Definition at line 93 of file EcalMipGraphs.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 104 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, TFileDirectory::make(), naiveEvtNum_, names, edm::EventID::run(), runNum_, and selectHits().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 370 of file EcalMipGraphs.cc.
References ecalElectronicsMap_, edm::EventSetup::get(), patZpeak::handle, and edm::ESHandle< class >::product().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 379 of file EcalMipGraphs.cc.
References canvasNames_, intToString(), maskedChannels_, maskedFEDs_, and seedFrequencyMap_.
|
private |
|
private |
Definition at line 349 of file EcalMipGraphs.cc.
References EcalElectronicsId::dccId(), L1Comparator_cfi::FEDid, EcalElectronicsId::stripId(), EcalElectronicsId::towerId(), and EcalElectronicsId::xtalId().
Referenced by selectDigi(), and selectHits().
|
private |
Definition at line 356 of file EcalMipGraphs.cc.
References fedMap_, FEDsAndTimingHists_, fileService, EcalFedMap::getSliceFromFed(), intToString(), and TFileDirectory::make().
Referenced by selectHits().
|
private |
Definition at line 418 of file EcalMipGraphs.cc.
Referenced by endJob(), initHists(), selectDigi(), and selectHits().
|
private |
Definition at line 152 of file EcalMipGraphs.cc.
References abscissa, EcalMGPASample::adc(), crysAndAmplitudesMap_, EcalElectronicsId::dccId(), DetId::det(), EBdigisHandle, DetId::Ecal, ecalElectronicsMap_, EEdigisHandle, relval_parameters_module::energy, L1Comparator_cfi::FEDid, fedMap_, FEDsAndDCCHeaders_, fileService, floatToString(), ecalMGPA::gainId(), EcalMGPASample::gainId(), gainRatio, getEEIndex(), EcalElectronicsMapping::getElectronicsId(), EcalFedMap::getSliceFromFed(), i, intToString(), TFileDirectory::make(), naiveEvtNum_, mergeVDriftHistosByStation::name, ordinate, EcalDataFrame::sample(), EcalDataFrame::size(), and indexGen::title.
Referenced by selectHits().
|
private |
Definition at line 260 of file EcalMipGraphs.cc.
References allFedsTimingHist_, timingPdfMaker::can, crysAndAmplitudesMap_, EcalElectronicsId::dccId(), ecalElectronicsMap_, CaloRecHit::energy(), L1Comparator_cfi::FEDid, FEDsAndTimingHists_, spr::find(), getEEIndex(), EcalElectronicsMapping::getElectronicsId(), CaloNavigator< T >::home(), i, EcalRecHit::id(), initHists(), intToString(), j, maskedChannels_, maskedFEDs_, minTimingAmp_, naiveEvtNum_, mergeVDriftHistosByStation::name, names, CaloNavigator< T >::offsetBy(), query::result, seedCrys_, seedFrequencyMap_, selectDigi(), side_, threshold_, CaloRecHit::time(), and indexGen::title.
Referenced by analyze().
|
private |
|
private |
Definition at line 100 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectDigi().
|
private |
Definition at line 116 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectHits().
|
private |
Definition at line 119 of file EcalMipGraphs.h.
|
private |
Definition at line 112 of file EcalMipGraphs.h.
Referenced by 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 121 of file EcalMipGraphs.h.
Referenced by beginRun(), selectDigi(), and selectHits().
|
private |
Definition at line 86 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 90 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 84 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 120 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), initHists(), and selectDigi().
|
private |
Definition at line 113 of file EcalMipGraphs.h.
Referenced by analyze(), and selectDigi().
|
private |
Definition at line 111 of file EcalMipGraphs.h.
Referenced by initHists(), and selectHits().
|
private |
Definition at line 118 of file EcalMipGraphs.h.
|
staticprivate |
Definition at line 104 of file EcalMipGraphs.h.
Referenced by analyze(), EcalMipGraphs(), initHists(), and selectDigi().
|
staticprivate |
Definition at line 103 of file EcalMipGraphs.h.
Referenced by selectDigi().
|
private |
Definition at line 87 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 97 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 98 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 107 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), endJob(), and selectHits().
|
private |
Definition at line 110 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs().
|
private |
Definition at line 108 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), endJob(), and selectHits().
|
private |
Definition at line 95 of file EcalMipGraphs.h.
Referenced by selectHits().
|
private |
Definition at line 123 of file EcalMipGraphs.h.
Referenced by analyze(), EcalMipGraphs(), selectDigi(), and selectHits().
|
private |
Definition at line 106 of file EcalMipGraphs.h.
Referenced by analyze(), and selectHits().
|
private |
Definition at line 101 of file EcalMipGraphs.h.
Referenced by selectDigi().
|
private |
Definition at line 92 of file EcalMipGraphs.h.
Referenced by analyze().
|
private |
Definition at line 109 of file EcalMipGraphs.h.
Referenced by EcalMipGraphs(), and selectHits().
|
private |
Definition at line 114 of file EcalMipGraphs.h.
Referenced by endJob(), and selectHits().
|
private |
Definition at line 93 of file EcalMipGraphs.h.
Referenced by selectHits().
|
private |
Definition at line 94 of file EcalMipGraphs.h.
Referenced by selectHits().