#include <ECALRecHitAnalyzer.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
void | BookHistos () |
ECALRecHitAnalyzer (const edm::ParameterSet &) | |
virtual void | endJob () |
void | FillGeometry (const edm::EventSetup &) |
void | WriteECALRecHits (const edm::Event &, const edm::EventSetup &) |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 81 of file ECALRecHitAnalyzer.h.
ECALRecHitAnalyzer::ECALRecHitAnalyzer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 10 of file ECALRecHitAnalyzer.cc.
References debug_, EBRecHitsLabel_, EERecHitsLabel_, FolderName_, edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 329 of file ECALRecHitAnalyzer.cc.
References CurrentEvent, DEBUG, MonitorElement::Fill(), hECAL_Nevents, and WriteECALRecHits().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 27 of file ECALRecHitAnalyzer.cc.
References BookHistos(), CurrentEvent, and FillGeometry().
void ECALRecHitAnalyzer::BookHistos | ( | ) |
Definition at line 35 of file ECALRecHitAnalyzer.cc.
References DQMStore::book1D(), DQMStore::book2D(), dbe_, finebinning_, FolderName_, hEB_energy_ieta_iphi, hEB_energyvsieta, hEB_ieta_detaMap, hEB_ieta_dphiMap, hEB_ieta_iphi_etaMap, hEB_ieta_iphi_phiMap, hEB_Maxenergy_ieta_iphi, hEB_Maxenergyvsieta, hEB_METPhivsieta, hEB_METvsieta, hEB_MExvsieta, hEB_MEyvsieta, hEB_Minenergy_ieta_iphi, hEB_Minenergyvsieta, hEB_Occ_ieta_iphi, hEB_Occvsieta, hEB_SETvsieta, hECAL_Nevents, hEEmZ_energy_ix_iy, hEEmZ_energyvsir, hEEmZ_ix_iy_dxMap, hEEmZ_ix_iy_dyMap, hEEmZ_ix_iy_irMap, hEEmZ_ix_iy_xMap, hEEmZ_ix_iy_yMap, hEEmZ_ix_iy_zMap, hEEmZ_Maxenergy_ix_iy, hEEmZ_Maxenergyvsir, hEEmZ_METPhivsir, hEEmZ_METvsir, hEEmZ_MExvsir, hEEmZ_MEyvsir, hEEmZ_Minenergy_ix_iy, hEEmZ_Minenergyvsir, hEEmZ_Occ_ix_iy, hEEmZ_Occvsir, hEEmZ_SETvsir, hEEpZ_energy_ix_iy, hEEpZ_energyvsir, hEEpZ_ix_iy_dxMap, hEEpZ_ix_iy_dyMap, hEEpZ_ix_iy_irMap, hEEpZ_ix_iy_xMap, hEEpZ_ix_iy_yMap, hEEpZ_ix_iy_zMap, hEEpZ_Maxenergy_ix_iy, hEEpZ_Maxenergyvsir, hEEpZ_METPhivsir, hEEpZ_METvsir, hEEpZ_MExvsir, hEEpZ_MEyvsir, hEEpZ_Minenergy_ix_iy, hEEpZ_Minenergyvsir, hEEpZ_Occ_ix_iy, hEEpZ_Occvsir, hEEpZ_SETvsir, i, j, cmsCodeRules.cppFunctionSkipper::operator, MonitorElement::setBinContent(), and DQMStore::setCurrentFolder().
Referenced by beginRun().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 22 of file ECALRecHitAnalyzer.cc.
void ECALRecHitAnalyzer::FillGeometry | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 221 of file ECALRecHitAnalyzer.cc.
References DEBUG, DetId::Ecal, PV3DBase< T, PVType, FrameType >::eta(), eta(), edm::EventSetup::get(), MonitorElement::getBinContent(), CaloCellGeometry::getPosition(), hEB_ieta_detaMap, hEB_ieta_dphiMap, hEB_ieta_iphi_etaMap, hEB_ieta_iphi_phiMap, hEEmZ_ix_iy_irMap, hEEmZ_ix_iy_xMap, hEEmZ_ix_iy_yMap, hEEmZ_ix_iy_zMap, hEEpZ_ix_iy_irMap, hEEpZ_ix_iy_xMap, hEEpZ_ix_iy_yMap, hEEpZ_ix_iy_zMap, i, EBDetId::ieta(), M_PI, n, PV3DBase< T, PVType, FrameType >::phi(), MonitorElement::setBinContent(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and EEDetId::zside().
Referenced by beginRun().
void ECALRecHitAnalyzer::WriteECALRecHits | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 337 of file ECALRecHitAnalyzer.cc.
References DEBUG, egHLT::errCodes::EBRecHits, EBRecHitsLabel_, egHLT::errCodes::EERecHits, EERecHitsLabel_, ET, eta(), funct::exp(), MonitorElement::Fill(), edm::EventSetup::get(), MonitorElement::getBinContent(), edm::Event::getByLabel(), hEB_energy_ieta_iphi, hEB_energyvsieta, hEB_ieta_iphi_etaMap, hEB_ieta_iphi_phiMap, hEB_Maxenergy_ieta_iphi, hEB_Maxenergyvsieta, hEB_METPhivsieta, hEB_METvsieta, hEB_MExvsieta, hEB_MEyvsieta, hEB_Minenergy_ieta_iphi, hEB_Minenergyvsieta, hEB_Occ_ieta_iphi, hEB_Occvsieta, hEB_SETvsieta, hEEmZ_energy_ix_iy, hEEmZ_energyvsir, hEEmZ_ix_iy_irMap, hEEmZ_ix_iy_xMap, hEEmZ_ix_iy_yMap, hEEmZ_ix_iy_zMap, hEEmZ_Maxenergy_ix_iy, hEEmZ_Maxenergyvsir, hEEmZ_METPhivsir, hEEmZ_METvsir, hEEmZ_MExvsir, hEEmZ_MEyvsir, hEEmZ_Minenergy_ix_iy, hEEmZ_Minenergyvsir, hEEmZ_Occ_ix_iy, hEEmZ_Occvsir, hEEmZ_SETvsir, hEEpZ_energy_ix_iy, hEEpZ_energyvsir, hEEpZ_ix_iy_irMap, hEEpZ_ix_iy_xMap, hEEpZ_ix_iy_yMap, hEEpZ_ix_iy_zMap, hEEpZ_Maxenergy_ix_iy, hEEpZ_Maxenergyvsir, hEEpZ_METPhivsir, hEEpZ_METvsir, hEEpZ_MExvsir, hEEpZ_MEyvsir, hEEpZ_Minenergy_ix_iy, hEEpZ_Minenergyvsir, hEEpZ_Occ_ix_iy, hEEpZ_Occvsir, hEEpZ_SETvsir, i, EBDetId::ieta(), EBDetId::iphi(), EEDetId::ix(), EEDetId::iy(), phi, colinearityKinematic::Phi, reco::tau::disc::Pt(), MonitorElement::setBinContent(), theta(), ExpressReco_HICollisions_FallBack::x, ExpressReco_HICollisions_FallBack::y, z, and EEDetId::zside().
Referenced by analyze().
|
private |
Definition at line 106 of file ECALRecHitAnalyzer.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 98 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos().
|
private |
Definition at line 103 of file ECALRecHitAnalyzer.h.
Referenced by ECALRecHitAnalyzer().
|
private |
Definition at line 101 of file ECALRecHitAnalyzer.h.
Referenced by ECALRecHitAnalyzer(), and WriteECALRecHits().
|
private |
Definition at line 102 of file ECALRecHitAnalyzer.h.
Referenced by ECALRecHitAnalyzer(), and WriteECALRecHits().
|
private |
Definition at line 104 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos().
|
private |
Definition at line 105 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and ECALRecHitAnalyzer().
|
private |
Definition at line 132 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 148 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 111 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and FillGeometry().
|
private |
Definition at line 112 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and FillGeometry().
|
private |
Definition at line 109 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), FillGeometry(), and WriteECALRecHits().
|
private |
Definition at line 110 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), FillGeometry(), and WriteECALRecHits().
|
private |
Definition at line 140 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 152 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 168 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 164 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 172 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 176 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 136 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 156 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 144 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 180 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 160 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 128 of file ECALRecHitAnalyzer.h.
Referenced by analyze(), and BookHistos().
|
private |
Definition at line 131 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 147 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 125 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos().
|
private |
Definition at line 126 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos().
|
private |
Definition at line 121 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), FillGeometry(), and WriteECALRecHits().
|
private |
Definition at line 122 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), FillGeometry(), and WriteECALRecHits().
|
private |
Definition at line 123 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), FillGeometry(), and WriteECALRecHits().
|
private |
Definition at line 124 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), FillGeometry(), and WriteECALRecHits().
|
private |
Definition at line 139 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 151 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 167 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 163 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 171 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 175 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 135 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 155 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 143 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 179 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 159 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 130 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 146 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 118 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos().
|
private |
Definition at line 119 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos().
|
private |
Definition at line 114 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), FillGeometry(), and WriteECALRecHits().
|
private |
Definition at line 115 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), FillGeometry(), and WriteECALRecHits().
|
private |
Definition at line 116 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), FillGeometry(), and WriteECALRecHits().
|
private |
Definition at line 117 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), FillGeometry(), and WriteECALRecHits().
|
private |
Definition at line 138 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 150 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 166 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 162 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 170 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 174 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 134 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 154 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 142 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 178 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().
|
private |
Definition at line 158 of file ECALRecHitAnalyzer.h.
Referenced by BookHistos(), and WriteECALRecHits().